Skip to content
Snippets Groups Projects
Commit 24677d69 authored by Alexander Rose's avatar Alexander Rose
Browse files

lint: add space-before-function-paren rule

parent 908fff80
No related branches found
No related tags found
No related merge requests found
Showing
with 82 additions and 76 deletions
......@@ -48,7 +48,8 @@
"prefer-const": ["error", {
"destructuring": "all",
"ignoreReadBeforeAssign": false
}]
}],
"space-before-function-paren": "off"
},
"overrides": [
{
......@@ -99,7 +100,12 @@
"error",
"1tbs", { "allowSingleLine": true }
],
"@typescript-eslint/comma-spacing": "error"
"@typescript-eslint/comma-spacing": "error",
"@typescript-eslint/space-before-function-paren": ["error", {
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}]
}
}
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment