Skip to content
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

Upgrade to ESLint 9, flatconfig and Node.js 18 (#173) #175

Merged
merged 4 commits into from
Apr 11, 2024

Commits on Apr 10, 2024

  1. Upgrade to ESLint 9, flatconfig and Node.js 18 (sindresorhus#173)

    Upgrade the eslint dependency. Change the documentation and tests to use
    the new configuration format. Also, upgrade Node.js in the build pipeline.
    
    > When ESLint v10.0.0 is released (end of 2024 or early 2025 in all likelihood),
      the eslintrc configuration system will be completely removed.
    
    https://eslint.org/blog/2023/10/flat-config-rollout-plans/#eslintrc-removed-in-eslint-v10.0.0
    
    * Describe and test the usage only with flatconfig. It'll be the only config
      format soon. Who needs to retain `.eslintrc` can stay with eslint 8.
    * ESLint 9 supports only Node.js `^18.18.0 || ^20.9.0 || >=21.1.0`.
    * The formatter `eslint-tap` works, but because it doesn't follow the NPM
      package naming convention `eslint-formatter-*`, it has to be specified
      using a path to the script with the main exports.
    prantlf committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    65ac4b5 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. Update main.yml

    sindresorhus authored Apr 11, 2024
    Configuration menu
    Copy the full SHA
    2adc6f3 View commit details
    Browse the repository at this point in the history
  2. Update gruntfile.js

    sindresorhus authored Apr 11, 2024
    Configuration menu
    Copy the full SHA
    b908754 View commit details
    Browse the repository at this point in the history
  3. Update readme.md

    sindresorhus authored Apr 11, 2024
    Configuration menu
    Copy the full SHA
    de61bef View commit details
    Browse the repository at this point in the history