Skip to content

Commit

Permalink
chore: update config
Browse files Browse the repository at this point in the history
  • Loading branch information
BIYUEHU committed Feb 19, 2024
1 parent 9250fd2 commit 3cc563b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"root": true,
"env": {
"es2024": true
},
"extends": [
"airbnb-base",
"prettier"
"prettier",
"typescript"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"rules": {
// "@typescript-eslint/no-explicit-any": 0,
// "@typescript-eslint/no-namespace": 0,
// "no-console": 0,
// "space-before-function-paren": 0,
/* typescript need */
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
"no-use-before-define": 0,
Expand All @@ -22,6 +22,7 @@
"no-redeclare": 0
},
"ignorePatterns": [
"*.js"
"*.js",
"*.d.ts"
]
}

0 comments on commit 3cc563b

Please sign in to comment.