Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 15028dd

Browse filesBrowse files
dependabot[bot]aduh95
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 038ac01 commit 15028dd
Copy full SHA for 15028dd

File tree

Expand file treeCollapse file tree

5 files changed

+235
-458
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

5 files changed

+235
-458
lines changed
Open diff view settings
Collapse file

‎eslint.config.mjs‎

Copy file name to clipboardExpand all lines: eslint.config.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ export default [
289289
'error',
290290
{ blankLine: 'always', prev: 'function', next: 'function' },
291291
],
292-
'@stylistic/js/quotes': ['error', 'single', { avoidEscape: true }],
292+
'@stylistic/js/quotes': ['error', 'single', { avoidEscape: true, allowTemplateLiterals: true }],
293293
'@stylistic/js/quote-props': ['error', 'consistent'],
294294
'@stylistic/js/rest-spread-spacing': 'error',
295295
'@stylistic/js/semi': 'error',
Collapse file

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

Copy file name to clipboardExpand all lines: test/es-module/test-esm-loader-hooks.mjs
+10-10Lines changed: 10 additions & 10 deletions
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
]);
Collapse file

‎tools/doc/addon-verify.mjs‎

Copy file name to clipboardExpand all lines: tools/doc/addon-verify.mjs
+3-3Lines changed: 3 additions & 3 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.