mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-02-01 22:17:39 +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",
|
||||
"@stylistic/jsx-quotes": "error",
|
||||
"@stylistic/key-spacing": "off",
|
||||
"@stylistic/keyword-spacing": ["error", {
|
||||
"@stylistic/keyword-spacing": ["warn", {
|
||||
before: true,
|
||||
after: false,
|
||||
overrides: {
|
||||
@@ -114,6 +114,7 @@ js.configs.recommended,
|
||||
return: { after: true },
|
||||
throw: { after: true },
|
||||
try: { after: true },
|
||||
const: { after: true }
|
||||
},
|
||||
}],
|
||||
"@stylistic/line-comment-position": "off",
|
||||
|
||||
Reference in New Issue
Block a user