@scaleway/oxlint-config 0.1.8 → 0.1.11

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/README.md CHANGED
@@ -63,4 +63,4 @@ For React projects using TypeScript, extend both configurations:
63
63
 
64
64
  ## License
65
65
 
66
- MIT
66
+ MIT
@@ -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",
@@ -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,43 +1,43 @@
1
1
  {
2
2
  "name": "@scaleway/oxlint-config",
3
- "version": "0.1.8",
3
+ "version": "0.1.11",
4
4
  "description": "Scaleway's shareable configuration for oxlint",
5
5
  "keywords": [
6
+ "config",
7
+ "lint",
6
8
  "oxlint",
7
9
  "oxlint-config",
8
- "lint",
9
- "config",
10
10
  "scaleway"
11
11
  ],
12
- "author": "Scaleway",
12
+ "homepage": "https://github.com/scaleway/oxlint-config-scaleway#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/scaleway/oxlint-config-scaleway/issues"
15
+ },
13
16
  "license": "MIT",
17
+ "author": "Scaleway",
14
18
  "repository": {
15
19
  "type": "git",
16
20
  "url": "https://github.com/scaleway/scaleway-lib",
17
21
  "directory": "packages/oxlint-config"
18
22
  },
19
- "bugs": {
20
- "url": "https://github.com/scaleway/oxlint-config-scaleway/issues"
21
- },
22
- "homepage": "https://github.com/scaleway/oxlint-config-scaleway#readme",
23
- "main": "index.json",
24
- "publishConfig": {
25
- "access": "public"
26
- },
27
23
  "files": [
28
24
  "configs/**"
29
25
  ],
26
+ "main": "index.json",
30
27
  "exports": {
31
28
  ".": "./configs/index.json",
32
29
  "./react": "./configs/react.json",
33
30
  "./typescript": "./configs/typescript.json",
34
31
  "./vitest": "./configs/vitest.json"
35
32
  },
33
+ "publishConfig": {
34
+ "access": "public"
35
+ },
36
36
  "devDependencies": {
37
- "oxlint": "1.42.0"
37
+ "oxlint": "1.56.0"
38
38
  },
39
39
  "peerDependencies": {
40
- "oxlint": "1.42.0"
40
+ "oxlint": ">=1.55.0"
41
41
  },
42
42
  "scripts": {
43
43
  "test": "echo \"Error: no test specified\" && exit 1"