Skip to content

Commit 1522d9c

Browse files
committed
New baseline
1 parent 4a0109e commit 1522d9c

File tree

5 files changed

+16
-2
lines changed

5 files changed

+16
-2
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2+
"eslint.options": { "flags": ["unstable_ts_config"] },
23
"eslint.useFlatConfig": true
34
}

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
checksumBehavior: update
2-
nodeLinker: pnpm
2+
nodeLinker: node-modules

eslint.config.js renamed to eslint.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
// @ts-expect-error no types
12
import js from "@eslint/js"
23
import stylistic from "@stylistic/eslint-plugin"
34
import typescriptPlugin from "@typescript-eslint/eslint-plugin"
45
import typescriptParser from "@typescript-eslint/parser"
6+
// @ts-expect-error no types
57
import ban from "eslint-plugin-ban"
68
import simpleSortImport from "eslint-plugin-simple-import-sort"
79
import unusedImports from "eslint-plugin-unused-imports"

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"scripts": {
2222
"build": "tsc",
2323
"dev": "node --loader ts-node/esm src/index.ts",
24-
"lint": "eslint .",
24+
"lint": "eslint --flag unstable_ts_config .",
2525
"start": "node dist/src/index.js",
2626
"test": "yarn lint && yarn ut",
2727
"update-dependencies": "npx npm-check-updates -u && yarn && yarn dedupe",
@@ -37,6 +37,7 @@
3737
"eslint-plugin-ban": "^1.6.0",
3838
"eslint-plugin-simple-import-sort": "^12.1.1",
3939
"eslint-plugin-unused-imports": "^4.1.4",
40+
"jiti": "^2.3.3",
4041
"ts-node": "^10.9.2",
4142
"tsx": "^4.19.1",
4243
"typescript": "^5.6.3"

yarn.lock

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1470,6 +1470,15 @@ __metadata:
14701470
languageName: node
14711471
linkType: hard
14721472

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+
14731482
"js-yaml@npm:^4.1.0":
14741483
version: 4.1.0
14751484
resolution: "js-yaml@npm:4.1.0"
@@ -2215,6 +2224,7 @@ __metadata:
22152224
eslint-plugin-ban: "npm:^1.6.0"
22162225
eslint-plugin-simple-import-sort: "npm:^12.1.1"
22172226
eslint-plugin-unused-imports: "npm:^4.1.4"
2227+
jiti: "npm:^2.3.3"
22182228
solid-js: "npm:^1.9.2"
22192229
ts-node: "npm:^10.9.2"
22202230
tsx: "npm:^4.19.1"

0 commit comments

Comments
 (0)