harper/biome.json
Elijah Potter 7c338eb6fe
feat(core): write linter to detect erroneous use of plurality (#1486)
Co-authored-by: hippietrail <hippietrail@users.noreply.github.com>
2025-07-04 08:37:57 -06:00

89 lines
1.6 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": true,
"include": ["packages/**/*", "**/*.json"],
"ignore": [
"test-results",
"node_modules",
"dist",
"target",
"build",
"temp",
"*.zip",
"**/*.rs",
"harper-wasm/pkg",
".vscode-test",
".svelte-kit",
".sveltepress",
"packages/obsidian-plugin/main.js",
"pnpm-lock.yaml",
"package-lock.json",
"playwright-report",
"yarn.lock"
]
},
"formatter": {
"enabled": true,
"lineWidth": 100,
"indentStyle": "tab",
"useEditorconfig": true
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noExplicitAny": "off",
"noArrayIndexKey": "off",
"noLabelVar": "warn",
"noDoubleEquals": "off"
},
"a11y": {
"noSvgWithoutTitle": "off",
"useGenericFontNames": "warn"
},
"correctness": {
"useExhaustiveDependencies": "off"
},
"style": {
"noParameterAssign": "off",
"noArguments": "off",
"noNonNullAssertion": "off",
"noUselessElse": "off",
"useNodejsImportProtocol": "off"
},
"complexity": {
"noForEach": "off",
"noStaticOnlyClass": "off",
"noThisInStatic": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "single"
}
},
"overrides": [
{
"include": ["*.svelte", "*.astro", "*.vue"],
"linter": {
"rules": {
"style": {
"useConst": "off",
"useImportType": "off"
}
}
}
}
]
}