-
-
Notifications
You must be signed in to change notification settings - Fork 27k
Updating ESlint to ^4.15.0 and adding new rules to config #3723
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
Changes from 1 commit
b4c84bd
6ba1aa8
4e41a7f
e3d44a5
0d12732
2fd903f
472fdf9
27ecdea
b5b7cc0
c03ca16
eace2de
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,9 @@ | |
"rules": { | ||
"no-console": "off", | ||
"strict": ["error", "global"], | ||
"curly": "warn" | ||
"curly": "warn", | ||
"getter-return": "error", | ||
"function-paren-newline": ["error", "multiline"], | ||
"implicit-arrow-linebreak": ["error", "beside"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seems like another style rule? |
||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
"precommit": "lint-staged" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^4.4.1", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This version is not very relevant to our users. You want to change the one in |
||
"eslint": "^4.15.0", | ||
"husky": "^0.13.2", | ||
"lerna": "^2.0.0", | ||
"lerna-changelog": "^0.6.0", | ||
|
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.
As far as I can see this is a style rule. We don't enable any style rules in this preset.