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
[feature request] Add support for .eslintrc directory #13578
Comments
Thanks for the issue. Though this is not 100% what you are looking for, maybe so about the proposal, this an interesting one, I have seen many tools supporting this. It would be helpful for a better project structure. You need to submit an RFC for detailed design. But we can discuss here about the interest and queries from others. |
to clarify:
and, it will be changed in eslint v8, as you expected. :) previous discussion: |
atm, you can add a |
emm.. I've misread the issue somehow, please disregard my comment. 🤣 |
Hey everyone, thank you for your comments and suggested workarounds. This definitely isn't a needed feature, I would just find it super convenient to add my ESLint config to repos with version control using Admittedly, I dream of a day when Travis, NPM, and Git all respect a dot folder called |
{
"extends": ["./.eslint/.eslintrc"]
} |
Unfortunately, it looks like there wasn't enough interest from the team Thanks for contributing to ESLint and we appreciate your understanding. |
The version of ESLint you are using.
latest
The problem you want to solve.
I want to be able to store an eslint config as its own standalone git repository, so it can be added to other repositories with
git submodule add
and managed independently. Git repos must be folders.Your take on the correct solution to problem.
.eslintrc
check for a directory./
should also detect a.eslint/
or.eslintrc/
directory, and then use the default.eslintrc*
logic to select a config.eslintrc*
in that folder and apply it with respect to the parent folder./
.Are you willing to submit a pull request to implement this change?
Yes.
The text was updated successfully, but these errors were encountered: