mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	chore(eslint): configure @stylistic/quotes rule
This commit is contained in:
		| @@ -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 | // Go to https://eslint.style/rules/default/${rule_without_prefix} to check the rule details | ||||||
| const stylisticRules = { | const stylisticRules = { | ||||||
|     "@stylistic/indent": [ "error", 4 ], |     "@stylistic/indent": [ "error", 4 ], | ||||||
|     "@stylistic/quotes": [ "error", "double" ], |     "@stylistic/quotes": [ "error", "double", { avoidEscape: true, allowTemplateLiterals: "always" } ], | ||||||
|     "@stylistic/semi": [ "error", "always" ], |     "@stylistic/semi": [ "error", "always" ], | ||||||
|     "@stylistic/quote-props": [ "error", "consistent-as-needed" ], |     "@stylistic/quote-props": [ "error", "consistent-as-needed" ], | ||||||
|     "@stylistic/max-len": [ "error", { code: 200 } ], |     "@stylistic/max-len": [ "error", { code: 200 } ], | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user