mirror of
https://github.com/tiennm99/miti99bot.git
synced 2026-04-28 16:21:32 +00:00
44c1f1a57c
Broaden `npm run format` / `npm run lint` to biome's full scan (`.`) instead of a fixed src/tests/scripts list, so root-level files and any new top-level directories stay formatted. Drop the stale ignore entry for the deleted champions-data.js.
41 lines
796 B
JSON
41 lines
796 B
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.9.0/schema.json",
|
|
"organizeImports": { "enabled": true },
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"style": {
|
|
"noNonNullAssertion": "off",
|
|
"useTemplate": "off"
|
|
},
|
|
"suspicious": {
|
|
"noConsoleLog": "off"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineWidth": 100
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "double",
|
|
"semicolons": "always",
|
|
"trailingCommas": "all"
|
|
}
|
|
},
|
|
"files": {
|
|
"ignore": [
|
|
"node_modules",
|
|
".wrangler",
|
|
"dist",
|
|
"coverage",
|
|
"src/modules/loldle/champions.json",
|
|
"src/modules/wordle/words-data.js"
|
|
]
|
|
}
|
|
}
|