simplified biome configuration + test globals
This commit is contained in:
parent
b05a501236
commit
1654234e32
1 changed files with 2 additions and 166 deletions
168
biome.json
168
biome.json
|
|
@ -91,172 +91,8 @@
|
|||
},
|
||||
"overrides": [
|
||||
{
|
||||
"includes": ["*.vue", "**/*.vue"],
|
||||
"javascript": { "globals": [] },
|
||||
"linter": { "rules": {} }
|
||||
},
|
||||
{
|
||||
"includes": [
|
||||
"**/*.js",
|
||||
"**/*.mjs",
|
||||
"**/*.vue",
|
||||
"!build/*.js",
|
||||
"!config/*.js"
|
||||
],
|
||||
"javascript": {
|
||||
"globals": [
|
||||
"onanimationend",
|
||||
"onabortpayment",
|
||||
"exports",
|
||||
"ongamepadconnected",
|
||||
"onlostpointercapture",
|
||||
"onanimationiteration",
|
||||
"onkeyup",
|
||||
"onmousedown",
|
||||
"onanimationstart",
|
||||
"onslotchange",
|
||||
"onprogress",
|
||||
"ontransitionstart",
|
||||
"onpause",
|
||||
"onended",
|
||||
"onpointerover",
|
||||
"onscrollend",
|
||||
"onformdata",
|
||||
"ontransitionrun",
|
||||
"onanimationcancel",
|
||||
"ondrag",
|
||||
"oninstall",
|
||||
"onbeforeinstallprompt",
|
||||
"onbeforexrselect",
|
||||
"onmessage",
|
||||
"ontransitioncancel",
|
||||
"onpointerdown",
|
||||
"should",
|
||||
"onchange",
|
||||
"onabort",
|
||||
"onpointerout",
|
||||
"oncuechange",
|
||||
"ongotpointercapture",
|
||||
"onscrollsnapchanging",
|
||||
"onsearch",
|
||||
"onsubmit",
|
||||
"onstalled",
|
||||
"onsuspend",
|
||||
"onreset",
|
||||
"onerror",
|
||||
"onmouseenter",
|
||||
"ongamepaddisconnected",
|
||||
"onresize",
|
||||
"ondragover",
|
||||
"onbeforetoggle",
|
||||
"onmouseover",
|
||||
"onpagehide",
|
||||
"onmousemove",
|
||||
"onratechange",
|
||||
"oncommand",
|
||||
"onmessageerror",
|
||||
"onwheel",
|
||||
"ondevicemotion",
|
||||
"onauxclick",
|
||||
"ontransitionend",
|
||||
"onpaste",
|
||||
"onpageswap",
|
||||
"ononline",
|
||||
"ondeviceorientationabsolute",
|
||||
"onkeydown",
|
||||
"onclose",
|
||||
"onselect",
|
||||
"onpaymentrequest",
|
||||
"onpageshow",
|
||||
"onactivate",
|
||||
"onpointercancel",
|
||||
"onbeforematch",
|
||||
"onpointerrawupdate",
|
||||
"ondragleave",
|
||||
"onscrollsnapchange",
|
||||
"onseeked",
|
||||
"onwaiting",
|
||||
"assert",
|
||||
"onbeforeunload",
|
||||
"onplaying",
|
||||
"onvolumechange",
|
||||
"onnotificationclose",
|
||||
"onbackgroundfetchfail",
|
||||
"ondragend",
|
||||
"onstorage",
|
||||
"onloadeddata",
|
||||
"onfocus",
|
||||
"onoffline",
|
||||
"onplay",
|
||||
"onbackgroundfetchclick",
|
||||
"onafterprint",
|
||||
"onclick",
|
||||
"oncut",
|
||||
"onmouseout",
|
||||
"ondblclick",
|
||||
"oncanplay",
|
||||
"onloadstart",
|
||||
"onpushsubscriptionchange",
|
||||
"onappinstalled",
|
||||
"onpointermove",
|
||||
"ontoggle",
|
||||
"oncontextmenu",
|
||||
"onblur",
|
||||
"onperiodicsync",
|
||||
"oncookiechange",
|
||||
"oncancel",
|
||||
"onbeforeprint",
|
||||
"oncontextrestored",
|
||||
"onnotificationclick",
|
||||
"onloadedmetadata",
|
||||
"onpointerup",
|
||||
"onlanguagechange",
|
||||
"oncopy",
|
||||
"onselectstart",
|
||||
"onscroll",
|
||||
"onload",
|
||||
"ondragstart",
|
||||
"onbeforeinput",
|
||||
"oncanplaythrough",
|
||||
"oninput",
|
||||
"oninvalid",
|
||||
"ontimeupdate",
|
||||
"ondurationchange",
|
||||
"onselectionchange",
|
||||
"onmouseup",
|
||||
"onkeypress",
|
||||
"onpointerleave",
|
||||
"oncontextlost",
|
||||
"ondrop",
|
||||
"onsecuritypolicyviolation",
|
||||
"oncontentvisibilityautostatechange",
|
||||
"onsync",
|
||||
"onpush",
|
||||
"expect",
|
||||
"ondeviceorientation",
|
||||
"onbackgroundfetchabort",
|
||||
"onseeking",
|
||||
"onbackgroundfetchsuccess",
|
||||
"onfetch",
|
||||
"oncanmakepayment",
|
||||
"onrejectionhandled",
|
||||
"onunload",
|
||||
"onmouseleave",
|
||||
"onhashchange",
|
||||
"onpointerenter",
|
||||
"onmousewheel",
|
||||
"onunhandledrejection",
|
||||
"ondragenter",
|
||||
"onpopstate",
|
||||
"onpagereveal",
|
||||
"onemptied"
|
||||
]
|
||||
},
|
||||
"linter": {
|
||||
"rules": {
|
||||
"suspicious": { "noDebugger": "off" }
|
||||
}
|
||||
}
|
||||
"includes": ["**/*.spec.js"],
|
||||
"javascript": { "globals": ["describe", "it", "expect"] }
|
||||
}
|
||||
],
|
||||
"assist": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue