[feature request] Add support for .eslintrc directory
See original GitHub issueThe 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.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Issues - GitHub
Feature request : Add support for .eslintrc config files with extensions (.js, .json, .yaml/.yml) #808 · Comments · Issue Type · Issue Description....
Read more >Configuration Files - ESLint - Pluggable JavaScript Linter
ESLint supports adding shared settings into configuration files. Plugins use settings to specify the information that should be shared across all of its ......
Read more >Basic Features: ESLint - Next.js
ESLint · ESLint Config · ESLint Plugin · Linting Custom Directories and Files · Caching · Disabling Rules · Usage With Other Tools...
Read more >eslint - npm
After that, you can run ESLint on any file or directory like this: ... to an existing rule to support a newly-added language...
Read more >Migrate from TSLint to ESLint - Visual Studio Code
ESLint : Run · Install the ESLint extension. · Create a task via the Tasks: Configure Task command and select npm: lint. ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
emm… I’ve misread the issue somehow, please disregard my comment. 🤣
I don’t think core should support this, as there are a few ways to achieve this already:
npm
also work.