mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(lint): use correct oxlint rule names and enable react plugin in config
This commit is contained in:
+3
-3
@@ -1,8 +1,9 @@
|
||||
{
|
||||
"plugins": ["react"],
|
||||
"rules": {
|
||||
"react/react-in-jsx-scope": "off",
|
||||
"react-hooks/rules-of-hooks": "error",
|
||||
"react-hooks/exhaustive-deps": "warn"
|
||||
"react/rules-of-hooks": "error",
|
||||
"react/exhaustive-deps": "warn"
|
||||
},
|
||||
"ignore": [
|
||||
"android/**",
|
||||
@@ -12,4 +13,3 @@
|
||||
"electron/**"
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user