Skip to content

Commit 6806024

Browse files
nodejs-github-bottargos
authored andcommitted
tools: update eslint to 9.5.0
PR-URL: #53515 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 1a3ccba commit 6806024

File tree

916 files changed

+2455
-1539
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

916 files changed

+2455
-1539
lines changed

β€Žeslint.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import nodeCore from './tools/eslint/eslint-plugin-node-core.js';
1616

1717
const js = requireEslintTool('@eslint/js');
1818
const babelEslintParser = requireEslintTool('@babel/eslint-parser');
19-
const babelPluginSyntaxImportAttributes = requireEslintTool('@babel/plugin-syntax-import-attributes');
19+
const babelPluginSyntaxImportAttributes = resolveEslintTool('@babel/plugin-syntax-import-attributes');
2020
const jsdoc = requireEslintTool('eslint-plugin-jsdoc');
2121
const markdown = requireEslintTool('eslint-plugin-markdown');
2222
const stylisticJs = requireEslintTool('@stylistic/eslint-plugin-js');

β€Žtest/parallel/test-internal-validators-validateoneof.js

-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const { validateOneOf } = require('internal/validators');
1010
const allowed = [2, 3];
1111
assert.throws(() => validateOneOf(1, 'name', allowed), {
1212
code: 'ERR_INVALID_ARG_VALUE',
13-
// eslint-disable-next-line @stylistic/js/quotes
1413
message: `The argument 'name' must be one of: 2, 3. Received 1`
1514
});
1615
}
@@ -25,7 +24,6 @@ const { validateOneOf } = require('internal/validators');
2524
const allowed = ['b', 'c'];
2625
assert.throws(() => validateOneOf('a', 'name', allowed), {
2726
code: 'ERR_INVALID_ARG_VALUE',
28-
// eslint-disable-next-line @stylistic/js/quotes
2927
message: `The argument 'name' must be one of: 'b', 'c'. Received 'a'`
3028
});
3129
}
@@ -40,7 +38,6 @@ const { validateOneOf } = require('internal/validators');
4038
const allowed = [Symbol.for('b'), Symbol.for('c')];
4139
assert.throws(() => validateOneOf(Symbol.for('a'), 'name', allowed), {
4240
code: 'ERR_INVALID_ARG_VALUE',
43-
// eslint-disable-next-line @stylistic/js/quotes
4441
message: `The argument 'name' must be one of: Symbol(b), Symbol(c). ` +
4542
'Received Symbol(a)'
4643
});

β€Žtest/parallel/test-repl-colors.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable @stylistic/js/quotes */
21
'use strict';
32
require('../common');
43
const { Duplex } = require('stream');

β€Žtools/eslint/node_modules/@eslint/config-array/dist/cjs/index.cjs

+12-56
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žtools/eslint/node_modules/@eslint/config-array/dist/cjs/index.d.cts

-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žtools/eslint/node_modules/@eslint/config-array/dist/esm/index.js

+12-56
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žtools/eslint/node_modules/@eslint/config-array/package.json

+7-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žtools/eslint/node_modules/@eslint/js/package.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)