Merge pull request #449 from justjake/jake/spaced-comment-lenient

[eslint] allow +, -, =, ! in comments without a space
This commit is contained in:
Jake Teton-Landis
2015-07-30 17:57:00 -07:00

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