A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nodejs/node/commit/208d6a5754 below:

support explicit resource management in eslint · nodejs/node@208d6a5 · GitHub

File tree Expand file treeCollapse file tree 3 files changed

+20

-0

lines changed

Filter options

Expand file treeCollapse file tree 3 files changed

+20

-0

lines changed Original file line number Diff line number Diff line change

@@ -18,6 +18,8 @@ import nodeCore from './tools/eslint/eslint-plugin-node-core.js';

18 18

const { globalIgnores } = await importEslintTool('eslint/config');

19 19

const { default: js } = await importEslintTool('@eslint/js');

20 20

const { default: babelEslintParser } = await importEslintTool('@babel/eslint-parser');

21 +

const babelPluginProposalExplicitResourceManagement =

22 +

resolveEslintTool('@babel/plugin-proposal-explicit-resource-management');

21 23

const babelPluginSyntaxImportAttributes = resolveEslintTool('@babel/plugin-syntax-import-attributes');

22 24

const babelPluginSyntaxImportSource = resolveEslintTool('@babel/plugin-syntax-import-source');

23 25

const { default: jsdoc } = await importEslintTool('eslint-plugin-jsdoc');

@@ -103,6 +105,7 @@ export default [

103 105

parserOptions: {

104 106

babelOptions: {

105 107

plugins: [

108 +

babelPluginProposalExplicitResourceManagement,

106 109

babelPluginSyntaxImportAttributes,

107 110

babelPluginSyntaxImportSource,

108 111

],

Original file line number Diff line number Diff line change

@@ -7,6 +7,7 @@

7 7

"@babel/eslint-parser": "^7.27.1",

8 8

"@babel/plugin-syntax-import-attributes": "^7.27.1",

9 9

"@babel/plugin-syntax-import-source": "^7.27.1",

10 +

"@babel/plugin-proposal-explicit-resource-management": "^7.27.1",

10 11

"@stylistic/eslint-plugin-js": "^4.2.0",

11 12

"eslint": "^9.25.1",

12 13

"eslint-formatter-tap": "^8.40.0",

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4