Skip to content

Commit 93922b4

Browse files
committed
eslint tsc config fixed.
1 parent 1f0c896 commit 93922b4

9 files changed

+311
-271
lines changed

eslint.config.js

+7-6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import tseslint from "typescript-eslint";
44

55

66
export default [
7+
pluginJs.configs.recommended,
8+
...tseslint.configs.recommended,
79
{
810
plugins: {
911
},
@@ -38,17 +40,16 @@ export default [
3840
"space-before-function-paren": 0,
3941
"padded-blocks": 0,
4042
"no-empty": 0,
41-
"no-unused-expressions": 0,
42-
"@typescript-eslint/triple-slash-reference": 0,
43-
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
44-
"@typescript-eslint/no-explicit-any": ["error", { "fixToUnknown": true }],
43+
"no-unused-expressions": "off" ,
44+
"@typescript-eslint/triple-slash-reference": 0,
45+
"@typescript-eslint/no-unused-vars": "off",
46+
"@typescript-eslint/no-unused-expressions": "off",
47+
"@typescript-eslint/no-explicit-any": "off",
4548
"@typescript-eslint/ban-ts-comment": 0,
4649
"@typescript-eslint/no-unsafe-declaration-merging": 0,
4750
},
4851

4952
},
5053

51-
pluginJs.configs.recommended,
52-
...tseslint.configs.recommended,
5354

5455
];

micro-mini.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

micro.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)