Upgrade eslint-config-standard to version 16.0.0 #26
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.
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ eslint-config-standard (^15.0.0 → ^16.0.0) · Repo · Changelog
Commits
See the full diff on Github. The new version differs by 22 commits:
16.0.0
fix tests
standard
Require let or const instead of var (no-var)
Relax rule: Do not enforce camelcase style for global variables (camelcase)
sort
remove eslint-plugin-standard
Enforces getter/setter pairs in classes (accessor-pairs)
Disallow assignment to `exports`
Disallow assigning to imported bindings (no-import-assign)
Disallow use of the `RegExp` constructor in favor of regular expression literals (prefer-regex-literals)
Enforce default parameters to be last (default-param-last)
Disallow `case NaN`, `switch(NaN)`, `indexOf(NaN)`, and `lastIndexOf(NaN)` (use-isnan)
Disallow spaces inside of computed keys of class methods, getters and setters (computed-property-spacing)
make default option explicit
Enforces return statements in callbacks of array's methods (array-callback-return)
Disallow empty block statements (no-empty)
Peer deps should use ^ operator
Revert "remove dev dependencies; rely on automatic install"
Relax rule: Don't warn about camelcase for React UNSAFE_* methods
eslint >= 7.12.1
remove dev dependencies; rely on automatic install
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands