/ biome.json
biome.json
 1  {
 2  	"$schema": "https://biomejs.dev/schemas/2.4.5/schema.json",
 3  	"vcs": {
 4  		"enabled": true,
 5  		"clientKind": "git",
 6  		"useIgnoreFile": true
 7  	},
 8  	"files": {
 9  		"ignoreUnknown": false,
10  		"includes": ["src/**", "*.ts", "*.js", "*.json"]
11  	},
12  	"formatter": {
13  		"enabled": true,
14  		"indentStyle": "tab",
15  		"indentWidth": 2,
16  		"lineWidth": 80
17  	},
18  	"linter": {
19  		"enabled": true,
20  		"rules": {
21  			"recommended": true,
22  			"style": {
23  				"useConst": "error",
24  				"useSingleVarDeclarator": "error",
25  				"useExportsLast": "error",
26  				"useFilenamingConvention": {
27  					"level": "error",
28  					"options": {
29  						"strictCase": true,
30  						"filenameCases": ["kebab-case"]
31  					}
32  				}
33  			},
34  			"correctness": {
35  				"noUnusedVariables": "warn"
36  			},
37  			"suspicious": {
38  				"noExplicitAny": "warn"
39  			}
40  		}
41  	},
42  	"javascript": {
43  		"formatter": {
44  			"quoteStyle": "double",
45  			"semicolons": "always",
46  			"trailingCommas": "all",
47  			"arrowParentheses": "always"
48  		}
49  	}
50  }