budoux
Version:
A small chunk segmenter.
56 lines (55 loc) • 1.27 kB
JSON
{
"$schema": "https://biomejs.dev/schemas/2.4.10/schema.json",
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noUselessConstructor": "off",
"useArrowFunction": "off"
},
"style": {
"useConst": "error",
"noNonNullAssertion": "off",
"useNodejsImportProtocol": "off",
"useTemplate": "off",
"useNumberNamespace": "off"
},
"suspicious": {
"noDoubleEquals": "error",
"noFocusedTests": "error",
"noExplicitAny": "off",
"noArrayIndexKey": "off"
},
"correctness": {
"noUnusedVariables": "warn"
}
}
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 80
},
"javascript": {
"formatter": {
"arrowParentheses": "asNeeded",
"bracketSpacing": false,
"semicolons": "always",
"trailingCommas": "es5",
"quoteStyle": "single",
"quoteProperties": "asNeeded"
}
},
"json": {
"formatter": {
"bracketSpacing": false
}
},
"files": {
"includes": ["**", "!**/bundle", "!**/dist", "!**/module", "!src/data"]
}
}