Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

feat(deps): update to eslint 9 #113

Closed
wants to merge 2 commits into from

Conversation

acomanescu
Copy link

BREAKING CHANGE: will not work with eslint 8 due to flat config format

Usage:

const nodeConfig = require('@vercel/style-guide/eslint/node');
const typescriptConfig = require('@vercel/style-guide/eslint/typescript');
const browserConfig = require('@vercel/style-guide/eslint/browser');
const reactConfig = require('@vercel/style-guide/eslint/react');
const nextConfig = require('@vercel/style-guide/eslint/next');
// ... other config files

module.exports = [
  ...nodeConfig,
  ...typescriptConfig,
  ...browserConfig,
  ...reactConfig,
  ...nextConfig,
  {
    languageOptions: {
      parserOptions: {
        project: './tsconfig.json', // if you need TS support
      },
    },
    settings: {
      'import/resolver': {
        typescript: {
          project: './tsconfig.json',  // if you need TS support
        },
      },
    },
    rules: {
      // ... rule overrides
    },
  }
];

BREAKING CHANGE: will not work with eslint 8 due to flat config format
Copy link

socket-security bot commented Oct 26, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/[email protected] Transitive: environment, filesystem, shell +39 11.2 MB existentialism, hzoo, jlhwung, ...1 more
npm/@babel/[email protected] unsafe +7 399 kB nicolo-ribaudo
npm/@commitlint/[email protected] Transitive: environment, eval, filesystem, shell, unsafe +104 10.7 MB bycedric, escapedcat, marionebl, ...1 more
npm/@commitlint/[email protected] Transitive: filesystem +10 4.22 MB bycedric, escapedcat, marionebl, ...1 more
npm/@rushstack/[email protected] None 0 255 kB odspnpm
npm/@typescript-eslint/[email protected] Transitive: environment, filesystem +39 8.15 MB bradzacher, jameshenry
npm/@typescript-eslint/[email protected] Transitive: environment, filesystem +32 3.4 MB bradzacher, jameshenry
npm/[email protected] Transitive: environment, filesystem, unsafe +30 1.21 MB jounqin
npm/[email protected] Transitive: environment, eval, filesystem, unsafe +103 8.4 MB benmosher, jfmengels, ljharb
npm/[email protected] filesystem Transitive: environment +42 4.5 MB aaronabramov, jeysal, jsonp, ...6 more
npm/[email protected] Transitive: eval +104 12.3 MB evcohen, jessebeach, lencioni, ...1 more
npm/[email protected] None +2 307 kB mxschmitt
npm/[email protected] Transitive: environment +5 249 kB jounqin
npm/[email protected] None 0 0 B
npm/[email protected] Transitive: environment, eval, filesystem +114 8.36 MB ljharb, yannickcr
npm/[email protected] Transitive: environment, filesystem +44 3.97 MB testing-library-bot
npm/[email protected] Transitive: environment, eval, filesystem, unsafe +15 4.73 MB odspnpm
npm/[email protected] Transitive: environment, filesystem, shell, unsafe +68 6.95 MB sindresorhus
npm/[email protected] Transitive: environment, filesystem +40 4.52 MB veritem
npm/[email protected] environment Transitive: eval, filesystem, shell, unsafe +86 10.3 MB eslintbot
npm/[email protected] environment, filesystem, shell 0 4.03 kB typicode
npm/[email protected] Transitive: environment, filesystem, shell +54 2.24 MB okonet
npm/[email protected] Transitive: environment, filesystem +36 946 kB matzkoh
npm/[email protected] environment, filesystem, unsafe 0 7.7 MB prettier-bot
npm/[email protected] environment, network Transitive: eval, filesystem, shell, unsafe +283 34.3 MB semantic-release-bot
npm/[email protected] Transitive: environment, filesystem +34 4.15 MB jameshenry
npm/[email protected] None 0 22.4 MB typescript-bot

🚮 Removed packages: npm/@babel/[email protected], npm/@babel/[email protected], npm/@commitlint/[email protected], npm/@commitlint/[email protected], npm/@rushstack/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

@acomanescu acomanescu mentioned this pull request Oct 26, 2024
@dimitropoulos
Copy link

GREAT timing. Maintenance on turborepo is blocked on needing ESLint 9, so I'll definitely be doing my best to help get this reviewed and merged. Thank you for the PR and stay posted.

@acomanescu
Copy link
Author

Hi @dimitropoulos, is there anything I can do to help having this merged?

@yadokarization
Copy link

Hi @dimitropoulos, just checking in to see if there's an update on the review process. I'm very much looking forward to this being merged.

@DrPye
Copy link

DrPye commented Jan 8, 2025

@dimitropoulos any update on this, this is literally the only package that is stopping us from using next 15!

@yadokarization
Copy link

Hi @mrmckeb, are there any plans to maintain this repository? It seems that several PRs are pending review without any progress.
This package is really useful for us. Thanks!

@dimitropoulos
Copy link

hi everyone! sorry. things move so fast here at Vercel, wow! I'll take a look at this in the coming week and see what we can do. Internal priorities regarding ESLint in general don't directly align with this, but hey, that's no reason not to help the community - and that's exactly what I still hope to do.

@outslept
Copy link

outslept commented Jan 11, 2025

Hey, no-floating-decimal and new-parens are deprecated since ESLint v8.53.0. ESLint's team moved them to @stylistic/eslint-plugin-js. Can we move to the alternatives suggested in the docs?

UPD: Also eslint-plugin-vitest is no longer maintained because the original maintainer has lost access to their npm account. @vitest/eslint-plugin should be used for all the latest features.

@yadokarization
Copy link

Hi @dimitropoulos @mrmckeb, any updates? I’m not trying to rush things, but it would be great to have an idea of what the next steps might be and when they could happen. If there are no plans for further maintenance, please let us know.

@leerob
Copy link
Member

leerob commented Feb 11, 2025

Hey y'all. This repository has been archived and sunset. The existing configurations will remain public for reference.

Thank you 🙏

@leerob leerob closed this Feb 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants