eslint: Migrate to flat configuration.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2024-11-26 16:44:33 -08:00
committed by Tim Abbott
parent 7950696081
commit 9a4728425d
6 changed files with 383 additions and 312 deletions

60
pnpm-lock.yaml generated
View File

@@ -302,6 +302,12 @@ importers:
'@babel/plugin-transform-modules-commonjs':
specifier: ^7.19.6
version: 7.25.9(@babel/core@7.26.0)
'@eslint/eslintrc':
specifier: ^2.1.4
version: 2.1.4
'@eslint/js':
specifier: ^8.57.1
version: 8.57.1
'@formatjs/cli':
specifier: ^6.0.0
version: 6.3.8
@@ -317,6 +323,15 @@ importers:
'@types/co-body':
specifier: ^6.1.3
version: 6.1.3
'@types/confusing-browser-globals':
specifier: ^1.0.3
version: 1.0.3
'@types/eslint__eslintrc':
specifier: ^2.1.2
version: 2.1.2
'@types/eslint__js':
specifier: ^8.42.3
version: 8.42.3
'@types/gtag.js':
specifier: ^0.0.20
version: 0.0.20
@@ -428,6 +443,9 @@ importers:
eslint-plugin-unicorn:
specifier: ^56.0.0
version: 56.0.0(eslint@8.57.1)
globals:
specifier: ^13.24.0
version: 13.24.0
jsdom:
specifier: ^25.0.0
version: 25.0.1
@@ -467,6 +485,9 @@ importers:
typescript:
specifier: ^5.0.2
version: 5.6.3
typescript-eslint:
specifier: ^8.13.0
version: 8.13.0(eslint@8.57.1)(typescript@5.6.3)
vnu-jar:
specifier: ^24.10.17
version: 24.10.17
@@ -2283,6 +2304,9 @@ packages:
'@types/co-body@6.1.3':
resolution: {integrity: sha512-UhuhrQ5hclX6UJctv5m4Rfp52AfG9o9+d9/HwjxhVB5NjXxr5t9oKgJxN8xRHgr35oo8meUEHUPFWiKg6y71aA==}
'@types/confusing-browser-globals@1.0.3':
resolution: {integrity: sha512-q+6axdE3RyjrSsy2ONE4UpF89rwOfpoMBP3lqJ+OzLuOeYHwP+o2GITzuleKb1UT3FSYybO8QmeACgyHleu2CA==}
'@types/connect-history-api-fallback@1.5.4':
resolution: {integrity: sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw==}
@@ -2307,6 +2331,12 @@ packages:
'@types/eslint@9.6.1':
resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==}
'@types/eslint__eslintrc@2.1.2':
resolution: {integrity: sha512-qXvzPFY7Rz05xD8ZApXJ3S8xStQD2Ibzu3EFIF0UMNOAfLY5xUu3H61q0JrHo2OXD6rcFG75yUxNQbkKtFKBSw==}
'@types/eslint__js@8.42.3':
resolution: {integrity: sha512-alfG737uhmPdnvkrLdZLcEKJ/B8s9Y4hrZ+YAdzUeoArBlSUERA2E87ROfOaS4jd/C45fzOoZzidLc1IPwLqOw==}
'@types/estree-jsx@1.0.5':
resolution: {integrity: sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==}
@@ -8333,6 +8363,15 @@ packages:
typescript-auto-import-cache@0.3.5:
resolution: {integrity: sha512-fAIveQKsoYj55CozUiBoj4b/7WpN0i4o74wiGY5JVUEoD0XiqDk1tJqTEjgzL2/AizKQrXxyRosSebyDzBZKjw==}
typescript-eslint@8.13.0:
resolution: {integrity: sha512-vIMpDRJrQd70au2G8w34mPps0ezFSPMEX4pXkTzUkrNbRX+36ais2ksGWN0esZL+ZMaFJEneOBHzCgSqle7DHw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
typescript@5.6.3:
resolution: {integrity: sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==}
engines: {node: '>=14.17'}
@@ -11099,6 +11138,8 @@ snapshots:
'@types/node': 22.9.0
'@types/qs': 6.9.17
'@types/confusing-browser-globals@1.0.3': {}
'@types/connect-history-api-fallback@1.5.4':
dependencies:
'@types/express-serve-static-core': 5.0.1
@@ -11133,6 +11174,14 @@ snapshots:
'@types/estree': 1.0.6
'@types/json-schema': 7.0.15
'@types/eslint__eslintrc@2.1.2':
dependencies:
'@types/eslint': 9.6.1
'@types/eslint__js@8.42.3':
dependencies:
'@types/eslint': 9.6.1
'@types/estree-jsx@1.0.5':
dependencies:
'@types/estree': 1.0.6
@@ -18625,6 +18674,17 @@ snapshots:
dependencies:
semver: 7.6.3
typescript-eslint@8.13.0(eslint@8.57.1)(typescript@5.6.3):
dependencies:
'@typescript-eslint/eslint-plugin': 8.13.0(@typescript-eslint/parser@8.13.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3)
'@typescript-eslint/parser': 8.13.0(eslint@8.57.1)(typescript@5.6.3)
'@typescript-eslint/utils': 8.13.0(eslint@8.57.1)(typescript@5.6.3)
optionalDependencies:
typescript: 5.6.3
transitivePeerDependencies:
- eslint
- supports-color
typescript@5.6.3: {}
uglify-js@3.19.3: