aboutsummaryrefslogtreecommitdiffstats
path: root/biome.json
diff options
context:
space:
mode:
authorLibravatar MCMXC <16797721+mcmxcdev@users.noreply.github.com>2023-12-04 08:52:48 -0700
committerLibravatar GitHub <noreply@github.com>2023-12-04 08:52:48 -0700
commit3fc8706007d896dcbde69c0ce924a6a5eb66aba6 (patch)
tree008bbcfc14d819cd2f744eb16607b6aa9c4ad0bf /biome.json
parentchore: project maintenance (#1466) (diff)
downloadferdium-app-3fc8706007d896dcbde69c0ce924a6a5eb66aba6.tar.gz
ferdium-app-3fc8706007d896dcbde69c0ce924a6a5eb66aba6.tar.zst
ferdium-app-3fc8706007d896dcbde69c0ce924a6a5eb66aba6.zip
refactor: implement biome (#1467)
- add `biome.json` - add `biome:check` and `biome:check:fix` commands to `package.json` - add `biome:check:fix` command to run as part of `prepare-code` command - install `@biomejs/biome` dependency - add `@npmcli/move-file` v2.0.1 to `pnpm.allowedDeprecatedVersions` - fix or comment out various reported lint issues
Diffstat (limited to 'biome.json')
-rw-r--r--biome.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/biome.json b/biome.json
new file mode 100644
index 000000000..0e7563225
--- /dev/null
+++ b/biome.json
@@ -0,0 +1,36 @@
1{
2 "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3 "formatter": {
4 "enabled": false
5 },
6 "organizeImports": {
7 "enabled": false
8 },
9 "linter": {
10 "ignore": ["build", "coverage", "node_modules", "recipes", "*.json"],
11 "rules": {
12 "style": {
13 "noNonNullAssertion": "off",
14 "noInferrableTypes": "off",
15 "noParameterAssign": "off"
16 },
17 "complexity": {
18 "useLiteralKeys": "off",
19 "noUselessConstructor": "off",
20 "noForEach": "off",
21 "noBannedTypes": "off"
22 },
23 "suspicious": {
24 "noEmptyInterface": "off",
25 "noExplicitAny": "off",
26 "noArrayIndexKey": "off"
27 },
28 "performance": {
29 "noDelete": "off"
30 },
31 "a11y": {
32 "useKeyWithClickEvents": "off"
33 }
34 }
35 }
36}