mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-02-24 21:12:23 +00:00
updates the biome linter and formatter to the latest version this ensures that the project benefits from the newest features and bug fixes in biome.
63 lines
1.3 KiB
JSON
63 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.4.4/schema.json",
|
|
"files": {
|
|
"includes": [
|
|
"**/*",
|
|
"!node_modules",
|
|
"!ios",
|
|
"!android",
|
|
"!Streamyfin.app",
|
|
"!utils/jellyseerr",
|
|
"!.expo",
|
|
"!docs/jellyfin-openapi-stable.json"
|
|
]
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"style": {
|
|
"useImportType": "off",
|
|
"noNonNullAssertion": "off",
|
|
"noParameterAssign": "off",
|
|
"useLiteralEnumMembers": "off"
|
|
},
|
|
"complexity": {
|
|
"noForEach": "off"
|
|
},
|
|
"recommended": true,
|
|
"correctness": {
|
|
"useExhaustiveDependencies": "off"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "off",
|
|
"noArrayIndexKey": "off"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"formatWithErrors": true,
|
|
"attributePosition": "auto",
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineEnding": "lf",
|
|
"lineWidth": 80
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"arrowParentheses": "always",
|
|
"bracketSameLine": false,
|
|
"bracketSpacing": true,
|
|
"jsxQuoteStyle": "single",
|
|
"quoteProperties": "asNeeded",
|
|
"semicolons": "always",
|
|
"lineWidth": 80
|
|
}
|
|
},
|
|
"json": {
|
|
"formatter": {
|
|
"trailingCommas": "none"
|
|
}
|
|
}
|
|
}
|