Skip to content

Commit 4328bac

Browse files
committed
update plugins on configs
1 parent 7f0fd95 commit 4328bac

File tree

4 files changed

+23
-49
lines changed

4 files changed

+23
-49
lines changed

packages/insomnia-inso/.oxlintrc.json

+6-15
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
2-
"$schema": "./node_modules/oxlint/configuration_schema.json",
2+
"$schema": "../../node_modules/oxlint/configuration_schema.json",
33
"plugins": [
4-
"react",
5-
"typescript"
4+
"typescript",
5+
"oxc",
6+
"import",
7+
"node"
68
],
79
"categories": {
810
"correctness": "off"
@@ -30,16 +32,6 @@
3032
}
3133
],
3234
"no-var": "error",
33-
"react/no-unescaped-entities": "off",
34-
"react/jsx-key": [
35-
"error",
36-
{
37-
"checkFragmentShorthand": true
38-
}
39-
],
40-
"react/no-array-index-key": "error",
41-
"react/self-closing-comp": "error",
42-
"react-hooks/rules-of-hooks": "error",
4335
"@typescript-eslint/array-type": [
4436
"error",
4537
{
@@ -65,7 +57,6 @@
6557
}
6658
],
6759
"@typescript-eslint/no-explicit-any": "off",
68-
"react/no-find-dom-node": "off",
6960
"no-empty-function": "off"
7061
}
71-
}
62+
}

packages/insomnia-smoke-test/.oxlintrc.json

+5-15
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
2-
"$schema": "./node_modules/oxlint/configuration_schema.json",
2+
"$schema": "../../node_modules/oxlint/configuration_schema.json",
33
"plugins": [
4-
"react",
5-
"typescript"
4+
"typescript",
5+
"oxc",
6+
"import"
67
],
78
"categories": {
89
"correctness": "off"
@@ -30,16 +31,6 @@
3031
}
3132
],
3233
"no-var": "error",
33-
"react/no-unescaped-entities": "off",
34-
"react/jsx-key": [
35-
"error",
36-
{
37-
"checkFragmentShorthand": true
38-
}
39-
],
40-
"react/no-array-index-key": "error",
41-
"react/self-closing-comp": "error",
42-
"react-hooks/rules-of-hooks": "error",
4334
"@typescript-eslint/array-type": [
4435
"error",
4536
{
@@ -65,7 +56,6 @@
6556
}
6657
],
6758
"@typescript-eslint/no-explicit-any": "off",
68-
"react/no-find-dom-node": "off",
6959
"no-empty-function": "off"
7060
}
71-
}
61+
}

packages/insomnia-testing/.oxlintrc.json

+5-15
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
2-
"$schema": "./node_modules/oxlint/configuration_schema.json",
2+
"$schema": "../../node_modules/oxlint/configuration_schema.json",
33
"plugins": [
4-
"react",
5-
"typescript"
4+
"typescript",
5+
"oxc",
6+
"import"
67
],
78
"categories": {
89
"correctness": "off"
@@ -30,16 +31,6 @@
3031
}
3132
],
3233
"no-var": "error",
33-
"react/no-unescaped-entities": "off",
34-
"react/jsx-key": [
35-
"error",
36-
{
37-
"checkFragmentShorthand": true
38-
}
39-
],
40-
"react/no-array-index-key": "error",
41-
"react/self-closing-comp": "error",
42-
"react-hooks/rules-of-hooks": "error",
4334
"@typescript-eslint/array-type": [
4435
"error",
4536
{
@@ -65,7 +56,6 @@
6556
}
6657
],
6758
"@typescript-eslint/no-explicit-any": "off",
68-
"react/no-find-dom-node": "off",
6959
"no-empty-function": "off"
7060
}
71-
}
61+
}

packages/insomnia/.oxlintrc.json

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
2-
"$schema": "./node_modules/oxlint/configuration_schema.json",
2+
"$schema": "../../node_modules/oxlint/configuration_schema.json",
33
"plugins": [
4-
"react",
5-
"typescript"
4+
"typescript",
5+
"oxc",
6+
"import",
7+
"node",
8+
"react"
69
],
710
"categories": {
811
"correctness": "off"
@@ -68,4 +71,4 @@
6871
"react/no-find-dom-node": "off",
6972
"no-empty-function": "off"
7073
}
71-
}
74+
}

0 commit comments

Comments
 (0)