Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-website-ssr-template
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liguokang
xiaomai-website-ssr-template
Commits
75d1769d
Commit
75d1769d
authored
Jul 29, 2021
by
liguokang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:
🎨
parent
5c981db8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
27 deletions
+27
-27
.eslintrc.js
+27
-27
No files found.
.eslintrc.js
View file @
75d1769d
...
@@ -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 1
7:58:5
8
* @LastEditTime: 2021-07-29 1
8:03:2
8
* @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
,
},
},
};
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment