-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use ESLint:recommended #1207
Merged
Merged
use ESLint:recommended #1207
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
6dd568a
chore: switch to eslint:recommended
nschonni 278ee72
chore: eslint fix with new config
nschonni 8095e8b
fix: no-const-assign
nschonni 0d69b57
fix: no-empty
nschonni b5b14b3
fix: no-useless-escape
nschonni cebea5c
fix: no-duplicate-case
nschonni acbcd5d
fix: no-constant-condition
nschonni 516e041
fix: no-unsafe-negation
nschonni 89b9985
chore: ignore no-cond-assign
nschonni 3c50a31
fix: no-redeclare
nschonni c7bf2ad
fix: no-prototype-builtins
nschonni 9b956d2
chore: ignore currently failing rules
nschonni File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,109 +1,11 @@ | ||
{ | ||
"extends": "eslint:recommended", | ||
"env": { | ||
"browser": true | ||
}, | ||
"rules": { | ||
"no-with": 2, | ||
"no-mixed-spaces-and-tabs": 2, | ||
"no-multiple-empty-lines": 2, | ||
"no-multi-spaces": 0, | ||
"operator-linebreak": [ | ||
2, | ||
"after" | ||
], | ||
"quote-props": 0, | ||
"key-spacing": [ | ||
2, | ||
{ | ||
"afterColon": true | ||
} | ||
], | ||
"space-unary-ops": [ | ||
2, | ||
{ | ||
"words": false, | ||
"nonwords": false | ||
} | ||
], | ||
"no-spaced-func": 2, | ||
"array-bracket-spacing": [ | ||
2, | ||
"never", | ||
{ | ||
"singleValue": true | ||
} | ||
], | ||
"space-in-parens": [ | ||
2, | ||
"never" | ||
], | ||
"comma-dangle": [ | ||
2, | ||
"never" | ||
], | ||
"no-trailing-spaces": 2, | ||
"yoda": [ | ||
2, | ||
"never" | ||
], | ||
"camelcase": [ | ||
2, | ||
{ | ||
"properties": "always" | ||
} | ||
], | ||
"comma-style": [ | ||
2, | ||
"last" | ||
], | ||
"curly": [ | ||
2, | ||
"all" | ||
], | ||
"dot-notation": 2, | ||
"brace-style": [ | ||
2, | ||
"stroustrup", | ||
{ | ||
"allowSingleLine": true | ||
} | ||
], | ||
"eol-last": 2, | ||
"wrap-iife": 2, | ||
"semi": [ | ||
2, | ||
"always" | ||
], | ||
"space-infix-ops": 2, | ||
"keyword-spacing": [ | ||
2, | ||
{} | ||
], | ||
"spaced-comment": [ | ||
2, | ||
"always" | ||
], | ||
"space-before-blocks": [ | ||
2, | ||
"always" | ||
], | ||
"space-before-function-paren": [ | ||
2, | ||
"always" | ||
], | ||
"consistent-this": [ | ||
2, | ||
"self" | ||
], | ||
"indent": [ | ||
2, | ||
2, | ||
{ | ||
"SwitchCase": 1 | ||
} | ||
], | ||
"quotes": [ | ||
2, | ||
"single" | ||
], | ||
"no-eval": "error", | ||
"no-implied-eval": "error" | ||
"no-unused-vars": 0, | ||
"no-undef": 0, | ||
"no-fallthrough": 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to fix this in the future? is there a follow up task for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be fixed going forward, but I didn't spin up an issue for the 3 that are turned off right now