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

feat(deps): update to eslint 9 #113

Open
wants to merge 2 commits into
base: canary
Choose a base branch
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants