diff options
-rw-r--r-- | .eslintignore | 1 | ||||
-rw-r--r-- | .eslintrc.yaml | 7 | ||||
-rw-r--r-- | doc/.eslintrc.yaml | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/.eslintignore b/.eslintignore index 38d3367e9d..a681716c66 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,6 +4,7 @@ test/addons/??_*/ test/fixtures test/tmp*/ tools/eslint +tools/icu node_modules benchmark/tmp/ doc/**/*.js diff --git a/.eslintrc.yaml b/.eslintrc.yaml index 6643b4649d..b68d265746 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -141,6 +141,7 @@ rules: }] no-tabs: error no-trailing-spaces: error + object-curly-spacing: [error, always] one-var-declaration-per-line: error operator-linebreak: [error, after] quotes: [error, single, avoid-escape] @@ -148,9 +149,9 @@ rules: semi-spacing: error space-before-blocks: [error, always] space-before-function-paren: [error, { - "anonymous": "never", - "named": "never", - "asyncArrow": "always" + anonymous: never, + named: never, + asyncArrow: always }] space-in-parens: [error, never] space-infix-ops: error diff --git a/doc/.eslintrc.yaml b/doc/.eslintrc.yaml index 1c5177d906..b269eb14e6 100644 --- a/doc/.eslintrc.yaml +++ b/doc/.eslintrc.yaml @@ -1,8 +1,6 @@ ## Docs-specific linter rules rules: - object-curly-spacing: [error, always] - # ease some restrictions in doc examples no-restricted-properties: off no-undef: off |