Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eslintdemo
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
eslintdemo
Commits
4cfe8b92
Commit
4cfe8b92
authored
Mar 31, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
2c44ed36
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
.eslintrc.js
.eslintrc.js
+9
-9
No files found.
.eslintrc.js
View file @
4cfe8b92
...
@@ -18,27 +18,27 @@ module.exports = {
...
@@ -18,27 +18,27 @@ module.exports = {
"react"
"react"
],
],
"rules"
:
{
"rules"
:
{
"no-unused-vars"
:
"off"
,
"max-classes-per-file"
:
"error"
,
"max-classes-per-file"
:
"error"
,
"no-extra-bind"
:
"error"
,
"no-extra-bind"
:
"error"
,
"no-lone-blocks"
:
"error"
,
"no-lone-blocks"
:
"error"
,
"no-magic-numbers"
:
"error"
,
"no-magic-numbers"
:
[
"error"
,
{
"ignore"
:
[
1
,
0
,
-
1
,
1000
]
}]
,
"no-return-await"
:
"error"
,
"no-return-await"
:
"error"
,
"no-useless-return"
:
"error"
,
"no-useless-return"
:
"error"
,
"complexity"
:
"error"
,
"complexity"
:
"error"
,
"max-statements-per-line"
:
"error"
,
"max-statements-per-line"
:
[
"error"
,{
"max"
:
2
}]
,
"max-statements"
:
"error"
,
"max-statements"
:
[
"error"
,
30
]
,
"max-params"
:
"error"
,
"max-params"
:
[
"error"
,{
"max"
:
6
}]
,
"max-nested-callbacks"
:
"error"
,
"max-nested-callbacks"
:
"error"
,
"max-lines-per-function"
:
"error"
,
"max-lines-per-function"
:
[
"error"
,
100
]
,
"max-lines"
:
"error"
,
"max-lines"
:
[
"error"
,
400
]
,
"max-len"
:
"error"
,
"max-len"
:
[
"error"
,
200
]
,
"max-depth"
:
"error"
,
"max-depth"
:
"error"
,
"prefer-template"
:
"
error
"
,
"prefer-template"
:
"
off
"
,
"prefer-const"
:
"error"
,
"prefer-const"
:
"error"
,
"prefer-arrow-callback"
:
"error"
,
"prefer-arrow-callback"
:
"error"
,
"no-var"
:
"error"
,
"no-var"
:
"error"
,
"no-eval"
:
"error"
,
"no-eval"
:
"error"
,
"no-empty-function"
:
"error"
,
"no-else-return"
:
"error"
,
"no-else-return"
:
"error"
,
"no-await-in-loop"
:
"error"
,
"no-await-in-loop"
:
"error"
,
"no-template-curly-in-string"
:
"error"
,
"no-template-curly-in-string"
:
"error"
,
...
...
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