Skip to content

Commit b51a4d0

Browse files
authored
Dependencies: replace dependency eslint-plugin-node with eslint-plugin-n (#32082)
1 parent 4e6c6f2 commit b51a4d0

File tree

3 files changed

+165
-119
lines changed

3 files changed

+165
-119
lines changed

packages/devextreme/eslint.config.mjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ export default [
370370
},
371371
},
372372
// Rules for build folder
373-
...compat.extends('plugin:node/recommended').map(config => ({
373+
...compat.extends('plugin:n/recommended').map(config => ({
374374
...config,
375375
files: ['build/**/*'],
376376
})),
@@ -384,10 +384,10 @@ export default [
384384
},
385385
rules: {
386386
'no-console': 'off',
387-
'node/no-unpublished-require': 'off',
388-
'node/no-unsupported-features/node-builtins': 'off',
389-
'node/shebang': 'off',
390-
'node/no-unsupported-features/es-syntax': 'off',
387+
'n/no-unpublished-require': 'off',
388+
'n/no-unsupported-features/node-builtins': 'off',
389+
'n/shebang': 'off',
390+
'n/no-unsupported-features/es-syntax': 'off',
391391
'spellcheck/spell-checker': 'off',
392392
},
393393
},

packages/devextreme/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@
119119
"eslint-plugin-jest": "27.6.0",
120120
"eslint-plugin-jest-formatting": "3.1.0",
121121
"eslint-plugin-jsx-a11y": "6.8.0",
122+
"eslint-plugin-n": "^17.0.0",
122123
"eslint-plugin-no-only-tests": "catalog:",
123-
"eslint-plugin-node": "11.1.0",
124124
"eslint-plugin-qunit": "catalog:",
125125
"eslint-plugin-react": "7.33.2",
126126
"eslint-plugin-rulesdir": "0.2.2",

0 commit comments

Comments
 (0)