mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-19 18:13:41 -05:00
web/eslint: add curly rule
This commit is contained in:
parent
5d25d839f8
commit
f766b786ee
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ export default tseslint.config(
|
||||||
"one-var-declaration-per-line": ["error", "initializations"],
|
"one-var-declaration-per-line": ["error", "initializations"],
|
||||||
"quotes": ["error", "double", {allowTemplateLiterals: true}],
|
"quotes": ["error", "double", {allowTemplateLiterals: true}],
|
||||||
"semi": ["error", "never"],
|
"semi": ["error", "never"],
|
||||||
|
"curly": ["error", "all"],
|
||||||
"comma-dangle": ["error", "always-multiline"],
|
"comma-dangle": ["error", "always-multiline"],
|
||||||
"max-len": ["error", 120],
|
"max-len": ["error", 120],
|
||||||
"space-before-function-paren": ["error", {
|
"space-before-function-paren": ["error", {
|
||||||
|
|
Loading…
Add table
Reference in a new issue