mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
tools: import rather than require ESLint plugins
Refs: https://github.com/nodejs/node/pull/57314 PR-URL: https://github.com/nodejs/node/pull/57315 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
parent
9325697379
commit
27f98c3cd1
6 changed files with 16 additions and 20 deletions
|
@ -1,6 +1,4 @@
|
|||
import { requireEslintTool } from '../tools/eslint/eslint.config_utils.mjs';
|
||||
|
||||
const globals = requireEslintTool('globals');
|
||||
import { globals } from '../tools/eslint/eslint.config_utils.mjs';
|
||||
|
||||
export default [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue