diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2018-02-17 03:49:26 +0100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2018-02-22 14:56:14 +0000 |
commit | cbc6f39b718513282cfd841dcc90a9df3f547de9 (patch) | |
tree | 9d6f93cbf0c20418a335d3f27c4faa997770a7c1 /.eslintrc.js | |
parent | 684c1bb42d916fed12945ba1678934e8983082dd (diff) | |
download | node-new-cbc6f39b718513282cfd841dcc90a9df3f547de9.tar.gz |
tools: enable eslint no-whitespace-before-property rule
PR-URL: https://github.com/nodejs/node/pull/18831
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matheus Marchini <matheus@sthima.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index e72726197a..a4439d7ab2 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -212,6 +212,7 @@ module.exports = { 'no-tabs': 'error', 'no-trailing-spaces': 'error', 'no-unsafe-finally': 'error', + 'no-whitespace-before-property': 'error', 'object-curly-spacing': ['error', 'always'], 'one-var-declaration-per-line': 'error', 'operator-linebreak': ['error', 'after'], |