[eslint] allow +, -, =, ! in comments without a space

This commit is contained in:
Jake Teton-Landis
2015-07-30 17:49:47 -07:00
parent 26194e282f
commit ff4dc46d05

View File

@@ -166,7 +166,10 @@
"space-before-function-paren": [2, "never"], // http://eslint.org/docs/rules/space-before-function-paren
"space-infix-ops": 2, // http://eslint.org/docs/rules/space-infix-ops
"space-return-throw-case": 2, // http://eslint.org/docs/rules/space-return-throw-case
"spaced-comment": 2, // http://eslint.org/docs/rules/spaced-comment
"spaced-comment": [2, "always", {// http://eslint.org/docs/rules/spaced-comment
"exceptions": ["-", "+"],
"markers": ["=", "!"] // space here to support sprockets directives
}],
/**
* JSX style