Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
whats-open-web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicholas J Anderson
whats-open-web
Commits
77f06e2f
Commit
77f06e2f
authored
Dec 31, 2017
by
Andrew Hrdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finished linting file.
parent
46552585
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
62 additions
and
33 deletions
+62
-33
.eslintrc.json
.eslintrc.json
+62
-33
No files found.
.eslintrc.json
View file @
77f06e2f
...
...
@@ -15,33 +15,29 @@
"rules"
:
{
//Overridden
from
eslint:reccomended
"no-console"
:
"off"
,
//Possible
Errors
"for-direction"
:
"warn"
,
"no-template-curly-in-string"
:
"warn"
,
//Best
Practices
"block-scoped-var"
:
"
warn
"
,
"no-empty-function"
:
"
warn
"
,
"block-scoped-var"
:
"
error
"
,
"no-empty-function"
:
"
error
"
,
"no-implicit-globals"
:
"error"
,
"no-invalid-this"
:
"error"
,
"no-multi-spaces"
:
"
warn
"
,
"no-multi-spaces"
:
"
error
"
,
"no-self-compare"
:
"warn"
,
//Variables
"no-shadow"
:
"error"
,
"no-shadow-restricted-names"
:
"error"
,
"no-undef-init"
:
"error"
,
//Styling
"array-bracket-spacing"
:
"
warn
"
,
"block-spacing"
:
"
warn
"
,
"array-bracket-spacing"
:
"
error
"
,
"block-spacing"
:
"
error
"
,
"brace-style"
:
"error"
,
"camelcase"
:
"warn"
,
"capitalized-comments"
:
"warn"
,
"camelcase"
:
"error"
,
"comma-dangle"
:
"warn"
,
"comma-spacing"
:
"warn"
,
"computed-property-spacing"
:
"
warn
"
,
"func-call-spacing"
:
"
warn
"
,
"computed-property-spacing"
:
"
error
"
,
"func-call-spacing"
:
"
error
"
,
"implicit-arrow-linebreak"
:
"warn"
,
"indent"
:
"error"
,
"jsx-quotes"
:
"error"
,
...
...
@@ -54,32 +50,65 @@
"no-tabs"
:
"error"
,
"no-trailing-spaces"
:
"error"
,
"no-whitespace-before-property"
:
"error"
,
"object-curly-newline"
:
[
"warn"
,
"always"
],
"object-curly-newline"
:
[
"warn"
,
"always"
],
"object-curly-spacing"
:
"warn"
,
"object-property-newline"
:
"warn"
,
"operator-assignment"
:
"warn"
,
"operator-linebreak"
:
"warn"
,
"quote-props"
:
[
"warn"
,
"as-needed"
],
"quotes"
:
[
"warn"
,
"single"
],
"quote-props"
:
[
"warn"
,
"as-needed"
],
"quotes"
:
[
"warn"
,
"single"
],
"semi"
:
"error"
,
"semi-spacing"
:
[
"error"
,
{
"before"
:
false
,
"after"
:
true
}],
"semi-spacing"
:
[
"error"
,
{
"before"
:
false
,
"after"
:
true
}
],
"semi-style"
:
"error"
,
"space-before-blocks"
:
"warn"
,
"space-before-function-paren"
:
[
"warn"
,
"never"
],
"space-in-parens"
:
"warn"
,
"space-infix-ops"
:
"warn"
,
"space-unary-ops"
:
[
"error"
,
{
"words"
:
true
,
"nonwords"
:
false
}],
"switch-colon-spacing"
:
"warn"
,
"space-before-blocks"
:
"error"
,
"space-before-function-paren"
:
[
"error"
,
"never"
],
"space-in-parens"
:
"error"
,
"space-infix-ops"
:
"error"
,
"space-unary-ops"
:
[
"error"
,
{
"words"
:
true
,
"nonwords"
:
false
}
],
"switch-colon-spacing"
:
"error"
,
//ECMAScript
6
//Default
--
Check
to
remove
"no-const-assign"
:
"warn"
,
"no-this-before-super"
:
"warn"
,
"no-undef"
:
"warn"
,
"no-unreachable"
:
"warn"
,
"no-unused-vars"
:
"warn"
,
"constructor-super"
:
"warn"
,
"valid-typeof"
:
"warn"
"arrow-parens"
:
"warn"
,
"arrow-spacing"
:
[
"warn"
,
{
"before"
:
true
,
"after"
:
true
}
],
"no-duplicate-imports"
:
"warn"
,
"no-useless-computed-key"
:
"warn"
,
"no-useless-rename"
:
"warn"
,
"no-var"
:
"error"
,
"prefer-arrow-callback"
:
"warn"
,
"prefer-const"
:
"error"
,
"prefer-rest-params"
:
"error"
,
"prefer-spread"
:
"error"
,
"prefer-template"
:
"warn"
,
"rest-spread-spacing"
:
"error"
,
"template-curly-spacing"
:
"error"
}
}
\ No newline at end of file
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