chore(biome.json): update biome configuration to version 2.2.2 with enhanced settings for linter and formatter
This commit is contained in:
		
							
								
								
									
										52
									
								
								biome.json
									
									
									
									
									
								
							
							
						
						
									
										52
									
								
								biome.json
									
									
									
									
									
								
							@@ -1,15 +1,41 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
 | 
					  "$schema": "https://biomejs.dev/schemas/2.2.2/schema.json",
 | 
				
			||||||
	"files": {
 | 
					  "vcs": {
 | 
				
			||||||
		"ignore": [".vscode/", "node_modules/", "public/"]
 | 
					    "enabled": true,
 | 
				
			||||||
	},
 | 
					    "clientKind": "git",
 | 
				
			||||||
	"organizeImports": {
 | 
					    "useIgnoreFile": true
 | 
				
			||||||
		"enabled": true
 | 
					  },
 | 
				
			||||||
	},
 | 
					  "files": {
 | 
				
			||||||
	"linter": {
 | 
					    "includes": ["**", "!public", "!content", "!templates", "!static/img", "!**/*.min.js"]
 | 
				
			||||||
		"enabled": false,
 | 
					  },
 | 
				
			||||||
		"rules": {
 | 
					  "formatter": {
 | 
				
			||||||
			"recommended": true
 | 
					    "enabled": true
 | 
				
			||||||
		}
 | 
					  },
 | 
				
			||||||
	}
 | 
					  "linter": {
 | 
				
			||||||
 | 
					    "enabled": true,
 | 
				
			||||||
 | 
					    "rules": {
 | 
				
			||||||
 | 
					      "recommended": true
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "javascript": {
 | 
				
			||||||
 | 
					    "formatter": {
 | 
				
			||||||
 | 
					      "lineWidth": 100,
 | 
				
			||||||
 | 
					      "quoteStyle": "double",
 | 
				
			||||||
 | 
					      "jsxQuoteStyle": "double",
 | 
				
			||||||
 | 
					      "trailingCommas": "all",
 | 
				
			||||||
 | 
					      "semicolons": "always"
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "json": {
 | 
				
			||||||
 | 
					    "formatter": {
 | 
				
			||||||
 | 
					      "lineWidth": 100
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "css": {
 | 
				
			||||||
 | 
					    "formatter": {
 | 
				
			||||||
 | 
					      "enabled": true,
 | 
				
			||||||
 | 
					      "lineWidth": 100,
 | 
				
			||||||
 | 
					      "quoteStyle": "single"
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user