diff options
author | Brendan Ashworth <brendan.ashworth@me.com> | 2015-08-18 16:33:11 -0700 |
---|---|---|
committer | Brendan Ashworth <brendan.ashworth@me.com> | 2015-08-22 18:01:53 -0700 |
commit | 96a2b2d54dfeaa96005527c6d6f9f99cf2cfa312 (patch) | |
tree | 1107492f44497af749fab0828db42fba19b482a9 /.eslintrc | |
parent | 8af5962608311676a89a0d287cde8e97c9d37fcc (diff) | |
download | android-node-v8-96a2b2d54dfeaa96005527c6d6f9f99cf2cfa312.tar.gz android-node-v8-96a2b2d54dfeaa96005527c6d6f9f99cf2cfa312.tar.bz2 android-node-v8-96a2b2d54dfeaa96005527c6d6f9f99cf2cfa312.zip |
tools: enable space-after-keywords in eslint
Requires that you do:
if (x) { ... }
Rather than:
if(x) { ... }
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -66,6 +66,8 @@ rules: eol-last: 2 ## no trailing spaces no-trailing-spaces: 2 + # require space after keywords, eg 'for (..)' + space-after-keywords: 2 # Strict Mode # list: https://github.com/eslint/eslint/tree/master/docs/rules#strict-mode |