Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify the config file naming convention #520

Open
piotrkulpinski opened this issue Feb 25, 2022 · 0 comments
Open

Unify the config file naming convention #520

piotrkulpinski opened this issue Feb 25, 2022 · 0 comments

Comments

@piotrkulpinski
Copy link

Hi,
I just wanted to raise up a topic of pretty messy naming convention of config files used with webpack.
Some are using ."tool"rc.js option and some are using "tool".config.js which makes it hard to easily spot the config files you're looking for.

I think config files should be kept in ."tool"rc.js format to hide them in the file system or ideally, using a specific config property in package.json. I believe all of the tools used support such option. For example:
https://prettier.io/docs/en/configuration.html
https://stylelint.io/user-guide/configure/
https://eslint.org/docs/user-guide/configuring/
https://babeljs.io/docs/en/configuration#packagejson

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant