aboutsummaryrefslogtreecommitdiffstats
path: root/biome.json
diff options
context:
space:
mode:
Diffstat (limited to 'biome.json')
-rw-r--r--biome.json100
1 files changed, 100 insertions, 0 deletions
diff --git a/biome.json b/biome.json
new file mode 100644
index 0000000..7463a70
--- /dev/null
+++ b/biome.json
@@ -0,0 +1,100 @@
+{
+ "assist": {
+ "actions": {
+ "source": {
+ "organizeImports": "on",
+ "recommended": true,
+ "useSortedAttributes": "on",
+ "useSortedKeys": "on"
+ }
+ },
+ "enabled": true
+ },
+ "files": {
+ "ignoreUnknown": true,
+ "includes": ["index.html", "style.css", "main.js", "biome.json"]
+ },
+ "formatter": {
+ "indentStyle": "tab",
+ "lineWidth": 100
+ },
+ "html": {
+ "experimentalFullSupportEnabled": true,
+ "formatter": {
+ "enabled": true,
+ "indentScriptAndStyle": true,
+ "lineWidth": 100,
+ "whitespaceSensitivity": "ignore"
+ },
+ "linter": { "enabled": true }
+ },
+ "linter": {
+ "enabled": true,
+ "rules": {
+ "complexity": {
+ "noExcessiveCognitiveComplexity": {
+ "level": "warn",
+ "options": {
+ "maxAllowedComplexity": 50
+ }
+ }
+ },
+ "correctness": {
+ "noUnusedVariables": {
+ "fix": "none",
+ "level": "warn"
+ }
+ },
+ "nursery": {
+ "recommended": true
+ },
+ "recommended": true,
+ "style": {
+ "useNamingConvention": {
+ "level": "error",
+ "options": {
+ "conventions": [
+ {
+ "formats": ["PascalCase"],
+ "selector": {
+ "kind": "typeParameter"
+ }
+ },
+ {
+ "formats": ["camelCase"],
+ "selector": {
+ "kind": "let"
+ }
+ },
+ {
+ "formats": ["camelCase"],
+ "selector": {
+ "kind": "classMember"
+ }
+ },
+ {
+ "formats": ["camelCase"],
+ "selector": {
+ "kind": "classProperty"
+ }
+ },
+ {
+ "formats": ["camelCase"],
+ "selector": {
+ "kind": "function"
+ }
+ },
+ {
+ "formats": ["camelCase", "PascalCase"],
+ "selector": {
+ "kind": "objectLiteralMember"
+ }
+ }
+ ],
+ "strictCase": false
+ }
+ }
+ }
+ }
+ }
+}