Comments (6)
@Rec0iL99 thanks for clarifying this. For the record, in the blog post you mentioned, there is no specific mention of decision to remove support for the eslintConfig
package.json
property. So while I understand and accept that this method of configuration is no longer supported in v9, I would kindly suggest reopening this issue in service of improving the documentation around package.json
eslintConfig
. Thanks!
from eslint.
Working on this.
from eslint.
Yeah, we did apparently skip over mentioning package.json
. We should definitely add that to the migration guide.
from eslint.
Hi @ryanblock, thanks for the issue. The .eslintrc
config system is now deprecated and the flat config system is the new default config system in ESLint from v9.0.0
. The eslintConfig
field in package.json
is no longer supported in the flat config system.
If you want to continue using eslintConfig
(.eslintrc
config system) in package.json
, then you must set the environment variable ESLINT_USE_FLAT_CONFIG
to false
.
The decision to remove support for eslintConfig
field was mentioned in this blog post.
I would recommend reading this blog series on flat config.
https://eslint.org/blog/2022/08/new-config-system-part-1/
https://eslint.org/blog/2022/08/new-config-system-part-2/
https://eslint.org/blog/2022/08/new-config-system-part-3/
from eslint.
Sure, I guess we could include this in the migration guide.
ping @eslint/eslint-team
from eslint.
It's more of a documentation improvement. PRs are welcome! 👍
from eslint.
Related Issues (20)
- Bug: Out of Memory Error with 203 files HOT 1
- Providing non-default extensions via CLI. HOT 7
- Question: Unexpected key "typescript" found HOT 1
- Bug: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory HOT 2
- Change Request: Enhancement to the Node API to way to get list of all available rules before running HOT 2
- Bug: (v8) eslint@8 dep file-entry-cache@6 deprecated transient dependencies HOT 10
- Rule Change: Support simple regex in no-restricted-imports group HOT 6
- Bug: error Parsing error: Unexpected token ?
- Scheduled release for June 14th, 2024
- ci: browser testing is failing sometimes HOT 3
- Docs: Add info about VS Code flat config support HOT 1
- Bug: `*` is treated as non-universal pattern HOT 3
- Change Request: (For React-Redux users) HOT 1
- Bug: `isPathIgnored` returns ignored files HOT 3
- Change Request: align global and non-global ignores HOT 4
- Bug: `overrideConfig` not working as expected. HOT 10
- Bug: EMFILE handling test occasionally fails on macOS HOT 2
- Change Request: Improve error location for `no-sparse-arrays` HOT 7
- Rule Change: func-style declaration to allow arrow functions with let variables HOT 4
- Bug: (fill in) eslint cli is not work well HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint.