mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 14:20:36 +08:00
chore: add padded-blocks @stylistic rule
This commit is contained in:
parent
8354fec70e
commit
ad18883952
1 changed files with 2 additions and 1 deletions
|
|
@ -13,7 +13,8 @@ const stylisticRules = {
|
||||||
"@stylistic/comma-dangle": [ "error", "never" ],
|
"@stylistic/comma-dangle": [ "error", "never" ],
|
||||||
"@stylistic/linebreak-style": [ "error", "unix" ],
|
"@stylistic/linebreak-style": [ "error", "unix" ],
|
||||||
"@stylistic/array-bracket-spacing": [ "error", "always" ],
|
"@stylistic/array-bracket-spacing": [ "error", "always" ],
|
||||||
"@stylistic/object-curly-spacing": [ "error", "always" ]
|
"@stylistic/object-curly-spacing": [ "error", "always" ],
|
||||||
|
"@stylistic/padded-blocks": [ "error", { classes: "always" } ]
|
||||||
};
|
};
|
||||||
|
|
||||||
export default tseslint.config(
|
export default tseslint.config(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue