mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 16:52:10 +02:00
eslintrc: accept spaces after function keyword in anonymous functions
Anonymous functions `function () {}` and `function() {}` will both be accepted by eslint.
This commit is contained in:
parent
f0338ceb49
commit
d36e60bbaa
1 changed files with 1 additions and 1 deletions
|
@ -72,6 +72,6 @@ module.exports = {
|
||||||
"spaced-comment": ["error", "always", {
|
"spaced-comment": ["error", "always", {
|
||||||
"line": { "markers": ["/"] }
|
"line": { "markers": ["/"] }
|
||||||
}],
|
}],
|
||||||
"space-before-function-paren": ["error", {"anonymous": "always", "named": "never"}]
|
"space-before-function-paren": ["error", {"anonymous": "ignore", "named": "never"}]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue