summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/json-schema-traverse/.eslintrc.yml
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-08-16 07:00:34 -0700
committerMyles Borins <mylesborins@google.com>2017-09-05 12:49:53 -0400
commitc5adb5f0083d47317fb6cf1dbd9b6873738e01f7 (patch)
tree7c51778b607f8f7c7b7cbb0750d88a19ab149a09 /tools/eslint/node_modules/json-schema-traverse/.eslintrc.yml
parent688e5ed6fd9aee2ecab576282dfd131db0a4711e (diff)
downloadnode-new-c5adb5f0083d47317fb6cf1dbd9b6873738e01f7.tar.gz
tools: update ESLint to 4.2.0
ESLint 4.2.0 contains a fix for a bug that is blocking us from moving to the non-legacy stricter indentation linting. Update to 4.2.0 to remove the blocking issue. Backport-PR-URL: https://github.com/nodejs/node/pull/14859 PR-URL: https://github.com/nodejs/node/pull/14155 Ref: https://github.com/eslint/eslint/issues/8882 Ref: https://github.com/eslint/eslint/pull/8885 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'tools/eslint/node_modules/json-schema-traverse/.eslintrc.yml')
-rw-r--r--tools/eslint/node_modules/json-schema-traverse/.eslintrc.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/eslint/node_modules/json-schema-traverse/.eslintrc.yml b/tools/eslint/node_modules/json-schema-traverse/.eslintrc.yml
new file mode 100644
index 0000000000..ab1762da9c
--- /dev/null
+++ b/tools/eslint/node_modules/json-schema-traverse/.eslintrc.yml
@@ -0,0 +1,27 @@
+extends: eslint:recommended
+env:
+ node: true
+ browser: true
+rules:
+ block-scoped-var: 2
+ complexity: [2, 13]
+ curly: [2, multi-or-nest, consistent]
+ dot-location: [2, property]
+ dot-notation: 2
+ indent: [2, 2, SwitchCase: 1]
+ linebreak-style: [2, unix]
+ new-cap: 2
+ no-console: [2, allow: [warn, error]]
+ no-else-return: 2
+ no-eq-null: 2
+ no-fallthrough: 2
+ no-invalid-this: 2
+ no-return-assign: 2
+ no-shadow: 1
+ no-trailing-spaces: 2
+ no-use-before-define: [2, nofunc]
+ quotes: [2, single, avoid-escape]
+ semi: [2, always]
+ strict: [2, global]
+ valid-jsdoc: [2, requireReturn: false]
+ no-control-regex: 0