Skip to content

Commit 516c647

Browse files
committed
build: update eslint monorepo to v10
See associated pull request for more information. Closes #32456 as a pr takeover
1 parent dfbbe2d commit 516c647

File tree

3 files changed

+158
-119
lines changed

3 files changed

+158
-119
lines changed

eslint.config.mjs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import js from '@eslint/js';
1212
import stylistic from '@stylistic/eslint-plugin';
1313
import typescriptEslint from '@typescript-eslint/eslint-plugin';
1414
import tsParser from '@typescript-eslint/parser';
15-
import header from 'eslint-plugin-header';
15+
import header from '@tony.ganchev/eslint-plugin-header';
1616
import _import from 'eslint-plugin-import';
1717
import globals from 'globals';
1818

@@ -22,9 +22,6 @@ const compat = new FlatCompat({
2222
allConfig: js.configs.all,
2323
});
2424

25-
// See: https://github.com/Stuk/eslint-plugin-header/issues/57
26-
header.rules.header.meta.schema = false;
27-
2825
export default [
2926
{
3027
ignores: [
@@ -59,7 +56,7 @@ export default [
5956
'@stylistic': stylistic,
6057
'@typescript-eslint': fixupPluginRules(typescriptEslint),
6158
import: fixupPluginRules(_import),
62-
header,
59+
'@tony.ganchev': header,
6360
},
6461

6562
languageOptions: {
@@ -106,7 +103,7 @@ export default [
106103
'@typescript-eslint/no-unused-expressions': 'error',
107104
curly: 'error',
108105

109-
'header/header': [
106+
'@tony.ganchev/header': [
110107
'error',
111108
'block',
112109
[

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,13 @@
6161
"@bazel/buildifier": "8.2.1",
6262
"@eslint/compat": "2.0.2",
6363
"@eslint/eslintrc": "3.3.3",
64-
"@eslint/js": "9.39.2",
64+
"@eslint/js": "10.0.1",
6565
"@rollup/plugin-alias": "^6.0.0",
6666
"@rollup/plugin-commonjs": "^29.0.0",
6767
"@rollup/plugin-json": "^6.1.0",
6868
"@rollup/plugin-node-resolve": "16.0.3",
6969
"@stylistic/eslint-plugin": "^5.0.0",
70+
"@tony.ganchev/eslint-plugin-header": "~3.2.4",
7071
"@types/babel__core": "7.20.5",
7172
"@types/babel__generator": "^7.6.8",
7273
"@types/browser-sync": "^2.27.0",
@@ -95,9 +96,8 @@
9596
"buffer": "6.0.3",
9697
"esbuild": "0.27.3",
9798
"esbuild-wasm": "0.27.3",
98-
"eslint": "9.39.2",
99+
"eslint": "10.0.2",
99100
"eslint-config-prettier": "10.1.8",
100-
"eslint-plugin-header": "3.1.1",
101101
"eslint-plugin-import": "2.32.0",
102102
"express": "5.2.1",
103103
"fast-glob": "3.3.3",

0 commit comments

Comments
 (0)