Skip to content

Commit 56d7398

Browse files
committed
update some linting settings
1 parent 817f7b6 commit 56d7398

File tree

5 files changed

+46
-61
lines changed

5 files changed

+46
-61
lines changed

tests/eslint/eslint.config.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { fixupPluginRules } from '@eslint/compat';
21
import globals from 'globals';
32
import confusingBrowserGlobals from 'confusing-browser-globals';
43
import * as parserJSONC from 'jsonc-eslint-parser';
@@ -24,12 +23,10 @@ import pluginRegExp from 'eslint-plugin-regexp';
2423
import pluginSonarJS from 'eslint-plugin-sonarjs';
2524
import pluginStylistic from '@stylistic/eslint-plugin';
2625
import pluginTypeScript from '@typescript-eslint/eslint-plugin';
27-
import $pluginTSDoc from 'eslint-plugin-tsdoc';
26+
import pluginTSDoc from 'eslint-plugin-tsdoc';
2827
import pluginUnicorn from 'eslint-plugin-unicorn';
2928
import { yaml as pluginYaml } from 'eslint-yaml';
3029

31-
const pluginTSDoc = fixupPluginRules($pluginTSDoc);
32-
3330
const PACKAGES_NODE_VERSIONS = '^20.19';
3431
const DEV_NODE_VERSIONS = '^20.19';
3532

@@ -1939,8 +1936,6 @@ const ts = {
19391936
'@typescript-eslint/prefer-function-type': ERROR,
19401937
// require using namespace keyword over module keyword to declare custom TypeScript modules
19411938
'@typescript-eslint/prefer-namespace-keyword': ERROR,
1942-
// disallow two overloads that could be unified into one with a union or an optional / rest parameter
1943-
'@typescript-eslint/unified-signatures': OFF,
19441939
};
19451940

19461941
const typeDefinitionsTests = {

tests/eslint/package-lock.json

Lines changed: 40 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/eslint/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"name": "tests/eslint",
33
"type": "module",
44
"devDependencies": {
5-
"@eslint/compat": "^2.0.2",
65
"@eslint/markdown": "^7.5.1",
76
"@eslint-community/eslint-plugin-eslint-comments": "^4.6.0",
87
"@stylistic/eslint-plugin": "^5.9.0",

tests/type-definitions/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/type-definitions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"name": "tests/type-definitions",
33
"type": "module",
44
"devDependencies": {
5-
"@types/node": "^25.3.0"
5+
"@types/node": "^25.3.1"
66
}
77
}

0 commit comments

Comments
 (0)