- Start Date: 2019-07-16
- RFC PR: (leave this empty, to be filled in later)
- Authors: Toru Nagashima (@mysticatea)
This RFC deprecates the personal config that is .eslintrc
files on home directory.
Since 6.0.0, ESLint doesn't load plugins/configs/parsers from the global installation even if it's not a part of a project such as the personal config. This is inconvenient for the personal config. But, in #28 discussion, we confirm that we don't want to use the global installation.
We don't recommend to use global-installed ESLint. But the personal config has encouraged to use it.
Three steps:
- Soft deprecation: Update our documentation to announce to deprecate the personal config on the next minor release.
- Hard deprecation: Add the deprecation warning of the personal config on ESLint 7.0.0.
- ESLint shows a warning when it loaded the personal config.
- ESLint shows a warning when it ignored the personal config (Currently, it ignores
.eslintrc
files on home directory if a project directory is in home directory and the project has.eslintrc
files.)
- Removal: Remove the personal config functionality on ESLint 8.0.0.
- ESLint no longer loada the personal config even if the project config was not found.
- ESLint no longer ignores the config files on home directory even if the project config was found.
- Remove the personal config from Configuring ESLint page.
- Announce on the release notes.
It will make people inconvenient to lint standalone files.
Yes, this is a breaking change.
To lint standalone files, people have to have a dummy project directory such as sandbox
.