Skip to content

Commit 4edff84

Browse files
committed
chore: temporarily disable eslint-plugin-header
This plug-in is currently not compatible with eslint 9.
1 parent 0b9b5a3 commit 4edff84

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

eslint.config.mjs

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import eslint from '@eslint/js';
77
import tseslint from 'typescript-eslint';
88

9-
import header from 'eslint-plugin-header';
109
import mocha from 'eslint-plugin-mocha';
1110
import simpleImportSort from 'eslint-plugin-simple-import-sort';
1211
import unusedImports from 'eslint-plugin-unused-imports';
@@ -16,7 +15,9 @@ export default tseslint.config(
1615
tseslint.configs.recommended,
1716
{
1817
plugins: {
19-
header,
18+
// Temporarily disabled until eslint-plugin-header is compatible with eslint 9:
19+
// https://github.com/Stuk/eslint-plugin-header/issues/59
20+
// header,
2021
mocha,
2122
simpleImportSort,
2223
unusedImports,
@@ -28,18 +29,19 @@ export default tseslint.config(
2829
],
2930
rules: {
3031
'@typescript-eslint/no-explicit-any': 'off',
31-
'header/header': [
32-
2,
33-
'line',
34-
[
35-
{
36-
pattern: ' SPDX-FileCopyrightText: Copyright \\d{4} Dash0 Inc\\.',
37-
template: ` SPDX-FileCopyrightText: Copyright ${new Date().getFullYear()} Dash0 Inc.`,
38-
},
39-
' SPDX-License-Identifier: Apache-2.0',
40-
],
41-
2,
42-
],
32+
// Temporarily disabled until eslint-plugin-header is compatible with eslint 9:
33+
// https://github.com/Stuk/eslint-plugin-header/issues/59
34+
// 'header/header': [
35+
// 2,
36+
// 'line',
37+
// [
38+
// {
39+
// pattern: ' SPDX-FileCopyrightText: Copyright \\d{4} Dash0 Inc\\.',
40+
// template: ` SPDX-FileCopyrightText: Copyright ${new Date().getFullYear()} Dash0 Inc.`,
41+
// },
42+
// ' SPDX-License-Identifier: Apache-2.0',
43+
// ],
44+
// ],
4345
'mocha/no-exclusive-tests': 'error',
4446
'no-case-declarations': 'off',
4547
'simpleImportSort/exports': 'error',

0 commit comments

Comments
 (0)