mirror of
https://github.com/zadam/trilium.git
synced 2025-10-17 02:48:16 +08:00
chore(eslint): configure @stylistic/quotes rule
This commit is contained in:
parent
e93d7e6bd1
commit
8dfdb48e8d
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ import stylistic from "@stylistic/eslint-plugin";
|
|||
// Go to https://eslint.style/rules/default/${rule_without_prefix} to check the rule details
|
||||
const stylisticRules = {
|
||||
"@stylistic/indent": [ "error", 4 ],
|
||||
"@stylistic/quotes": [ "error", "double" ],
|
||||
"@stylistic/quotes": [ "error", "double", { avoidEscape: true, allowTemplateLiterals: "always" } ],
|
||||
"@stylistic/semi": [ "error", "always" ],
|
||||
"@stylistic/quote-props": [ "error", "consistent-as-needed" ],
|
||||
"@stylistic/max-len": [ "error", { code: 200 } ],
|
||||
|
|
Loading…
Add table
Reference in a new issue