This commit is contained in:
parent
4e3f8aab30
commit
6b1da9c5a6
@ -6,6 +6,9 @@
|
|||||||
"project": ["./tsconfig.json"],
|
"project": ["./tsconfig.json"],
|
||||||
"sourceType": "module"
|
"sourceType": "module"
|
||||||
},
|
},
|
||||||
|
"env": {
|
||||||
|
"es2020": true
|
||||||
|
},
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"@typescript-eslint"
|
"@typescript-eslint"
|
||||||
],
|
],
|
||||||
@ -43,6 +46,14 @@
|
|||||||
"selector": "variable",
|
"selector": "variable",
|
||||||
"format": ["camelCase", "UPPER_CASE"]
|
"format": ["camelCase", "UPPER_CASE"]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"selector": "property",
|
||||||
|
"format": ["camelCase", "UPPER_CASE"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"selector": "enumMember",
|
||||||
|
"format": ["UPPER_CASE"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"selector": "parameter",
|
"selector": "parameter",
|
||||||
"format": ["camelCase"]
|
"format": ["camelCase"]
|
||||||
@ -70,6 +81,8 @@
|
|||||||
"@typescript-eslint/dot-notation": "error",
|
"@typescript-eslint/dot-notation": "error",
|
||||||
"no-extra-semi": "off",
|
"no-extra-semi": "off",
|
||||||
"@typescript-eslint/no-extra-semi": "error",
|
"@typescript-eslint/no-extra-semi": "error",
|
||||||
"@typescript-eslint/explicit-function-return-type": "error"
|
"@typescript-eslint/explicit-function-return-type": "error",
|
||||||
|
"no-dupe-class-members": "off",
|
||||||
|
"@typescript-eslint/no-dupe-class-members": "error"
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user