Skip to content

Commit aee826b

Browse files
committed
build: use native type stripping for eslint run
1 parent c979545 commit aee826b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

eslint.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import markdown from 'eslint-plugin-markdown';
77
import pluginN from 'eslint-plugin-n';
88
import tseslint from 'typescript-eslint';
99

10-
import eslintPlugin from './lib/index.js';
10+
import eslintPlugin from './lib/index.ts';
1111

1212
const dirname = path.dirname(fileURLToPath(import.meta.url));
1313
const compat = new FlatCompat({

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"lint": "npm-run-all --continue-on-error --aggregate-output --parallel lint:*",
1818
"lint:docs": "markdownlint \"**/*.md\"",
1919
"lint:eslint-docs": "npm-run-all -s build \"update:eslint-docs -- --check\"",
20-
"lint:js": "eslint --cache --ignore-pattern \"**/*.md\"",
21-
"lint:js-docs": "eslint --no-inline-config \"**/*.md\"",
20+
"lint:js": "eslint --cache --ignore-pattern \"**/*.md\" --flag unstable_native_nodejs_ts_config",
21+
"lint:js-docs": "eslint --no-inline-config \"**/*.md\" --flag unstable_native_nodejs_ts_config",
2222
"lint:package-json": "npmPkgJsonLint .",
2323
"release": "release-it",
2424
"test": "vitest run --coverage",

0 commit comments

Comments
 (0)