Merge pull request #8388 from hyperlogic/feature/eslint-anon-func

eslintrc: accept spaces after function keyword in anonymous functions
This commit is contained in:
Brad Hefta-Gaub 2016-08-09 12:43:00 -07:00 committed by GitHub
commit a2c0d515e8

View file

@ -72,6 +72,6 @@ module.exports = {
"spaced-comment": ["error", "always", {
"line": { "markers": ["/"] }
}],
"space-before-function-paren": ["error", {"anonymous": "always", "named": "never"}]
"space-before-function-paren": ["error", {"anonymous": "ignore", "named": "never"}]
}
};