mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-20 06:34:55 +00:00
first commit
This commit is contained in:
38
webapp/packages/supersonic-fe/.eslintrc.js
Normal file
38
webapp/packages/supersonic-fe/.eslintrc.js
Normal file
@@ -0,0 +1,38 @@
|
||||
module.exports = {
|
||||
extends: [require.resolve('@umijs/fabric/dist/eslint')],
|
||||
// globals: {
|
||||
// ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION: true,
|
||||
// page: true,
|
||||
// REACT_APP_ENV: true,
|
||||
// },
|
||||
rules: {
|
||||
'spaced-comment': 'off',
|
||||
'@typescript-eslint/no-parameter-properties': 'off',
|
||||
'@typescript-eslint/no-redeclare': 'off',
|
||||
'@typescript-eslint/no-namespace': 'off',
|
||||
'no-param-reassign': 'off',
|
||||
'no-underscore-dangle': 'off',
|
||||
'no-restricted-syntax': 'off',
|
||||
'@typescript-eslint/no-loop-func': 'off',
|
||||
'consistent-type-definitions': 'off',
|
||||
"no-use-before-define": "off",
|
||||
"@typescript-eslint/no-use-before-define": "off",
|
||||
"@typescript-eslint/consistent-type-imports": "off",
|
||||
"no-shadow": "off",
|
||||
"@typescript-eslint/no-shadow": "off",
|
||||
'no-useless-return': 'off',
|
||||
'max-classes-per-file': 'off',
|
||||
'no-return-assign': 'off',
|
||||
'no-continue': 'off',
|
||||
'no-bitwise': 'off',
|
||||
'no-await-in-loop': 'off',
|
||||
'@typescript-eslint/no-unused-expressions': 'off',
|
||||
'global-require': 'off',
|
||||
'no-plusplus': 'off',
|
||||
'import/export': 'off',
|
||||
'react-hooks/exhaustive-deps': 'off',
|
||||
'import/no-extraneous-dependencies': 0,
|
||||
'react-hooks/exhaustive-deps': 0,
|
||||
'no-console': 0,
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user