@scaleway/oxlint-config 0.1.8 → 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.
- package/configs/index.json +1 -1
- package/configs/vitest.json +2 -0
- package/package.json +3 -3
package/configs/index.json
CHANGED
|
@@ -187,7 +187,6 @@
|
|
|
187
187
|
"unicorn/no-for-loop": "off",
|
|
188
188
|
"unicorn/no-hex-escape": "error",
|
|
189
189
|
"unicorn/no-instanceof-array": "error",
|
|
190
|
-
|
|
191
190
|
"unicorn/no-instanceof-builtins": "error",
|
|
192
191
|
"unicorn/no-invalid-remove-event-listener": "off",
|
|
193
192
|
"unicorn/no-lonely-if": "error",
|
|
@@ -252,6 +251,7 @@
|
|
|
252
251
|
"unicorn/prefer-string-slice": "off",
|
|
253
252
|
"unicorn/prefer-string-starts-ends-with": "error",
|
|
254
253
|
"unicorn/prefer-string-trim-start-end": "error",
|
|
254
|
+
"unicorn/prefer-ternary": ["error", "only-single-line"],
|
|
255
255
|
"unicorn/prefer-top-level-await": "off",
|
|
256
256
|
"unicorn/prefer-type-error": "error",
|
|
257
257
|
"unicorn/require-array-join-separator": "error",
|
package/configs/vitest.json
CHANGED
|
@@ -26,8 +26,10 @@
|
|
|
26
26
|
"react/jsx-props-no-spreading": "off",
|
|
27
27
|
"react/only-export-components": "off",
|
|
28
28
|
"unicorn/no-array-callback-reference": "off",
|
|
29
|
+
"vitest/no-importing-vitest-globals": "off",
|
|
29
30
|
"vitest/prefer-called-once": "error",
|
|
30
31
|
"vitest/prefer-called-times": "off",
|
|
32
|
+
"vitest/prefer-import-in-mock": "off",
|
|
31
33
|
"vitest/prefer-lowercase-title": "error"
|
|
32
34
|
}
|
|
33
35
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/oxlint-config",
|
|
3
|
-
"version": "0.1.
|
|
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.
|
|
37
|
+
"oxlint": "1.53.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"oxlint": "1.
|
|
40
|
+
"oxlint": "1.53.0"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"test": "echo \"Error: no test specified\" && exit 1"
|