summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-19 13:11:49 +0300
committerValentin Popov <info@valentineus.link>2020-02-19 13:11:49 +0300
commit621602e88b756b9c2e716ade5baea7f44cfc31b8 (patch)
tree2647d244292af8ab424ddc31b1e3cc53c69f0a0e /src
parentf8b812927adb46c3b3f79c815e58b54e39dfaa72 (diff)
downloadeslint-config-621602e88b756b9c2e716ade5baea7f44cfc31b8.tar.xz
eslint-config-621602e88b756b9c2e716ade5baea7f44cfc31b8.zip
feat(typescript): space-before-function-paren
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/typescript/default.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index 98c55db..c98552b 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -138,6 +138,14 @@
"omitLastInOneLineBlock": false
}
],
+ "@typescript-eslint/space-before-function-paren": [
+ "error",
+ {
+ "anonymous": "always",
+ "asyncArrow": "always",
+ "named": "never"
+ }
+ ],
"@typescript-eslint/strict-boolean-expressions": [
"error",
{
@@ -199,5 +207,8 @@
],
"semi": [
"off"
+ ],
+ "space-before-function-paren": [
+ "off"
]
}