weblate/biome.json
Mehdi El Oualy e91c840da7 fix and enhance biomejs configuration
This commit fixed biomejs warnings and errors in loader-bootstrap.js.

Note also other .js files contain minor issues, they should be addressed separately. However, now the big portion is fixed. now.

closes: #12489
2024-11-02 12:27:07 +01:00

57 lines
917 B
JSON

{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"files": {
"ignore": [
"weblate/trans/tests/data/*.ts",
"weblate/static/vendor/**"
]
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"all": true
}
},
"formatter": {
"indentStyle": "space"
},
"javascript": {
"globals": [
"$",
"Mousetrap",
"gettext",
"Cookies",
"submitForm",
"autosize",
"WLT",
"addAlert",
"increaseLoading",
"decreaseLoading",
"initHighlight",
"Prism",
"interpolate",
"jQuery",
"django",
"slugify",
"Tribute",
"autoComplete",
"moment"
]
},
"json": {
"formatter": {
"enabled": false
}
},
"css": {
"linter": {
"enabled": true
},
"formatter": {
"enabled": true
}
}
}