Skip to content

Commit

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
  • Loading branch information
dependabot-preview[bot] authored and ybiquitous committed Nov 24, 2019
1 parent d4b7f37 commit 562d99b
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 36 deletions.
94 changes: 62 additions & 32 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.6.0",
"eslint": "6.7.0",
"eslint-find-rules": "3.4.0",
"execa": "3.3.0",
"prettier": "1.19.1",
Expand All @@ -45,7 +45,7 @@
"ybiq": "9.1.0"
},
"peerDependencies": {
"eslint": ">=6.6.0 <7",
"eslint": ">=6.7.0 <7",
"prettier": ">=1.19.1 <2",
"typescript": ">=3.7.2 <4"
},
Expand Down
3 changes: 3 additions & 0 deletions rules/core/best-practices.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@ module.exports = {
"dot-location": ["error", "property"],
"dot-notation": "error",
eqeqeq: ["error", "always", { null: "ignore" }],
"grouped-accessor-pairs": "error",
"guard-for-in": "error",
"max-classes-per-file": ["error", 5],
"no-alert": "off",
"no-caller": "error",
"no-case-declarations": "error",
"no-constructor-return": "error",
"no-div-regex": "off",
"no-dupe-else-if": "error",
"no-else-return": ["error", { allowElseIf: false }],
"no-empty-function": ["error"],
"no-empty-pattern": "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 @@ -28,6 +28,7 @@ module.exports = {
"no-obj-calls": "error",
"no-prototype-builtins": "error",
"no-regex-spaces": "error",
"no-setter-return": "error",
"no-sparse-arrays": "error",
"no-template-curly-in-string": "error",
"no-unexpected-multiline": "error",
Expand Down
1 change: 1 addition & 0 deletions rules/core/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ module.exports = {
"one-var": "off",
"operator-assignment": "off",
"padding-line-between-statements": "off",
"prefer-exponentiation-operator": "warn",
"prefer-object-spread": "error",
"require-jsdoc": "off",
"sort-keys": "off",
Expand Down
9 changes: 7 additions & 2 deletions test/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,13 @@ const sandbox = callback => {
process.chdir(workDir);
return callback(workDir);
} catch (err) {
const { stderr } = err;
if (typeof stderr === "string") {
const { stdout, stderr } = err;
if (typeof stdout === "string" && stdout !== "") {
process.stdout.write(`==================================================${EOL}`);
process.stdout.write(`${stdout}${EOL}`);
process.stdout.write(`==================================================${EOL}`);
}
if (typeof stderr === "string" && stderr !== "") {
process.stderr.write(`==================================================${EOL}`);
process.stderr.write(`${stderr}${EOL}`);
process.stderr.write(`==================================================${EOL}`);
Expand Down

0 comments on commit 562d99b

Please sign in to comment.