mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-02-01 23:57:37 +00:00
allow space after const {}. Set keyword spacing to warning (#9589)
This commit is contained in:
@@ -104,7 +104,7 @@ js.configs.recommended,
|
|||||||
"init-declarations": "off",
|
"init-declarations": "off",
|
||||||
"@stylistic/jsx-quotes": "error",
|
"@stylistic/jsx-quotes": "error",
|
||||||
"@stylistic/key-spacing": "off",
|
"@stylistic/key-spacing": "off",
|
||||||
"@stylistic/keyword-spacing": ["error", {
|
"@stylistic/keyword-spacing": ["warn", {
|
||||||
before: true,
|
before: true,
|
||||||
after: false,
|
after: false,
|
||||||
overrides: {
|
overrides: {
|
||||||
@@ -114,6 +114,7 @@ js.configs.recommended,
|
|||||||
return: { after: true },
|
return: { after: true },
|
||||||
throw: { after: true },
|
throw: { after: true },
|
||||||
try: { after: true },
|
try: { after: true },
|
||||||
|
const: { after: true }
|
||||||
},
|
},
|
||||||
}],
|
}],
|
||||||
"@stylistic/line-comment-position": "off",
|
"@stylistic/line-comment-position": "off",
|
||||||
|
|||||||
Reference in New Issue
Block a user