aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/javascript/default.json6
2 files changed, 7 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index bf996be..8860109 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -263,7 +263,7 @@
- [X] "space-before-blocks"
- [X] "space-before-function-paren"
- [ ] "space-in-parens"
-- [ ] "space-infix-ops"
+- [X] "space-infix-ops"
- [ ] "space-unary-ops"
- [ ] "spaced-comment"
- [X] "strict"
diff --git a/src/rules/javascript/default.json b/src/rules/javascript/default.json
index 7c973a3..6f6f67a 100644
--- a/src/rules/javascript/default.json
+++ b/src/rules/javascript/default.json
@@ -604,6 +604,12 @@
"named": "never"
}
],
+ "space-infix-ops": [
+ "error",
+ {
+ "int32Hint": false
+ }
+ ],
"strict": [
"error",
"safe"