diff --git a/.eslintrc.yaml b/.eslintrc.yaml index d8768459c2e77c..e24830d9923bbe 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -18,6 +18,7 @@ overrides: rules: # Possible Errors # http://eslint.org/docs/rules/#possible-errors + for-direction: error no-control-regex: error no-debugger: error no-dupe-args: error @@ -41,6 +42,7 @@ rules: # Best Practices # http://eslint.org/docs/rules/#best-practices + accessor-pairs: error dot-location: [error, property] eqeqeq: [error, smart] no-fallthrough: error @@ -122,6 +124,7 @@ rules: ignoreUrls: true, tabWidth: 2}] new-parens: error + no-lonely-if: error no-mixed-spaces-and-tabs: error no-multiple-empty-lines: [error, {max: 2, maxEOF: 0, maxBOF: 0}] no-restricted-syntax: [error, { @@ -172,6 +175,7 @@ rules: no-this-before-super: error prefer-const: [error, {ignoreReadBeforeAssign: true}] rest-spread-spacing: error + symbol-description: error template-curly-spacing: error # Custom rules in tools/eslint-rules diff --git a/doc/.eslintrc.yaml b/doc/.eslintrc.yaml index b269eb14e625f4..8038836fe310db 100644 --- a/doc/.eslintrc.yaml +++ b/doc/.eslintrc.yaml @@ -6,6 +6,7 @@ rules: no-undef: off no-unused-vars: off strict: off + symbol-description: off # add new ECMAScript features gradually no-var: error diff --git a/test/.eslintrc.yaml b/test/.eslintrc.yaml index 58e072c1951e27..6be0ca4e3f83bc 100644 --- a/test/.eslintrc.yaml +++ b/test/.eslintrc.yaml @@ -5,6 +5,7 @@ rules: # http://eslint.org/docs/rules/#ecmascript-6 no-var: error prefer-const: error + symbol-description: off # Custom rules in tools/eslint-rules prefer-assert-iferror: error