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
2c44ed36
Commit
2c44ed36
authored
Mar 30, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
06f3ee23
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
1 deletion
+27
-1
.eslintrc.js
.eslintrc.js
+27
-1
No files found.
.eslintrc.js
View file @
2c44ed36
...
@@ -18,5 +18,31 @@ module.exports = {
...
@@ -18,5 +18,31 @@ module.exports = {
"react"
"react"
],
],
"rules"
:
{
"rules"
:
{
"max-classes-per-file"
:
"error"
,
"no-extra-bind"
:
"error"
,
"no-lone-blocks"
:
"error"
,
"no-magic-numbers"
:
"error"
,
"no-return-await"
:
"error"
,
"no-useless-return"
:
"error"
,
"complexity"
:
"error"
,
"max-statements-per-line"
:
"error"
,
"max-statements"
:
"error"
,
"max-params"
:
"error"
,
"max-nested-callbacks"
:
"error"
,
"max-lines-per-function"
:
"error"
,
"max-lines"
:
"error"
,
"max-len"
:
"error"
,
"max-depth"
:
"error"
,
"prefer-template"
:
"error"
,
"prefer-const"
:
"error"
,
"prefer-arrow-callback"
:
"error"
,
"no-var"
:
"error"
,
"no-eval"
:
"error"
,
"no-empty-function"
:
"error"
,
"no-else-return"
:
"error"
,
"no-await-in-loop"
:
"error"
,
"no-template-curly-in-string"
:
"error"
,
}
}
};
};
//todo Stylistic Issues
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