@dethdkn/ox-config 1.0.10 → 1.0.12

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/.oxfmtrc.json CHANGED
@@ -14,7 +14,7 @@
14
14
  ["external"],
15
15
  ["internal"],
16
16
  ["parent", "sibling"],
17
- ["side-effect"],
17
+ ["side_effect"],
18
18
  ["index"]
19
19
  ],
20
20
  "sortSideEffects": true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dethdkn/ox-config",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "⚓ My Opinionated OX Config",
5
5
  "keywords": [
6
6
  "oxfmt",
@@ -36,17 +36,18 @@
36
36
  "fmt:fix": "oxfmt",
37
37
  "lint": "oxlint --type-aware",
38
38
  "lint:fix": "oxlint --type-aware --fix",
39
- "release": "bun fmt && bun lint && bumpp && sudo npm publish"
39
+ "prerelease": "bun run fmt && bun run lint",
40
+ "release": "bun run prerelease && bumpp && sudo npm publish"
40
41
  },
41
42
  "dependencies": {
42
- "oxfmt": "^0.27.0",
43
- "oxlint": "^1.42.0",
44
- "oxlint-tsgolint": "^0.11.4"
43
+ "oxfmt": "^0.33.0",
44
+ "oxlint": "^1.48.0",
45
+ "oxlint-tsgolint": "^0.13.0"
45
46
  },
46
47
  "devDependencies": {
47
- "bumpp": "^10.4.0",
48
+ "bumpp": "^10.4.1",
48
49
  "typescript": "^5.9.3",
49
- "vue": "^3.5.27"
50
+ "vue": "^3.5.28"
50
51
  },
51
52
  "packageManager": "bun@1.3.7"
52
53
  }
@@ -51,6 +51,8 @@
51
51
  "eslint/no-with": ["error"],
52
52
  "eslint/require-yield": ["error"],
53
53
  "eslint/use-isnan": ["error"],
54
- "eslint/valid-typeof": ["error"]
54
+ "eslint/valid-typeof": ["error"],
55
+ "eslint/no-misleading-character-class": ["error"],
56
+ "eslint/no-iterator": ["error"]
55
57
  }
56
58
  }
@@ -24,6 +24,7 @@
24
24
  "typescript/require-array-sort-compare": ["error"],
25
25
  "typescript/restrict-template-expressions": ["error"],
26
26
  "typescript/triple-slash-reference": ["error"],
27
- "typescript/unbound-method": ["error"]
27
+ "typescript/unbound-method": ["error"],
28
+ "typescript/prefer-namespace-keyword": ["error"]
28
29
  }
29
30
  }
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "rules": {
3
3
  "eslint/getter-return": ["error"],
4
- "eslint/no-misleading-character-class": ["error"],
5
4
  "eslint/no-undef": ["off"],
6
5
  "eslint/no-unreachable": ["error"]
7
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "rules": {
3
- "typescript/prefer-optional-chain": ["error"]
3
+ "typescript/prefer-optional-chain": ["error"],
4
+ "typescript/no-unnecessary-condition": ["error"]
4
5
  }
5
6
  }
@@ -15,7 +15,6 @@
15
15
  "eslint/no-empty": ["error"],
16
16
  "eslint/no-empty-function": ["error"],
17
17
  "eslint/no-eq-null": ["error"],
18
- "eslint/no-iterator": ["error"],
19
18
  "eslint/no-param-reassign": ["error"],
20
19
  "eslint/no-plusplus": [
21
20
  "error",
@@ -15,6 +15,8 @@
15
15
  "typescript/non-nullable-type-assertion-style": ["off"],
16
16
  "typescript/prefer-literal-enum-member": ["error"],
17
17
  "typescript/promise-function-async": ["off"],
18
- "typescript/use-unknown-in-catch-callback-variable": ["error"]
18
+ "typescript/use-unknown-in-catch-callback-variable": ["error"],
19
+ "typescript/no-invalid-void-type": ["error"],
20
+ "typescript/no-use-before-define": ["off"]
19
21
  }
20
22
  }
@@ -59,6 +59,7 @@
59
59
  ],
60
60
  "eslint/sort-keys": ["off"],
61
61
  "eslint/vars-on-top": ["error"],
62
- "eslint/yoda": ["error"]
62
+ "eslint/yoda": ["error"],
63
+ "eslint/prefer-const": ["error"]
63
64
  }
64
65
  }
@@ -10,6 +10,8 @@
10
10
  "import/no-named-default": ["error"],
11
11
  "import/no-named-export": ["off"],
12
12
  "import/no-namespace": ["error"],
13
- "import/prefer-default-export": ["off"]
13
+ "import/prefer-default-export": ["off"],
14
+ "import/no-nodejs-modules": ["off"],
15
+ "import/no-relative-parent-imports": ["off"]
14
16
  }
15
17
  }
@@ -11,8 +11,10 @@
11
11
  "typescript/no-inferrable-types": ["error"],
12
12
  "typescript/prefer-for-of": ["error"],
13
13
  "typescript/prefer-function-type": ["error"],
14
- "typescript/prefer-namespace-keyword": ["error"],
15
14
  "typescript/prefer-reduce-type-parameter": ["error"],
16
- "typescript/prefer-return-this-type": ["error"]
15
+ "typescript/prefer-return-this-type": ["error"],
16
+ "typescript/class-literal-property-style": ["error"],
17
+ "typescript/unified-signatures": ["error"],
18
+ "typescript/parameter-properties": ["error"]
17
19
  }
18
20
  }
@@ -40,6 +40,7 @@
40
40
  "unicorn/require-module-attributes": ["error"],
41
41
  "unicorn/switch-case-braces": ["error"],
42
42
  "unicorn/text-encoding-identifier-case": ["error"],
43
- "unicorn/throw-new-error": ["error"]
43
+ "unicorn/throw-new-error": ["error"],
44
+ "unicorn/relative-url-style": ["error"]
44
45
  }
45
46
  }
@@ -9,6 +9,7 @@
9
9
  "vitest/prefer-to-be-truthy": ["error"],
10
10
  "vitest/prefer-called-once": ["off"],
11
11
  "vitest/prefer-describe-function-title": ["error"],
12
- "vitest/no-unneeded-async-expect-function": ["error"]
12
+ "vitest/no-unneeded-async-expect-function": ["error"],
13
+ "vitest/prefer-expect-type-of": ["error"]
13
14
  }
14
15
  }
@@ -8,6 +8,8 @@
8
8
  "eslint/no-unneeded-ternary": ["error"],
9
9
  "eslint/no-useless-concat": ["error"],
10
10
  "eslint/no-useless-constructor": ["error"],
11
- "eslint/preserve-caught-error": ["error"]
11
+ "eslint/preserve-caught-error": ["error"],
12
+ "eslint/no-shadow": ["error"],
13
+ "eslint/no-unmodified-loop-condition": ["error"]
12
14
  }
13
15
  }