1dbe7e4553
- Format all 14 locale JSON files (2-space → 4-space indent per biome config) - Fix publicShare.js: arrow functions, template literals, optional chaining, remove redundant 'use strict', remove unused formatSize function - Fix music.js: template literal, unused _trackId parameter - Fix contextMenus.js, fileOperations.js, fileSharing.js: unused parameters - Fix auth.js, music.css, share-public.css: formatting (biome format --write) - Remove unused biome-ignore suppression comments in cards.css and reset.css - Remove empty .share-state block in share-public.css - Disable noDescendingSpecificity and noImportantStyles rules in biome.json (intentional CSS patterns for utility classes and theme overrides)
49 lines
922 B
JSON
49 lines
922 B
JSON
{
|
|
"files": {
|
|
"includes": ["static/**/*.js", "static/**/*.css", "static/**/*.json" ]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 4,
|
|
"lineWidth": 160,
|
|
"lineEnding": "lf"
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"correctness": {
|
|
"noUnusedVariables": "warn"
|
|
},
|
|
"style": {
|
|
"noDescendingSpecificity": "off"
|
|
},
|
|
"complexity": {
|
|
"noImportantStyles": "off"
|
|
}
|
|
}
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"indentStyle": "space",
|
|
"indentWidth": 4,
|
|
"quoteStyle": "single",
|
|
"semicolons": "always",
|
|
"trailingCommas": "none",
|
|
"bracketSameLine": false,
|
|
"bracketSpacing": true,
|
|
"operatorLinebreak": "after"
|
|
|
|
}
|
|
},
|
|
"css": {
|
|
"linter": {
|
|
"enabled": true
|
|
},
|
|
"formatter": {
|
|
"enabled": true
|
|
}
|
|
}
|
|
}
|