Commit 75d1769d by liguokang

feat: 🎨

parent 5c981db8
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: liguokang * @Author: liguokang
* @Date: 2021-07-14 20:38:28 * @Date: 2021-07-14 20:38:28
* @LastEditors: liguokang * @LastEditors: liguokang
* @LastEditTime: 2021-07-29 17:58:58 * @LastEditTime: 2021-07-29 18:03:28
* @Description: * @Description:
* @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有 * @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -23,7 +23,6 @@ module.exports = { ...@@ -23,7 +23,6 @@ module.exports = {
plugins: ['html'], plugins: ['html'],
rules: { rules: {
indent: [0, 2], indent: [0, 2],
complexity: [0, { max: 12 }],
radix: 0, radix: 0,
eqeqeq: 0, eqeqeq: 0,
quotes: [ quotes: [
...@@ -34,21 +33,12 @@ module.exports = { ...@@ -34,21 +33,12 @@ module.exports = {
}, },
], ],
'arrow-parens': 0, 'arrow-parens': 0,
'global-require': 0, 'array-callback-return': 0,
'max-nested-callbacks': [0, 3],
'max-depth': [2, 5],
'max-len': [2, 160],
'react/react-in-jsx-scope': 0,
'class-methods-use-this': 0,
'object-shorthand': 0,
'func-names': 0,
'spaced-comment': 0,
'prefer-template': 0,
'prefer-arrow-callback': 0,
'arrow-body-style': 0, 'arrow-body-style': 0,
'guard-for-in': 0, camelcase: 0,
'space-before-function-paren': 0, complexity: [0, { max: 12 }],
'linebreak-style': [0, 2, 'windows'], 'consistent-return': 0,
'class-methods-use-this': 0,
'comma-dangle': [ 'comma-dangle': [
1, 1,
{ {
...@@ -59,6 +49,27 @@ module.exports = { ...@@ -59,6 +49,27 @@ module.exports = {
functions: 'always-multiline', functions: 'always-multiline',
}, },
], ],
'default-case': 0,
'dot-notation': 0,
'func-names': 0,
'function-paren-newline': 0,
'global-require': 0,
'guard-for-in': 0,
'max-nested-callbacks': [0, 3],
'max-depth': [2, 5],
'max-len': [2, 160],
'operator-assignment': 0,
'object-shorthand': 0,
'object-curly-newline': 0,
'operator-linebreak': 0,
'prefer-template': 0,
'prefer-arrow-callback': 0,
'react/react-in-jsx-scope': 0,
'spaced-comment': 0,
'space-before-function-paren': 0,
'linebreak-style': [0, 2, 'windows'],
'prefer-const': 1,
'prefer-const': 0,
'prefer-destructuring': [ 'prefer-destructuring': [
0, 0,
{ {
...@@ -66,18 +77,12 @@ module.exports = { ...@@ -66,18 +77,12 @@ module.exports = {
object: true, object: true,
}, },
], ],
'prefer-const': 1,
'dot-notation': 0,
'prefer-const': 0,
'object-curly-newline': 0,
camelcase: 0,
'@typescript-eslint/prefer-interface': 0, '@typescript-eslint/prefer-interface': 0,
'@typescript-eslint/camelcase': 0, '@typescript-eslint/camelcase': 0,
'@typescript-eslint/explicit-function-return-type': 0, '@typescript-eslint/explicit-function-return-type': 0,
'@typescript-eslint/no-explicit-any': 0, '@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-unused-vars': 0, '@typescript-eslint/no-unused-vars': 0,
'@typescript-eslint/indent': [0, 2], '@typescript-eslint/indent': [0, 2],
'operator-linebreak': 0,
'import/prefer-default-export': 0, 'import/prefer-default-export': 0,
'import/no-named-as-default-member': 0, 'import/no-named-as-default-member': 0,
'import/no-named-as-default': 0, 'import/no-named-as-default': 0,
...@@ -133,10 +138,5 @@ module.exports = { ...@@ -133,10 +138,5 @@ module.exports = {
message: 'Use local parameter instead.', message: 'Use local parameter instead.',
}, },
], ],
'default-case': 0,
'consistent-return': 0,
'operator-assignment': 0,
'function-paren-newline': 0,
'array-callback-return': 0,
}, },
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment