loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Enable eslint `space-before-function-paren` (#30078)

Anonymous are set to ignore as I [couldn't
decide](https://github.com/go-gitea/gitea/pull/30077#discussion_r1538117497).
No current violations.

Rule docs: https://eslint.style/rules/js/space-before-function-paren

(cherry picked from commit bcb151c220c3fa6003810e436acdda9cc0501e58)

authored by

silverwind and committed by
Earl Warren
faffda01 e8c54069

+1 -1
+1 -1
.eslintrc.yaml
··· 167 167 "@stylistic/js/semi-spacing": [2, {before: false, after: true}] 168 168 "@stylistic/js/semi-style": [2, last] 169 169 "@stylistic/js/space-before-blocks": [2, always] 170 - "@stylistic/js/space-before-function-paren": [0] 170 + "@stylistic/js/space-before-function-paren": [2, {anonymous: ignore, named: never, asyncArrow: always}] 171 171 "@stylistic/js/space-in-parens": [2, never] 172 172 "@stylistic/js/space-infix-ops": [2] 173 173 "@stylistic/js/space-unary-ops": [2]