Skip to content

Commit 67d1046

Browse files
committed
chore: lint
1 parent 72fa484 commit 67d1046

File tree

179 files changed

+972
-1048
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+972
-1048
lines changed

package.json

+20-15
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,46 @@
22
"name": "type-challenges",
33
"private": true,
44
"version": "0.0.0",
5+
"license": "MIT",
56
"repository": "https://github.com/antfu/type-challenges.git",
67
"author": "Anthony Fu <[email protected]>",
7-
"license": "MIT",
88
"scripts": {
99
"readme": "esno ./scripts/readme.ts",
1010
"build": "esno ./scripts/build.ts",
11+
"lint": "eslint .",
1112
"translate": "esno ./scripts/translate-cli.ts",
1213
"utils:release": "pnpm -C utils release"
1314
},
15+
"dependencies": {
16+
"esno": "^0.14.1",
17+
"fast-glob": "^3.2.11",
18+
"fs-extra": "^10.0.1",
19+
"js-yaml": "^4.1.0",
20+
"lz-string": "^1.4.4"
21+
},
1422
"devDependencies": {
15-
"@antfu/eslint-config-ts": "^0.12.1",
23+
"@antfu/eslint-config": "^0.20.3",
1624
"@type-challenges/utils": "workspace:*",
1725
"@types/fs-extra": "^9.0.13",
1826
"@types/js-yaml": "^4.0.5",
1927
"@types/lz-string": "^1.3.34",
20-
"@types/node": "^16.11.12",
21-
"@typescript-eslint/eslint-plugin": "^5.6.0",
22-
"@typescript-eslint/parser": "^5.6.0",
23-
"eslint": "^8.4.1",
24-
"typescript": "^4.5.2",
28+
"@types/node": "^17.0.24",
29+
"@typescript-eslint/eslint-plugin": "^5.19.0",
30+
"@typescript-eslint/parser": "^5.19.0",
31+
"eslint": "^8.13.0",
32+
"typescript": "^4.6.3",
2533
"utility-types": "^3.10.0"
2634
},
27-
"dependencies": {
28-
"esno": "^0.12.1",
29-
"fast-glob": "^3.2.7",
30-
"fs-extra": "^10.0.0",
31-
"js-yaml": "^4.1.0",
32-
"lz-string": "^1.4.4"
33-
},
3435
"eslintConfig": {
3536
"extends": "@antfu/eslint-config-ts",
3637
"rules": {
3738
"import/first": "off",
3839
"no-unused-vars": "off",
39-
"@typescript-eslint/no-unused-vars": "off"
40+
"@typescript-eslint/no-unused-vars": "off",
41+
"no-use-before-define": "off",
42+
"no-unused-expressions": "off",
43+
"prefer-const": "off",
44+
"no-alert": "off"
4045
}
4146
}
4247
}

0 commit comments

Comments
 (0)