|
| 1 | +{ |
| 2 | + "$schema": "https://biomejs.dev/schemas/2.3.11/schema.json", |
| 3 | + "vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true }, |
| 4 | + "files": { "ignoreUnknown": false }, |
| 5 | + "formatter": { "enabled": false }, |
| 6 | + "css": { |
| 7 | + "parser": { |
| 8 | + "tailwindDirectives": true |
| 9 | + } |
| 10 | + }, |
| 11 | + "linter": { "enabled": true, "rules": { "recommended": false } }, |
| 12 | + "javascript": { "formatter": { "quoteStyle": "double" } }, |
| 13 | + "overrides": [ |
| 14 | + { |
| 15 | + "includes": ["*.astro", "**/*.astro"], |
| 16 | + "javascript": { "globals": ["exports"] } |
| 17 | + }, |
| 18 | + { |
| 19 | + "includes": ["**/*.astro/*.ts", "*.astro/*.ts"], |
| 20 | + "javascript": { |
| 21 | + "globals": [ |
| 22 | + "onanimationend", |
| 23 | + "ongamepadconnected", |
| 24 | + "onlostpointercapture", |
| 25 | + "onanimationiteration", |
| 26 | + "onkeyup", |
| 27 | + "onmousedown", |
| 28 | + "onanimationstart", |
| 29 | + "onslotchange", |
| 30 | + "onprogress", |
| 31 | + "ontransitionstart", |
| 32 | + "onpause", |
| 33 | + "onended", |
| 34 | + "onpointerover", |
| 35 | + "onscrollend", |
| 36 | + "onformdata", |
| 37 | + "ontransitionrun", |
| 38 | + "onanimationcancel", |
| 39 | + "ondrag", |
| 40 | + "onchange", |
| 41 | + "onbeforeinstallprompt", |
| 42 | + "onbeforexrselect", |
| 43 | + "onmessage", |
| 44 | + "ontransitioncancel", |
| 45 | + "onpointerdown", |
| 46 | + "onabort", |
| 47 | + "onpointerout", |
| 48 | + "oncuechange", |
| 49 | + "ongotpointercapture", |
| 50 | + "onscrollsnapchanging", |
| 51 | + "onsearch", |
| 52 | + "onsubmit", |
| 53 | + "onstalled", |
| 54 | + "onsuspend", |
| 55 | + "onreset", |
| 56 | + "onerror", |
| 57 | + "onmouseenter", |
| 58 | + "ongamepaddisconnected", |
| 59 | + "onresize", |
| 60 | + "ondragover", |
| 61 | + "onbeforetoggle", |
| 62 | + "onmouseover", |
| 63 | + "onpagehide", |
| 64 | + "onmousemove", |
| 65 | + "onratechange", |
| 66 | + "oncommand", |
| 67 | + "onmessageerror", |
| 68 | + "onwheel", |
| 69 | + "ondevicemotion", |
| 70 | + "onauxclick", |
| 71 | + "ontransitionend", |
| 72 | + "onpaste", |
| 73 | + "onpageswap", |
| 74 | + "ononline", |
| 75 | + "ondeviceorientationabsolute", |
| 76 | + "onkeydown", |
| 77 | + "onclose", |
| 78 | + "onselect", |
| 79 | + "onpageshow", |
| 80 | + "onpointercancel", |
| 81 | + "onbeforematch", |
| 82 | + "onpointerrawupdate", |
| 83 | + "ondragleave", |
| 84 | + "onscrollsnapchange", |
| 85 | + "onseeked", |
| 86 | + "onwaiting", |
| 87 | + "onbeforeunload", |
| 88 | + "onplaying", |
| 89 | + "onvolumechange", |
| 90 | + "ondragend", |
| 91 | + "onstorage", |
| 92 | + "onloadeddata", |
| 93 | + "onfocus", |
| 94 | + "onoffline", |
| 95 | + "onplay", |
| 96 | + "onafterprint", |
| 97 | + "onclick", |
| 98 | + "oncut", |
| 99 | + "onmouseout", |
| 100 | + "ondblclick", |
| 101 | + "oncanplay", |
| 102 | + "onloadstart", |
| 103 | + "onappinstalled", |
| 104 | + "onpointermove", |
| 105 | + "ontoggle", |
| 106 | + "oncontextmenu", |
| 107 | + "onblur", |
| 108 | + "oncancel", |
| 109 | + "onbeforeprint", |
| 110 | + "oncontextrestored", |
| 111 | + "onloadedmetadata", |
| 112 | + "onpointerup", |
| 113 | + "onlanguagechange", |
| 114 | + "oncopy", |
| 115 | + "onselectstart", |
| 116 | + "onscroll", |
| 117 | + "onload", |
| 118 | + "ondragstart", |
| 119 | + "onbeforeinput", |
| 120 | + "oncanplaythrough", |
| 121 | + "oninput", |
| 122 | + "oninvalid", |
| 123 | + "ontimeupdate", |
| 124 | + "ondurationchange", |
| 125 | + "onselectionchange", |
| 126 | + "onmouseup", |
| 127 | + "location", |
| 128 | + "onkeypress", |
| 129 | + "onpointerleave", |
| 130 | + "oncontextlost", |
| 131 | + "ondrop", |
| 132 | + "onsecuritypolicyviolation", |
| 133 | + "oncontentvisibilityautostatechange", |
| 134 | + "ondeviceorientation", |
| 135 | + "onseeking", |
| 136 | + "onrejectionhandled", |
| 137 | + "onunload", |
| 138 | + "onmouseleave", |
| 139 | + "onhashchange", |
| 140 | + "onpointerenter", |
| 141 | + "onmousewheel", |
| 142 | + "onunhandledrejection", |
| 143 | + "ondragenter", |
| 144 | + "onpopstate", |
| 145 | + "onpagereveal", |
| 146 | + "onemptied" |
| 147 | + ] |
| 148 | + }, |
| 149 | + "linter": { "rules": {} } |
| 150 | + }, |
| 151 | + { |
| 152 | + "includes": [ |
| 153 | + "**", |
| 154 | + "!**/node_modules/**", |
| 155 | + "!**/dist/**", |
| 156 | + "!**/.astro/**", |
| 157 | + "!**/public/**", |
| 158 | + "!**/__tests__/**", |
| 159 | + "!**/*.test.*", |
| 160 | + "!**/*.spec.*", |
| 161 | + "!**/vite.config.*", |
| 162 | + "!**/astro.config.*", |
| 163 | + "!**/*.config.*" |
| 164 | + ], |
| 165 | + "linter": { |
| 166 | + "rules": { |
| 167 | + "correctness": { "noUnusedVariables": "warn" }, |
| 168 | + "style": { "useBlockStatements": "off", "useConst": "error" }, |
| 169 | + "suspicious": { |
| 170 | + "noDebugger": "warn", |
| 171 | + "noDoubleEquals": "error", |
| 172 | + "noVar": "error" |
| 173 | + } |
| 174 | + } |
| 175 | + } |
| 176 | + } |
| 177 | + ], |
| 178 | + "assist": { |
| 179 | + "enabled": true, |
| 180 | + "actions": { "source": { "organizeImports": "on" } } |
| 181 | + } |
| 182 | +} |
0 commit comments