feat: update biome.json with JavaScript parser configuration and linter rule adjustments
Added support for `unsafeParameterDecoratorsEnabled` in JavaScript parser configuration. Modified linter rules to include a `correctness` section disabling `useHookAtTopLevel`. Simplified domain-specific linter configurations.
This commit is contained in:
@@ -14,6 +14,11 @@
|
|||||||
"indentStyle": "tab",
|
"indentStyle": "tab",
|
||||||
"indentWidth": 1
|
"indentWidth": 1
|
||||||
},
|
},
|
||||||
|
"javascript": {
|
||||||
|
"parser": {
|
||||||
|
"unsafeParameterDecoratorsEnabled": true
|
||||||
|
}
|
||||||
|
},
|
||||||
"linter": {
|
"linter": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"rules": {
|
"rules": {
|
||||||
@@ -23,11 +28,10 @@
|
|||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"useImportType": "off"
|
"useImportType": "off"
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"domains": {
|
"correctness": {
|
||||||
"next": "recommended",
|
"useHookAtTopLevel": "off"
|
||||||
"react": "recommended"
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"assist": {
|
"assist": {
|
||||||
|
|||||||
Reference in New Issue
Block a user