Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: update eslint to 9.5.0 #53515

Merged
merged 2 commits into from
Jun 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import nodeCore from './tools/eslint/eslint-plugin-node-core.js';

const js = requireEslintTool('@eslint/js');
const babelEslintParser = requireEslintTool('@babel/eslint-parser');
const babelPluginSyntaxImportAttributes = requireEslintTool('@babel/plugin-syntax-import-attributes');
const babelPluginSyntaxImportAttributes = resolveEslintTool('@babel/plugin-syntax-import-attributes');
const jsdoc = requireEslintTool('eslint-plugin-jsdoc');
const markdown = requireEslintTool('eslint-plugin-markdown');
const stylisticJs = requireEslintTool('@stylistic/eslint-plugin-js');
Expand Down
3 changes: 0 additions & 3 deletions test/parallel/test-internal-validators-validateoneof.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const { validateOneOf } = require('internal/validators');
const allowed = [2, 3];
assert.throws(() => validateOneOf(1, 'name', allowed), {
code: 'ERR_INVALID_ARG_VALUE',
// eslint-disable-next-line @stylistic/js/quotes
message: `The argument 'name' must be one of: 2, 3. Received 1`
});
}
Expand All @@ -25,7 +24,6 @@ const { validateOneOf } = require('internal/validators');
const allowed = ['b', 'c'];
assert.throws(() => validateOneOf('a', 'name', allowed), {
code: 'ERR_INVALID_ARG_VALUE',
// eslint-disable-next-line @stylistic/js/quotes
message: `The argument 'name' must be one of: 'b', 'c'. Received 'a'`
});
}
Expand All @@ -40,7 +38,6 @@ const { validateOneOf } = require('internal/validators');
const allowed = [Symbol.for('b'), Symbol.for('c')];
assert.throws(() => validateOneOf(Symbol.for('a'), 'name', allowed), {
code: 'ERR_INVALID_ARG_VALUE',
// eslint-disable-next-line @stylistic/js/quotes
message: `The argument 'name' must be one of: Symbol(b), Symbol(c). ` +
'Received Symbol(a)'
});
Expand Down
1 change: 0 additions & 1 deletion test/parallel/test-repl-colors.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @stylistic/js/quotes */
'use strict';
require('../common');
const { Duplex } = require('stream');
Expand Down
68 changes: 12 additions & 56 deletions tools/eslint/node_modules/@eslint/config-array/dist/cjs/index.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

68 changes: 12 additions & 56 deletions tools/eslint/node_modules/@eslint/config-array/dist/esm/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions tools/eslint/node_modules/@eslint/config-array/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tools/eslint/node_modules/@eslint/js/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading