Coder Social home page Coder Social logo

Comments (6)

ryanblock avatar ryanblock commented on June 8, 2024 4

@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.

nzakas avatar nzakas commented on June 8, 2024 2

Working on this.

from eslint.

nzakas avatar nzakas commented on June 8, 2024 1

Yeah, we did apparently skip over mentioning package.json. We should definitely add that to the migration guide.

from eslint.

Rec0iL99 avatar Rec0iL99 commented on June 8, 2024

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.

Rec0iL99 avatar Rec0iL99 commented on June 8, 2024

Sure, I guess we could include this in the migration guide.

ping @eslint/eslint-team

from eslint.

aladdin-add avatar aladdin-add commented on June 8, 2024

It's more of a documentation improvement. PRs are welcome! 👍

from eslint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.