@scaleway/oxlint-config 0.1.6 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -152,6 +152,8 @@
152
152
  "import/no-named-as-default": "error",
153
153
  "import/no-named-as-default-member": "error",
154
154
  "import/no-named-export": "off",
155
+ "import/no-nodejs-modules": "error",
156
+ "import/no-relative-parent-imports": "off",
155
157
  "import/no-self-import": "error",
156
158
  "import/no-unassigned-import": "error",
157
159
  "import/no-unused-modules": "off",
@@ -185,7 +187,6 @@
185
187
  "unicorn/no-for-loop": "off",
186
188
  "unicorn/no-hex-escape": "error",
187
189
  "unicorn/no-instanceof-array": "error",
188
-
189
190
  "unicorn/no-instanceof-builtins": "error",
190
191
  "unicorn/no-invalid-remove-event-listener": "off",
191
192
  "unicorn/no-lonely-if": "error",
@@ -250,6 +251,7 @@
250
251
  "unicorn/prefer-string-slice": "off",
251
252
  "unicorn/prefer-string-starts-ends-with": "error",
252
253
  "unicorn/prefer-string-trim-start-end": "error",
254
+ "unicorn/prefer-ternary": ["error", "only-single-line"],
253
255
  "unicorn/prefer-top-level-await": "off",
254
256
  "unicorn/prefer-type-error": "error",
255
257
  "unicorn/require-array-join-separator": "error",
@@ -12,6 +12,7 @@
12
12
  "react-perf/jsx-no-new-function-as-prop": "off",
13
13
  "react-perf/jsx-no-new-object-as-prop": "off",
14
14
  "react/button-has-type": "error",
15
+ "react/display-name": "off",
15
16
  "react/exhaustive-deps": "error",
16
17
  "react/iframe-missing-sandbox": "error",
17
18
  "react/jsx-filename-extension": [
@@ -32,6 +33,7 @@
32
33
  "react/no-direct-mutation-state": "error",
33
34
  "react/no-find-dom-node": "error",
34
35
  "react/no-is-mounted": "error",
36
+ "react/no-multi-comp": "error",
35
37
  "react/no-render-return-value": "error",
36
38
  "react/no-set-state": "off",
37
39
  "react/no-string-refs": "error",
@@ -18,6 +18,7 @@
18
18
  "import/no-anonymous-default-export": "off",
19
19
  "import/no-named-export": "off",
20
20
  "import/no-namespace": "off",
21
+ "import/no-nodejs-modules": "off",
21
22
  "import/no-unassigned-import": "off",
22
23
  "jsx_a11y/label-has-associated-control": "off",
23
24
  "node/no-process-env": "off",
@@ -25,8 +26,10 @@
25
26
  "react/jsx-props-no-spreading": "off",
26
27
  "react/only-export-components": "off",
27
28
  "unicorn/no-array-callback-reference": "off",
29
+ "vitest/no-importing-vitest-globals": "off",
28
30
  "vitest/prefer-called-once": "error",
29
31
  "vitest/prefer-called-times": "off",
32
+ "vitest/prefer-import-in-mock": "off",
30
33
  "vitest/prefer-lowercase-title": "error"
31
34
  }
32
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/oxlint-config",
3
- "version": "0.1.6",
3
+ "version": "0.1.10",
4
4
  "description": "Scaleway's shareable configuration for oxlint",
5
5
  "keywords": [
6
6
  "oxlint",
@@ -34,10 +34,10 @@
34
34
  "./vitest": "./configs/vitest.json"
35
35
  },
36
36
  "devDependencies": {
37
- "oxlint": "1.41.0"
37
+ "oxlint": "1.53.0"
38
38
  },
39
39
  "peerDependencies": {
40
- "oxlint": "1.41.0"
40
+ "oxlint": "1.53.0"
41
41
  },
42
42
  "scripts": {
43
43
  "test": "echo \"Error: no test specified\" && exit 1"