Skip to content

Commit

Permalink
feat: update eslintrc.js
Browse files Browse the repository at this point in the history
  • Loading branch information
huyang committed Nov 14, 2023
1 parent 31b24fc commit b21cde1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
globals: {
"AMap": true,
"L7": true,
'AMap': true,
'L7': true,
},
env: {
browser: true,
Expand All @@ -15,9 +15,9 @@ module.exports = {
ecmaVersion: 12,
sourceType: 'module'
},
plugins: ['@typescript-eslint',"unused-imports"],
plugins: ['@typescript-eslint','unused-imports'],
rules: {
"unused-imports/no-unused-imports": "error",
'unused-imports/no-unused-imports': 'error',
'@typescript-eslint/no-loss-of-precision':0,
'@typescript-eslint/no-inferrable-types': 0,
'no-constant-condition': 0,
Expand All @@ -29,7 +29,8 @@ module.exports = {
'no-useless-catch': 0,
'@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/no-explicit-any':0,
"@typescript-eslint/no-unused-vars": 0,
'@typescript-eslint/no-unused-vars': 0,
'@typescript-eslint/no-duplicate-enum-values':0,
'prefer-rest-params':0,
},
settings: {
Expand Down

0 comments on commit b21cde1

Please sign in to comment.