.meta Directory: Let's Tidy Things Up 🧹🧹🧹
This site exists to advocate that software libraries look for their config files in
.meta directories of
This is avoid making a mess in the root directory of projects, as this tweet laments.
.meta directory convention was adopted widely, then the following set of files in the root of
/package.json /tsconfig.json /.eslintrc /.prettierrc /.babel.config.js (implied child .babelrc) /.webpack.config.js /jest.config.js /.env /docker-compose.yml /gitlab-ci.yml /.npmrc /.editorconfig
Could instead all be moved into a single top level
Nice & tidy.
To implement the
.meta standard, a tool looking for its configuration file in directory
and failing to find it should next look in directory
X/.meta, if it exists, for that same file.
No other constraint on config file resolution or ordering is placed on a tool.
- Be the first project to become a