repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by bugabinga

biome.json

Raw
{
	"$schema": "https://biomejs.dev/schemas/2.5.9/schema.json",
	"files": {
		"includes": [
			"**/*.ts",
			"**/*.js",
			"**/*.mjs",
			"**/*.json",
			"**/*.jsonc",
			"**/*.css",
			"**/*.html",
			"!**/node_modules",
			"!.research",
			"!.rumdl_cache",
			"!.worktrees",
			"!skills/find-skills",
			"!**/test-results",
			"!**/playwright-report",
			"!**/*.snap"
		]
	},
	"formatter": {
		"enabled": true,
		"indentStyle": "tab"
	},
	"linter": {
		"enabled": true,
		"rules": {
			"preset": "recommended",
			"a11y": {
				"useAriaPropsForRole": "off",
				"useButtonType": "off"
			},
			"complexity": {
				"noBannedTypes": "off",
				"noImportantStyles": "off",
				"noUselessStringRaw": "off",
				"noUselessTernary": "error",
				"useLiteralKeys": "off"
			},
			"correctness": {
				"noUnusedFunctionParameters": "error",
				"noUnusedImports": "error",
				"noUnusedVariables": "error",
				"noVoidTypeReturn": "error",
				"useParseIntRadix": "error"
			},
			"performance": {
				"noAccumulatingSpread": "error"
			},
			"style": {
				"noDescendingSpecificity": "off",
				"noNonNullAssertion": "error",
				"useNodejsImportProtocol": "error",
				"useTemplate": "off"
			},
			"suspicious": {
				"noAssignInExpressions": "error",
				"noControlCharactersInRegex": "off",
				"noExplicitAny": "off",
				"noGlobalIsNan": "error",
				"noImplicitAnyLet": "error",
				"noTemplateCurlyInString": "off",
				"useIterableCallbackReturn": "off"
			}
		}
	}
}