From 7adf510a945db5459c57a9586f3a01c72a8465ba Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 21:17:28 +0400 Subject: feat(eslint): space-infix-ops Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/javascript/default.json | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3