Skip to content

Commit

Permalink
ci: remove redundant config
Browse files Browse the repository at this point in the history
Signed-off-by: rare-magma <[email protected]>
  • Loading branch information
rare-magma committed Aug 31, 2024
1 parent 3739ed9 commit 1253b90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 87 deletions.
88 changes: 2 additions & 86 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,72 +40,7 @@
},
"style": {
"noDefaultExport": "error",
"noImplicitBoolean": "error",
"noRestrictedGlobals": {
"level": "error",
"options": {
"deniedGlobals": [
"addEventListener",
"blur",
"close",
"closed",
"confirm",
"defaultStatus",
"defaultstatus",
"event",
"external",
"find",
"focus",
"frameElement",
"frames",
"history",
"innerHeight",
"innerWidth",
"length",
"location",
"locationbar",
"menubar",
"moveBy",
"moveTo",
"name",
"onblur",
"onerror",
"onfocus",
"onload",
"onresize",
"onunload",
"open",
"opener",
"opera",
"outerHeight",
"outerWidth",
"pageXOffset",
"pageYOffset",
"parent",
"print",
"removeEventListener",
"resizeBy",
"resizeTo",
"screen",
"screenLeft",
"screenTop",
"screenX",
"screenY",
"scroll",
"scrollbars",
"scrollBy",
"scrollTo",
"scrollX",
"scrollY",
"self",
"status",
"statusbar",
"stop",
"toolbar",
"top"
]
}
}
"noImplicitBoolean": "error"
},
"suspicious": {
"noEmptyBlockStatements": "error",
Expand All @@ -126,24 +61,5 @@
"attributePosition": "auto"
}
},
"overrides": [
{
"include": ["**/*.ts?(x)"],
"linter": {
"rules": {
"complexity": { "noUselessConstructor": "warn" },
"correctness": {
"noInvalidUseBeforeDeclaration": "warn",
"noUndeclaredVariables": "off",
"noUnusedVariables": "warn",
"useArrayLiterals": "off"
},
"suspicious": {
"noDuplicateClassMembers": "off",
"noRedeclare": "warn"
}
}
}
}
]
"overrides": []
}
1 change: 0 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { App } from "./App";

const updateSW = registerSW({
onNeedRefresh() {
// biome-ignore lint/style/noRestrictedGlobals: <explanation>
if (confirm("A new version of guitos is available. Update?")) {
updateSW(true);
}
Expand Down

0 comments on commit 1253b90

Please sign in to comment.