Skip to content

Commit 0a79ebd

Browse files
dependabot[bot]ruyadorno
authored andcommitted
tools: update ESLint to 9.14.0
Bumps the eslint group with 7 updates in the /tools/eslint directory: | Package | From | To | | --- | --- | --- | | [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.25.2` | `7.26.0` | | [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) | `7.25.1` | `7.25.9` | | [@babel/plugin-syntax-import-attributes](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-import-attributes) | `7.25.6` | `7.26.0` | | [@stylistic/eslint-plugin-js](https://github.com/eslint-stylistic/eslint-stylistic/tree/HEAD/packages/eslint-plugin-js) | `2.8.0` | `2.10.1` | | [eslint](https://github.com/eslint/eslint) | `9.11.1` | `9.14.0` | | [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | `50.3.1` | `50.4.3` | | [globals](https://github.com/sindresorhus/globals) | `15.10.0` | `15.11.0` | Updates `@babel/core` from 7.25.2 to 7.26.0 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.26.0/packages/babel-core) Updates `@babel/eslint-parser` from 7.25.1 to 7.25.9 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.25.9/eslint/babel-eslint-parser) Updates `@babel/plugin-syntax-import-attributes` from 7.25.6 to 7.26.0 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.26.0/packages/babel-plugin-syntax-import-attributes) Updates `@stylistic/eslint-plugin-js` from 2.8.0 to 2.10.1 - [Release notes](https://github.com/eslint-stylistic/eslint-stylistic/releases) - [Changelog](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint-stylistic/eslint-stylistic/commits/v2.10.1/packages/eslint-plugin-js) Updates `eslint` from 9.11.1 to 9.14.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v9.11.1...v9.14.0) Updates `eslint-plugin-jsdoc` from 50.3.1 to 50.4.3 - [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases) - [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc) - [Commits](gajus/eslint-plugin-jsdoc@v50.3.1...v50.4.3) Updates `globals` from 15.10.0 to 15.11.0 - [Release notes](https://github.com/sindresorhus/globals/releases) - [Commits](sindresorhus/globals@v15.10.0...v15.11.0) --- updated-dependencies: - dependency-name: "@babel/core" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: eslint - dependency-name: "@babel/eslint-parser" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: eslint - dependency-name: "@babel/plugin-syntax-import-attributes" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: eslint - dependency-name: "@stylistic/eslint-plugin-js" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: eslint - dependency-name: eslint dependency-type: direct:production update-type: version-update:semver-minor dependency-group: eslint - dependency-name: eslint-plugin-jsdoc dependency-type: direct:production update-type: version-update:semver-minor dependency-group: eslint - dependency-name: globals dependency-type: direct:production update-type: version-update:semver-minor dependency-group: eslint ... Signed-off-by: dependabot[bot] <support@github.com> PR-URL: #55689 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 6ca8514 commit 0a79ebd

File tree

5 files changed

+235
-458
lines changed

5 files changed

+235
-458
lines changed

eslint.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ export default [
288288
'error',
289289
{ blankLine: 'always', prev: 'function', next: 'function' },
290290
],
291-
'@stylistic/js/quotes': ['error', 'single', { avoidEscape: true }],
291+
'@stylistic/js/quotes': ['error', 'single', { avoidEscape: true, allowTemplateLiterals: true }],
292292
'@stylistic/js/quote-props': ['error', 'consistent'],
293293
'@stylistic/js/rest-spread-spacing': 'error',
294294
'@stylistic/js/semi': 'error',

test/es-module/test-esm-loader-hooks.mjs

+10-10
Original file line numberDiff line numberDiff line change
@@ -791,14 +791,14 @@ describe('Loader hooks', { concurrency: !process.env.TEST_PARALLEL }, () => {
791791
const hook = `
792792
import { readFile } from 'node:fs/promises';
793793
export ${
794-
async function load(url, context, nextLoad) {
795-
const resolved = await nextLoad(url, context);
796-
if (context.format === 'commonjs') {
797-
resolved.source = await readFile(new URL(url));
798-
}
799-
return resolved;
800-
}
801-
}`;
794+
async function load(url, context, nextLoad) {
795+
const resolved = await nextLoad(url, context);
796+
if (context.format === 'commonjs') {
797+
resolved.source = await readFile(new URL(url));
798+
}
799+
return resolved;
800+
}
801+
}`;
802802

803803
const { code, signal, stdout, stderr } = await spawnPromisified(execPath, [
804804
'--no-warnings',
@@ -807,8 +807,8 @@ describe('Loader hooks', { concurrency: !process.env.TEST_PARALLEL }, () => {
807807
`data:text/javascript,${encodeURIComponent(`
808808
import{ register } from "node:module";
809809
register(${
810-
JSON.stringify('data:text/javascript,' + encodeURIComponent(hook))
811-
});
810+
JSON.stringify('data:text/javascript,' + encodeURIComponent(hook))
811+
});
812812
`)}`,
813813
fixtures.path('source-map/throw-on-require.js'),
814814
]);

tools/doc/addon-verify.mjs

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ function verifyFiles(files, blockName) {
6161
files[name] = `'use strict';
6262
const common = require('../../common');
6363
${files[name].replace(
64-
"'./build/Release/addon'",
65-
// eslint-disable-next-line no-template-curly-in-string
66-
'`./build/${common.buildType}/addon`')}
64+
"'./build/Release/addon'",
65+
// eslint-disable-next-line no-template-curly-in-string
66+
'`./build/${common.buildType}/addon`')}
6767
`;
6868
}
6969
return {

0 commit comments

Comments
 (0)