refactor(lint): externalization of prettier for simpler IDE support
This commit is contained in:
		
							parent
							
								
									129f74c371
								
							
						
					
					
						commit
						73354135b5
					
				| @ -16,15 +16,6 @@ module.exports = { | ||||
|   }, | ||||
|   rules: { | ||||
|     'vue/multi-word-component-names': ['off'], | ||||
|     'prettier/prettier': [ | ||||
|       'error', | ||||
|       { | ||||
|         singleQuote: true, | ||||
|         semi: true, | ||||
|         tabWidth: 2, | ||||
|         trailingComma: 'all', | ||||
|         printWidth: 120, | ||||
|       }, | ||||
|     ], | ||||
|     'prettier/prettier': ['error'], | ||||
|   }, | ||||
| }; | ||||
|  | ||||
							
								
								
									
										7
									
								
								.prettierrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								.prettierrc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,7 @@ | ||||
| { | ||||
|   "singleQuote": true, | ||||
|   "semi": true, | ||||
|   "tabWidth": 2, | ||||
|   "trailingComma": "all", | ||||
|   "printWidth": 120 | ||||
| } | ||||
							
								
								
									
										1
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @ -54,6 +54,7 @@ | ||||
|         "@vue/tsconfig": "^0.1.3", | ||||
|         "c8": "^7.11.0", | ||||
|         "eslint": "^8.5.0", | ||||
|         "eslint-config-prettier": "^8.5.0", | ||||
|         "eslint-plugin-vue": "^8.2.0", | ||||
|         "jsdom": "^19.0.0", | ||||
|         "less": "^4.1.2", | ||||
|  | ||||
| @ -76,6 +76,7 @@ | ||||
|     "@vue/tsconfig": "^0.1.3", | ||||
|     "c8": "^7.11.0", | ||||
|     "eslint": "^8.5.0", | ||||
|     "eslint-config-prettier": "^8.5.0", | ||||
|     "eslint-plugin-vue": "^8.2.0", | ||||
|     "jsdom": "^19.0.0", | ||||
|     "less": "^4.1.2", | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user