chore: additional eslint rules
This commit is contained in:
parent
9a32a554e4
commit
e229df97f0
@ -69,6 +69,13 @@ export default [
|
|||||||
'no-implied-eval': 'error',
|
'no-implied-eval': 'error',
|
||||||
'no-new-func': 'error',
|
'no-new-func': 'error',
|
||||||
'no-throw-literal': 'warn',
|
'no-throw-literal': 'warn',
|
||||||
|
'no-self-assign': 'error',
|
||||||
|
'no-self-compare': 'error',
|
||||||
|
'no-loss-of-precision': 'error',
|
||||||
|
'no-dupe-keys': 'error',
|
||||||
|
'no-unsafe-finally': 'error',
|
||||||
|
'no-unmodified-loop-condition': 'warn',
|
||||||
|
'no-template-curly-in-string': 'warn',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user