mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08:00 
			
		
		
		
	chore(eslint): configure @stylistic/quotes rule
This commit is contained in:
		
							parent
							
								
									e93d7e6bd1
								
							
						
					
					
						commit
						8dfdb48e8d
					
				| @ -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 } ], | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Panagiotis Papadopoulos
						Panagiotis Papadopoulos