Skip to content

Commit

Permalink
chore(biome): update linter rules configurations
Browse files Browse the repository at this point in the history
Reorganized linter rules for clarity and added new categories like a11y and suspicious. Disabled specific rules such as noUndeclaredDependencies and noReactSpecificProps.

Signed-off-by: Giovanni Ravalico <[email protected]>
  • Loading branch information
suddenlyGiovanni committed Oct 8, 2024
1 parent 7658ef6 commit d6b39c4
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,32 @@
"linter": {
"enabled": true,
"rules": {
"a11y": {
"useSemanticElements": "off"
},
"all": true,
"complexity": {
"noStaticOnlyClass": "off"
},
"correctness": {
"noUndeclaredDependencies": "off"
},
"nursery": {
"all": true,
"noUndeclaredDependencies": "off",
"noReactSpecificProps": "off",
"useImportRestrictions": "off",
"useSemanticElements": "off"
"useExplicitFunctionReturnType": "off"
},
"performance": {
"noBarrelFile": "warn",
"noReExportAll": "warn"
},
"style": {
"noNamespaceImport": "off",
"useNamingConvention": "warn"
},
"complexity": {
"noStaticOnlyClass": "off"
},
"performance": {
"noBarrelFile": "warn",
"noReExportAll": "warn"
"suspicious": {
"noReactSpecificProps": "off",
"noConsole": "warn"
}
}
},
Expand Down Expand Up @@ -73,7 +81,6 @@
"enabled": false
}
},

"overrides": [
{
"include": ["packages/open-graph-protocol/**/*.ts"],
Expand Down

0 comments on commit d6b39c4

Please sign in to comment.