Commit 75d1769d by liguokang

feat: 🎨

parent 5c981db8
......@@ -2,7 +2,7 @@
* @Author: liguokang
* @Date: 2021-07-14 20:38:28
* @LastEditors: liguokang
* @LastEditTime: 2021-07-29 17:58:58
* @LastEditTime: 2021-07-29 18:03:28
* @Description:
* @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有
*/
......@@ -23,7 +23,6 @@ module.exports = {
plugins: ['html'],
rules: {
indent: [0, 2],
complexity: [0, { max: 12 }],
radix: 0,
eqeqeq: 0,
quotes: [
......@@ -34,21 +33,12 @@ module.exports = {
},
],
'arrow-parens': 0,
'global-require': 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,
'array-callback-return': 0,
'arrow-body-style': 0,
'guard-for-in': 0,
'space-before-function-paren': 0,
'linebreak-style': [0, 2, 'windows'],
camelcase: 0,
complexity: [0, { max: 12 }],
'consistent-return': 0,
'class-methods-use-this': 0,
'comma-dangle': [
1,
{
......@@ -59,6 +49,27 @@ module.exports = {
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': [
0,
{
......@@ -66,18 +77,12 @@ module.exports = {
object: true,
},
],
'prefer-const': 1,
'dot-notation': 0,
'prefer-const': 0,
'object-curly-newline': 0,
camelcase: 0,
'@typescript-eslint/prefer-interface': 0,
'@typescript-eslint/camelcase': 0,
'@typescript-eslint/explicit-function-return-type': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-unused-vars': 0,
'@typescript-eslint/indent': [0, 2],
'operator-linebreak': 0,
'import/prefer-default-export': 0,
'import/no-named-as-default-member': 0,
'import/no-named-as-default': 0,
......@@ -133,10 +138,5 @@ module.exports = {
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