summaryrefslogtreecommitdiff
path: root/.eslintrc.yml
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2019-08-04 11:25:29 -0700
committerPhilip Chimento <philip.chimento@gmail.com>2019-08-13 22:18:32 -0700
commita7e935582e6fd0687f705403b7d070707b7e61e5 (patch)
tree643c557d23001317dbab95880981c772e96bbb09 /.eslintrc.yml
parent86f5d9dbc5510ecf97621c39721db31089618432 (diff)
downloadgjs-a7e935582e6fd0687f705403b7d070707b7e61e5.tar.gz
CI: Add space-in-parens and space-unary-ops to eslint rules
We already followed these rules except in some of the tweener code.
Diffstat (limited to '.eslintrc.yml')
-rw-r--r--.eslintrc.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml
index 8a248248..e81e7014 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -135,9 +135,11 @@ rules:
# for `function ()` and `async () =>`, preserve space around keywords
anonymous: always
asyncArrow: always
+ space-in-parens: error
space-infix-ops:
- error
- int32Hint: false
+ space-unary-ops: error
globals:
ARGV: readonly
Debugger: readonly