mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
finally fixed eslint issues
This commit is contained in:
parent
5fb3445741
commit
5d219b3196
4 changed files with 27 additions and 106 deletions
|
@ -18,10 +18,8 @@ module.exports = {
|
|||
},
|
||||
},
|
||||
rules: {
|
||||
indent: ['error', 2],
|
||||
'@typescript-eslint/explicit-function-return-type': 0,
|
||||
'@typescript-eslint/indent': ['warn', 2],
|
||||
"indent": "off",
|
||||
'comma-dangle': 0,
|
||||
'no-restricted-syntax': 1,
|
||||
'react/prop-types': 0,
|
||||
|
@ -49,7 +47,9 @@ module.exports = {
|
|||
'max-line-length': [true, 100],
|
||||
// 'max-len': 100,
|
||||
// 'max-len': { "code": 100 },
|
||||
'max-len': ["warn", { "code": 100 }]
|
||||
'max-len': ["warn", { "code": 100 }],
|
||||
"template-curly-spacing": "off",
|
||||
indent: "off"
|
||||
},
|
||||
globals: {
|
||||
document: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue