Skip to content

Commit

Permalink
update biome
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Feb 11, 2025
1 parent 4f66b82 commit a5d7e9b
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 188 deletions.
23 changes: 0 additions & 23 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@
"rules": {
"recommended": true,
"suspicious": {
"noExplicitAny": "warn",
"noArrayIndexKey": "warn",
"noPrototypeBuiltins": "warn",
"noDuplicateObjectKeys": "warn",
"noGlobalIsNan": "warn",
"noSelfCompare": "warn",
"noDoubleEquals": "warn",
"noImplicitAnyLet": "warn",
"noAssignInExpressions": "warn",
"noConstEnum": "warn",
"noEmptyInterface": "warn"
Expand All @@ -28,32 +26,11 @@
"noUnnecessaryContinue": "warn",
"noInnerDeclarations": "warn"
},
"style": {
"useConst": "warn",
"useTemplate": "warn",
"noUselessElse": "warn",
"useSelfClosingElements": "warn",
"noUnusedTemplateLiteral": "warn",
"noInferrableTypes": "warn",
"noNonNullAssertion": "warn",
"noParameterAssign": "warn",
"useDefaultParameterLast": "warn",
"useExponentiationOperator": "warn",
"noVar": "warn",
"useSingleVarDeclarator": "warn"
},
"a11y": {
"useAltText": "warn",
"useMediaCaption": "warn",
"noSvgWithoutTitle": "warn",
"useKeyWithClickEvents": "warn"
},
"complexity": {
"noForEach": "warn",
"useOptionalChain": "warn",
"useArrowFunction": "warn",
"useFlatMap": "warn",
"useLiteralKeys": "warn",
"noBannedTypes": "warn",
"noStaticOnlyClass": "warn",
"noThisInStatic": "warn",
Expand Down
15 changes: 0 additions & 15 deletions packages/plugin-anthropic/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@
"organizeImports": {
"enabled": false
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error"
},
"suspicious": {
"noExplicitAny": "error"
},
"style": {
"useConst": "error"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
Expand Down
15 changes: 0 additions & 15 deletions packages/plugin-bootstrap/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@
"organizeImports": {
"enabled": false
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error"
},
"suspicious": {
"noExplicitAny": "error"
},
"style": {
"useConst": "error"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
Expand Down
15 changes: 0 additions & 15 deletions packages/plugin-discord/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@
"organizeImports": {
"enabled": false
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error"
},
"suspicious": {
"noExplicitAny": "error"
},
"style": {
"useConst": "error"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
Expand Down
15 changes: 0 additions & 15 deletions packages/plugin-drizzle/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@
"organizeImports": {
"enabled": false
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error"
},
"suspicious": {
"noExplicitAny": "error"
},
"style": {
"useConst": "error"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
Expand Down
15 changes: 0 additions & 15 deletions packages/plugin-local-ai/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@
"organizeImports": {
"enabled": false
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error"
},
"suspicious": {
"noExplicitAny": "error"
},
"style": {
"useConst": "error"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
Expand Down
15 changes: 0 additions & 15 deletions packages/plugin-node/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@
"organizeImports": {
"enabled": false
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error"
},
"suspicious": {
"noExplicitAny": "error"
},
"style": {
"useConst": "error"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
Expand Down
15 changes: 0 additions & 15 deletions packages/plugin-openai/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@
"organizeImports": {
"enabled": false
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error"
},
"suspicious": {
"noExplicitAny": "error"
},
"style": {
"useConst": "error"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
Expand Down
15 changes: 0 additions & 15 deletions packages/plugin-sqlite/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@
"organizeImports": {
"enabled": false
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error"
},
"suspicious": {
"noExplicitAny": "error"
},
"style": {
"useConst": "error"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
Expand Down
15 changes: 0 additions & 15 deletions packages/plugin-tee/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@
"organizeImports": {
"enabled": false
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error"
},
"suspicious": {
"noExplicitAny": "error"
},
"style": {
"useConst": "error"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
Expand Down
15 changes: 0 additions & 15 deletions packages/plugin-telegram/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@
"organizeImports": {
"enabled": false
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error"
},
"suspicious": {
"noExplicitAny": "error"
},
"style": {
"useConst": "error"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
Expand Down
15 changes: 0 additions & 15 deletions packages/plugin-twitter/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@
"organizeImports": {
"enabled": false
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error"
},
"suspicious": {
"noExplicitAny": "error"
},
"style": {
"useConst": "error"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
Expand Down

0 comments on commit a5d7e9b

Please sign in to comment.