[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit

Permalink
tools: update eslint to 9.5.0
Browse files Browse the repository at this point in the history
PR-URL: #53515
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
nodejs-github-bot authored and targos committed Jun 25, 2024
1 parent 70bbc02 commit ca198f4
Show file tree
Hide file tree
Showing 916 changed files with 2,455 additions and 1,539 deletions.
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

0 comments on commit ca198f4

Please sign in to comment.