update: add lint script to package.json
* lint files
This commit is contained in:
+2
-1
@@ -2,9 +2,10 @@ const baseRules = {
|
||||
'@typescript-eslint/no-explicit-any': 0,
|
||||
'@typescript-eslint/ban-ts-ignore': 0,
|
||||
'@typescript-eslint/ban-ts-comment': 0,
|
||||
'@typescript-eslint/no-empty-function': 0,
|
||||
'no-use-before-define': 0,
|
||||
'no-unused-vars': 'off',
|
||||
'@typescript-eslint/no-unused-vars': ['error'],
|
||||
'@typescript-eslint/no-unused-vars': ['warn'],
|
||||
indent: ['warn', 2, { SwitchCase: 1, flatTernaryExpressions: true }],
|
||||
quotes: ['error', 'single', { avoidEscape: true }],
|
||||
semi: ['error', 'always'],
|
||||
|
||||
Reference in New Issue
Block a user