@gooddata/oxlint-config 11.20.0-alpha.1 → 11.20.0-alpha.3

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/dist/base.json CHANGED
@@ -21,7 +21,19 @@
21
21
  }
22
22
  ],
23
23
  "rules": {
24
+ "oxc/bad-array-method-on-arguments": "error",
25
+ "oxc/bad-char-at-comparison": "error",
26
+ "oxc/bad-comparison-sequence": "error",
27
+ "oxc/bad-min-max-func": "error",
28
+ "oxc/bad-object-literal-comparison": "error",
29
+ "oxc/bad-replace-all-arg": "error",
30
+ "oxc/const-comparisons": "error",
31
+ "oxc/double-comparisons": "error",
32
+ "oxc/erasing-op": "error",
33
+ "oxc/missing-throw": "error",
34
+ "oxc/number-arg-out-of-range": "error",
24
35
  "oxc/only-used-in-recursion": "off",
36
+ "oxc/uninvoked-array-callback": "error",
25
37
  "constructor-super": "error",
26
38
  "for-direction": "error",
27
39
  "getter-return": "error",
@@ -25,7 +25,19 @@
25
25
  }
26
26
  ],
27
27
  "rules": {
28
+ "oxc/bad-array-method-on-arguments": "error",
29
+ "oxc/bad-char-at-comparison": "error",
30
+ "oxc/bad-comparison-sequence": "error",
31
+ "oxc/bad-min-max-func": "error",
32
+ "oxc/bad-object-literal-comparison": "error",
33
+ "oxc/bad-replace-all-arg": "error",
34
+ "oxc/const-comparisons": "error",
35
+ "oxc/double-comparisons": "error",
36
+ "oxc/erasing-op": "error",
37
+ "oxc/missing-throw": "error",
38
+ "oxc/number-arg-out-of-range": "error",
28
39
  "oxc/only-used-in-recursion": "off",
40
+ "oxc/uninvoked-array-callback": "error",
29
41
  "constructor-super": "error",
30
42
  "for-direction": "error",
31
43
  "getter-return": "error",
package/dist/browser.json CHANGED
@@ -21,7 +21,19 @@
21
21
  }
22
22
  ],
23
23
  "rules": {
24
+ "oxc/bad-array-method-on-arguments": "error",
25
+ "oxc/bad-char-at-comparison": "error",
26
+ "oxc/bad-comparison-sequence": "error",
27
+ "oxc/bad-min-max-func": "error",
28
+ "oxc/bad-object-literal-comparison": "error",
29
+ "oxc/bad-replace-all-arg": "error",
30
+ "oxc/const-comparisons": "error",
31
+ "oxc/double-comparisons": "error",
32
+ "oxc/erasing-op": "error",
33
+ "oxc/missing-throw": "error",
34
+ "oxc/number-arg-out-of-range": "error",
24
35
  "oxc/only-used-in-recursion": "off",
36
+ "oxc/uninvoked-array-callback": "error",
25
37
  "constructor-super": "error",
26
38
  "for-direction": "error",
27
39
  "getter-return": "error",
@@ -37,7 +37,19 @@
37
37
  }
38
38
  ],
39
39
  "rules": {
40
+ "oxc/bad-array-method-on-arguments": "error",
41
+ "oxc/bad-char-at-comparison": "error",
42
+ "oxc/bad-comparison-sequence": "error",
43
+ "oxc/bad-min-max-func": "error",
44
+ "oxc/bad-object-literal-comparison": "error",
45
+ "oxc/bad-replace-all-arg": "error",
46
+ "oxc/const-comparisons": "error",
47
+ "oxc/double-comparisons": "error",
48
+ "oxc/erasing-op": "error",
49
+ "oxc/missing-throw": "error",
50
+ "oxc/number-arg-out-of-range": "error",
40
51
  "oxc/only-used-in-recursion": "off",
52
+ "oxc/uninvoked-array-callback": "error",
41
53
  "constructor-super": "error",
42
54
  "for-direction": "error",
43
55
  "getter-return": "error",
@@ -29,7 +29,19 @@
29
29
  }
30
30
  ],
31
31
  "rules": {
32
+ "oxc/bad-array-method-on-arguments": "error",
33
+ "oxc/bad-char-at-comparison": "error",
34
+ "oxc/bad-comparison-sequence": "error",
35
+ "oxc/bad-min-max-func": "error",
36
+ "oxc/bad-object-literal-comparison": "error",
37
+ "oxc/bad-replace-all-arg": "error",
38
+ "oxc/const-comparisons": "error",
39
+ "oxc/double-comparisons": "error",
40
+ "oxc/erasing-op": "error",
41
+ "oxc/missing-throw": "error",
42
+ "oxc/number-arg-out-of-range": "error",
32
43
  "oxc/only-used-in-recursion": "off",
44
+ "oxc/uninvoked-array-callback": "error",
33
45
  "constructor-super": "error",
34
46
  "for-direction": "error",
35
47
  "getter-return": "error",
@@ -29,7 +29,19 @@
29
29
  }
30
30
  ],
31
31
  "rules": {
32
+ "oxc/bad-array-method-on-arguments": "error",
33
+ "oxc/bad-char-at-comparison": "error",
34
+ "oxc/bad-comparison-sequence": "error",
35
+ "oxc/bad-min-max-func": "error",
36
+ "oxc/bad-object-literal-comparison": "error",
37
+ "oxc/bad-replace-all-arg": "error",
38
+ "oxc/const-comparisons": "error",
39
+ "oxc/double-comparisons": "error",
40
+ "oxc/erasing-op": "error",
41
+ "oxc/missing-throw": "error",
42
+ "oxc/number-arg-out-of-range": "error",
32
43
  "oxc/only-used-in-recursion": "off",
44
+ "oxc/uninvoked-array-callback": "error",
33
45
  "constructor-super": "error",
34
46
  "for-direction": "error",
35
47
  "getter-return": "error",
@@ -25,7 +25,19 @@
25
25
  }
26
26
  ],
27
27
  "rules": {
28
+ "oxc/bad-array-method-on-arguments": "error",
29
+ "oxc/bad-char-at-comparison": "error",
30
+ "oxc/bad-comparison-sequence": "error",
31
+ "oxc/bad-min-max-func": "error",
32
+ "oxc/bad-object-literal-comparison": "error",
33
+ "oxc/bad-replace-all-arg": "error",
34
+ "oxc/const-comparisons": "error",
35
+ "oxc/double-comparisons": "error",
36
+ "oxc/erasing-op": "error",
37
+ "oxc/missing-throw": "error",
38
+ "oxc/number-arg-out-of-range": "error",
28
39
  "oxc/only-used-in-recursion": "off",
40
+ "oxc/uninvoked-array-callback": "error",
29
41
  "constructor-super": "error",
30
42
  "for-direction": "error",
31
43
  "getter-return": "error",
@@ -29,7 +29,19 @@
29
29
  }
30
30
  ],
31
31
  "rules": {
32
+ "oxc/bad-array-method-on-arguments": "error",
33
+ "oxc/bad-char-at-comparison": "error",
34
+ "oxc/bad-comparison-sequence": "error",
35
+ "oxc/bad-min-max-func": "error",
36
+ "oxc/bad-object-literal-comparison": "error",
37
+ "oxc/bad-replace-all-arg": "error",
38
+ "oxc/const-comparisons": "error",
39
+ "oxc/double-comparisons": "error",
40
+ "oxc/erasing-op": "error",
41
+ "oxc/missing-throw": "error",
42
+ "oxc/number-arg-out-of-range": "error",
32
43
  "oxc/only-used-in-recursion": "off",
44
+ "oxc/uninvoked-array-callback": "error",
33
45
  "constructor-super": "error",
34
46
  "for-direction": "error",
35
47
  "getter-return": "error",
package/dist/esm.json CHANGED
@@ -25,7 +25,19 @@
25
25
  }
26
26
  ],
27
27
  "rules": {
28
+ "oxc/bad-array-method-on-arguments": "error",
29
+ "oxc/bad-char-at-comparison": "error",
30
+ "oxc/bad-comparison-sequence": "error",
31
+ "oxc/bad-min-max-func": "error",
32
+ "oxc/bad-object-literal-comparison": "error",
33
+ "oxc/bad-replace-all-arg": "error",
34
+ "oxc/const-comparisons": "error",
35
+ "oxc/double-comparisons": "error",
36
+ "oxc/erasing-op": "error",
37
+ "oxc/missing-throw": "error",
38
+ "oxc/number-arg-out-of-range": "error",
28
39
  "oxc/only-used-in-recursion": "off",
40
+ "oxc/uninvoked-array-callback": "error",
29
41
  "constructor-super": "error",
30
42
  "for-direction": "error",
31
43
  "getter-return": "error",
@@ -33,7 +33,19 @@
33
33
  }
34
34
  ],
35
35
  "rules": {
36
+ "oxc/bad-array-method-on-arguments": "error",
37
+ "oxc/bad-char-at-comparison": "error",
38
+ "oxc/bad-comparison-sequence": "error",
39
+ "oxc/bad-min-max-func": "error",
40
+ "oxc/bad-object-literal-comparison": "error",
41
+ "oxc/bad-replace-all-arg": "error",
42
+ "oxc/const-comparisons": "error",
43
+ "oxc/double-comparisons": "error",
44
+ "oxc/erasing-op": "error",
45
+ "oxc/missing-throw": "error",
46
+ "oxc/number-arg-out-of-range": "error",
36
47
  "oxc/only-used-in-recursion": "off",
48
+ "oxc/uninvoked-array-callback": "error",
37
49
  "constructor-super": "error",
38
50
  "for-direction": "error",
39
51
  "getter-return": "error",
@@ -25,7 +25,19 @@
25
25
  }
26
26
  ],
27
27
  "rules": {
28
+ "oxc/bad-array-method-on-arguments": "error",
29
+ "oxc/bad-char-at-comparison": "error",
30
+ "oxc/bad-comparison-sequence": "error",
31
+ "oxc/bad-min-max-func": "error",
32
+ "oxc/bad-object-literal-comparison": "error",
33
+ "oxc/bad-replace-all-arg": "error",
34
+ "oxc/const-comparisons": "error",
35
+ "oxc/double-comparisons": "error",
36
+ "oxc/erasing-op": "error",
37
+ "oxc/missing-throw": "error",
38
+ "oxc/number-arg-out-of-range": "error",
28
39
  "oxc/only-used-in-recursion": "off",
40
+ "oxc/uninvoked-array-callback": "error",
29
41
  "constructor-super": "error",
30
42
  "for-direction": "error",
31
43
  "getter-return": "error",
package/dist/react.json CHANGED
@@ -21,7 +21,19 @@
21
21
  }
22
22
  ],
23
23
  "rules": {
24
+ "oxc/bad-array-method-on-arguments": "error",
25
+ "oxc/bad-char-at-comparison": "error",
26
+ "oxc/bad-comparison-sequence": "error",
27
+ "oxc/bad-min-max-func": "error",
28
+ "oxc/bad-object-literal-comparison": "error",
29
+ "oxc/bad-replace-all-arg": "error",
30
+ "oxc/const-comparisons": "error",
31
+ "oxc/double-comparisons": "error",
32
+ "oxc/erasing-op": "error",
33
+ "oxc/missing-throw": "error",
34
+ "oxc/number-arg-out-of-range": "error",
24
35
  "oxc/only-used-in-recursion": "off",
36
+ "oxc/uninvoked-array-callback": "error",
25
37
  "constructor-super": "error",
26
38
  "for-direction": "error",
27
39
  "getter-return": "error",
package/dist/vitest.json CHANGED
@@ -25,7 +25,19 @@
25
25
  }
26
26
  ],
27
27
  "rules": {
28
+ "oxc/bad-array-method-on-arguments": "error",
29
+ "oxc/bad-char-at-comparison": "error",
30
+ "oxc/bad-comparison-sequence": "error",
31
+ "oxc/bad-min-max-func": "error",
32
+ "oxc/bad-object-literal-comparison": "error",
33
+ "oxc/bad-replace-all-arg": "error",
34
+ "oxc/const-comparisons": "error",
35
+ "oxc/double-comparisons": "error",
36
+ "oxc/erasing-op": "error",
37
+ "oxc/missing-throw": "error",
38
+ "oxc/number-arg-out-of-range": "error",
28
39
  "oxc/only-used-in-recursion": "off",
40
+ "oxc/uninvoked-array-callback": "error",
29
41
  "constructor-super": "error",
30
42
  "for-direction": "error",
31
43
  "getter-return": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/oxlint-config",
3
- "version": "11.20.0-alpha.1",
3
+ "version": "11.20.0-alpha.3",
4
4
  "license": "MIT",
5
5
  "author": "GoodData",
6
6
  "repository": {
@@ -56,8 +56,8 @@
56
56
  "oxlint-tsgolint": "0.11.4",
57
57
  "typescript": "5.9.3",
58
58
  "vite-node": "^5.2.0",
59
- "@gooddata/eslint-config": "11.20.0-alpha.1",
60
- "@gooddata/lint-config": "11.20.0-alpha.1"
59
+ "@gooddata/eslint-config": "11.20.0-alpha.3",
60
+ "@gooddata/lint-config": "11.20.0-alpha.3"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "eslint-plugin-headers": "1.3.3",
@@ -71,8 +71,8 @@
71
71
  "_phase:validate": "npm run validate",
72
72
  "build": "rm -rf dist && mkdir dist && vite-node scripts/build.ts && tsgo",
73
73
  "clean": "../../common/scripts/clean-command-state.sh && rm -rf ci dist esm coverage *.log tsconfig.tsbuildinfo",
74
- "lint": "oxlint . --type-aware && eslint .",
75
- "lint-fix": "oxlint . --type-aware --fix && eslint . --fix",
74
+ "lint": "oxlint . --type-aware --quiet && eslint .",
75
+ "lint-fix": "oxlint . --type-aware --quiet --fix && eslint . --fix",
76
76
  "format-check": "oxfmt --check .",
77
77
  "format-write": "oxfmt .",
78
78
  "update-package": "vite-node scripts/updatePackage.ts",