File tree Expand file tree Collapse file tree 5 files changed +16
-2
lines changed Expand file tree Collapse file tree 5 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
+ "eslint.options" : { "flags" : [" unstable_ts_config" ] },
2
3
"eslint.useFlatConfig" : true
3
4
}
Original file line number Diff line number Diff line change 1
1
checksumBehavior : update
2
- nodeLinker : pnpm
2
+ nodeLinker : node-modules
Original file line number Diff line number Diff line change
1
+ // @ts -expect-error no types
1
2
import js from "@eslint/js"
2
3
import stylistic from "@stylistic/eslint-plugin"
3
4
import typescriptPlugin from "@typescript-eslint/eslint-plugin"
4
5
import typescriptParser from "@typescript-eslint/parser"
6
+ // @ts -expect-error no types
5
7
import ban from "eslint-plugin-ban"
6
8
import simpleSortImport from "eslint-plugin-simple-import-sort"
7
9
import unusedImports from "eslint-plugin-unused-imports"
Original file line number Diff line number Diff line change 21
21
"scripts" : {
22
22
"build" : " tsc" ,
23
23
"dev" : " node --loader ts-node/esm src/index.ts" ,
24
- "lint" : " eslint ." ,
24
+ "lint" : " eslint --flag unstable_ts_config ." ,
25
25
"start" : " node dist/src/index.js" ,
26
26
"test" : " yarn lint && yarn ut" ,
27
27
"update-dependencies" : " npx npm-check-updates -u && yarn && yarn dedupe" ,
37
37
"eslint-plugin-ban" : " ^1.6.0" ,
38
38
"eslint-plugin-simple-import-sort" : " ^12.1.1" ,
39
39
"eslint-plugin-unused-imports" : " ^4.1.4" ,
40
+ "jiti" : " ^2.3.3" ,
40
41
"ts-node" : " ^10.9.2" ,
41
42
"tsx" : " ^4.19.1" ,
42
43
"typescript" : " ^5.6.3"
Original file line number Diff line number Diff line change @@ -1470,6 +1470,15 @@ __metadata:
1470
1470
languageName : node
1471
1471
linkType : hard
1472
1472
1473
+ " jiti@npm:^2.3.3 " :
1474
+ version : 2.3.3
1475
+ resolution : " jiti@npm:2.3.3"
1476
+ bin :
1477
+ jiti : lib/jiti-cli.mjs
1478
+ checksum : 10c0/d71e40fb3c359cddafa2a6a03aea7e5e3a571aedeb5bec7627d5bc67c1e66c6275be5c03b4e0b10cd22cde9d39c892f27f6598a4e63bde030b607efc5051fd7f
1479
+ languageName : node
1480
+ linkType : hard
1481
+
1473
1482
" js-yaml@npm:^4.1.0 " :
1474
1483
version : 4.1.0
1475
1484
resolution : " js-yaml@npm:4.1.0"
@@ -2215,6 +2224,7 @@ __metadata:
2215
2224
eslint-plugin-ban : " npm:^1.6.0"
2216
2225
eslint-plugin-simple-import-sort : " npm:^12.1.1"
2217
2226
eslint-plugin-unused-imports : " npm:^4.1.4"
2227
+ jiti : " npm:^2.3.3"
2218
2228
solid-js : " npm:^1.9.2"
2219
2229
ts-node : " npm:^10.9.2"
2220
2230
tsx : " npm:^4.19.1"
You can’t perform that action at this time.
0 commit comments