File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 32
32
- uses : actions/setup-node@v4
33
33
with :
34
34
node-version : ' lts/*'
35
+ check-latest : true
35
36
- run : npm install
36
37
- run : npm run lint
37
38
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { FlatCompat } from '@eslint/eslintrc';
5
5
import { defineConfig } from 'eslint/config' ;
6
6
import markdown from 'eslint-plugin-markdown' ;
7
7
import pluginN from 'eslint-plugin-n' ;
8
- import eslintPlugin from './lib/index.js ' ;
8
+ import eslintPlugin from './lib/index.ts ' ;
9
9
10
10
const dirname = path . dirname ( fileURLToPath ( import . meta. url ) ) ;
11
11
const compat = new FlatCompat ( {
Original file line number Diff line number Diff line change 15
15
"lint" : " npm-run-all --continue-on-error --aggregate-output --parallel lint:*" ,
16
16
"lint:docs" : " markdownlint \" **/*.md\" " ,
17
17
"lint:eslint-docs" : " npm-run-all -s build \" update:eslint-docs -- --check\" " ,
18
- "lint:js" : " eslint --cache --ignore-pattern \" **/*.md\" . " ,
19
- "lint:js-docs" : " eslint --no-inline-config \" **/*.md\" " ,
18
+ "lint:js" : " eslint --cache --ignore-pattern \" **/*.md\" --flag unstable_native_nodejs_ts_config " ,
19
+ "lint:js-docs" : " eslint --no-inline-config \" **/*.md\" --flag unstable_native_nodejs_ts_config " ,
20
20
"lint:package-json" : " npmPkgJsonLint ." ,
21
21
"release" : " release-it" ,
22
22
"test" : " vitest run --coverage" ,
You can’t perform that action at this time.
0 commit comments