Skip to content

Commit

Permalink
feat(deps): bump eslint from 6.3.0 to 6.4.0 (#466)
Browse files Browse the repository at this point in the history
Bumps [eslint](https://github.com/eslint/eslint) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](eslint/eslint@v6.3.0...v6.4.0)

Enable new rules:
- [default-param-last](https://eslint.org/docs/rules/default-param-last)
- [prefer-regex-literals](https://eslint.org/docs/rules/prefer-regex-literals)
- [no-import-assign](https://eslint.org/docs/rules/no-import-assign)

BREAKING CHANGE: requires ESLint minimum version 6.4.0
  • Loading branch information
dependabot-preview[bot] authored and ybiquitous committed Sep 17, 2019
1 parent b858bc1 commit 38b1d68
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 123 deletions.
151 changes: 30 additions & 121 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"eslint-restricted-globals": "^0.2.0"
},
"devDependencies": {
"eslint": "6.3.0",
"eslint": "6.4.0",
"eslint-find-rules": "3.4.0",
"execa": "2.0.4",
"prettier": "1.18.2",
Expand All @@ -45,7 +45,7 @@
"ybiq": "9.1.0"
},
"peerDependencies": {
"eslint": ">=6.3.0 <7",
"eslint": ">=6.4.0 <7",
"prettier": ">=1.18.2 <2",
"typescript": ">=3.6.3 <4"
},
Expand Down
2 changes: 2 additions & 0 deletions rules/core/best-practices.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
"consistent-return": "error",
curly: "error",
"default-case": "error",
"default-param-last": "error",
"dot-location": ["error", "property"],
"dot-notation": "error",
eqeqeq: ["error", "always", { null: "ignore" }],
Expand Down Expand Up @@ -112,6 +113,7 @@ module.exports = {
"no-with": "error",
"prefer-named-capture-group": "error",
"prefer-promise-reject-errors": "error",
"prefer-regex-literals": "error",
radix: "error",
"require-await": "error",
"require-unicode-regexp": "error",
Expand Down
1 change: 1 addition & 0 deletions rules/core/possible-errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = {
"no-extra-parens": "error",
"no-extra-semi": "error",
"no-func-assign": "error",
"no-import-assign": "error",
"no-inner-declarations": "error",
"no-invalid-regexp": "error",
"no-irregular-whitespace": "error",
Expand Down

0 comments on commit 38b1d68

Please sign in to comment.