mirror of
https://github.com/jeffvli/feishin.git
synced 2024-11-20 06:27:09 +01:00
Fix linter rules
This commit is contained in:
parent
9f60769b65
commit
4d5085f230
@ -17,6 +17,7 @@ module.exports = {
|
|||||||
'@typescript-eslint/no-non-null-assertion': 'off',
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
||||||
'@typescript-eslint/no-shadow': ['off'],
|
'@typescript-eslint/no-shadow': ['off'],
|
||||||
'@typescript-eslint/no-unused-vars': ['error'],
|
'@typescript-eslint/no-unused-vars': ['error'],
|
||||||
|
'@typescript-eslint/no-use-before-define': ['error'],
|
||||||
'default-case': 'off',
|
'default-case': 'off',
|
||||||
'import/extensions': 'off',
|
'import/extensions': 'off',
|
||||||
'import/no-absolute-path': 'off',
|
'import/no-absolute-path': 'off',
|
||||||
@ -53,6 +54,7 @@ module.exports = {
|
|||||||
'no-shadow': 'off',
|
'no-shadow': 'off',
|
||||||
'no-underscore-dangle': 'off',
|
'no-underscore-dangle': 'off',
|
||||||
'no-unused-vars': 'off',
|
'no-unused-vars': 'off',
|
||||||
|
'no-use-before-define': 'off',
|
||||||
'prefer-destructuring': 'off',
|
'prefer-destructuring': 'off',
|
||||||
'react/function-component-definition': 'off',
|
'react/function-component-definition': 'off',
|
||||||
'react/jsx-filename-extension': [2, { extensions: ['.js', '.jsx', '.ts', '.tsx'] }],
|
'react/jsx-filename-extension': [2, { extensions: ['.js', '.jsx', '.ts', '.tsx'] }],
|
||||||
|
Loading…
Reference in New Issue
Block a user