File tree 7 files changed +13
-11
lines changed
7 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 2
2
3
3
"use strict" ;
4
4
5
- const execSync = require ( "child_process" ) . execSync ;
6
- const path = require ( "path" ) ;
5
+ const execSync = require ( "node: child_process" ) . execSync ;
6
+ const path = require ( "node: path" ) ;
7
7
8
8
const argv = process . argv . slice ( 2 ) ;
9
9
const args = argv . slice ( 1 ) ;
Original file line number Diff line number Diff line change 1
1
"use strict" ;
2
2
3
3
const eslintConfigESLintCJS = require ( "eslint-config-eslint/cjs" ) ;
4
+ const eslintConfigESLintFormatting = require ( "eslint-config-eslint/formatting" ) ;
4
5
const globals = require ( "globals" ) ;
5
6
6
7
module . exports = [
7
8
{
8
9
ignores : [ "tests/fixtures/" ]
9
10
} ,
10
11
...eslintConfigESLintCJS ,
12
+ eslintConfigESLintFormatting ,
11
13
{
12
14
files : [ "tests/**/*" ] ,
13
15
languageOptions : {
Original file line number Diff line number Diff line change 10
10
//------------------------------------------------------------------------------
11
11
// Requirements
12
12
//------------------------------------------------------------------------------
13
- const path = require ( "path" ) ;
13
+ const path = require ( "node: path" ) ;
14
14
15
15
//------------------------------------------------------------------------------
16
16
// Helpers
Original file line number Diff line number Diff line change 26
26
},
27
27
"devDependencies" : {
28
28
"@hypermod/utils" : " ^0.4.2" ,
29
- "eslint" : " ^9.2 .0" ,
30
- "eslint-config-eslint" : " ^10 .0.0" ,
29
+ "eslint" : " ^9.5 .0" ,
30
+ "eslint-config-eslint" : " ^11 .0.0" ,
31
31
"eslint-release" : " ^1.0.0" ,
32
32
"globals" : " ^15.2.0" ,
33
33
"mocha" : " ^10.4.0" ,
Original file line number Diff line number Diff line change 8
8
"use strict" ;
9
9
10
10
const jscodeshift = require ( "jscodeshift" ) ;
11
- const fs = require ( "fs" ) ;
12
- const path = require ( "path" ) ;
13
- const assert = require ( "assert" ) ;
11
+ const fs = require ( "node: fs" ) ;
12
+ const path = require ( "node: path" ) ;
13
+ const assert = require ( "node: assert" ) ;
14
14
15
15
const newRuleFormatTransform = require ( "../../../lib/new-rule-format/new-rule-format" ) ;
16
16
const { normalizeLineEndings } = require ( "../../utils" ) ;
Original file line number Diff line number Diff line change 6
6
7
7
"use strict" ;
8
8
9
- const path = require ( "path" ) ;
9
+ const path = require ( "node: path" ) ;
10
10
const { applyTransform } = require ( "@hypermod/utils" ) ;
11
- const assert = require ( "assert" ) ;
11
+ const assert = require ( "node: assert" ) ;
12
12
const sinon = require ( "sinon" ) ;
13
13
const { normalizeLineEndings } = require ( "../../utils" ) ;
14
14
const v9MigrationTransform = require ( "../../../lib/v9-rule-migration/v9-rule-migration" ) ;
Original file line number Diff line number Diff line change 1
1
"use strict" ;
2
2
3
- const os = require ( "os" ) ;
3
+ const os = require ( "node: os" ) ;
4
4
5
5
/**
6
6
* Returns a new string with all the EOL markers from the string passed in
You can’t perform that action at this time.
0 commit comments