aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 15:15:11 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 15:15:11 +0300
commit90014ad8f6e70454d40614ab4ce53788ff558b7e (patch)
tree5b882cdbfae4934d9cf0552fc22cff91b76d402b /src
parent86f818d0b61805ca042724110317386e8923ef9a (diff)
downloadeslint-config-90014ad8f6e70454d40614ab4ce53788ff558b7e.tar.xz
eslint-config-90014ad8f6e70454d40614ab4ce53788ff558b7e.zip
feat(eslint): Rule "space-before-function-paren"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/eslint.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index 4ae19b3..adb6db2 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -190,6 +190,14 @@
"ignoreCase": false
}
],
+ "space-before-function-paren": [
+ "error",
+ {
+ "anonymous": "always",
+ "asyncArrow": "always",
+ "named": "never"
+ }
+ ],
"valid-jsdoc": [
"off"
],