@dethdkn/ox-config 1.0.7 → 1.0.8

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
@@ -28,15 +28,18 @@
28
28
  "preserveWhitespace": false,
29
29
  "stylesheet": "./app/assets/main.css"
30
30
  },
31
+ "htmlWhitespaceSensitivity": "css",
31
32
  "insertFinalNewline": true,
32
33
  "jsxSingleQuote": false,
33
34
  "objectWrap": "preserve",
34
35
  "printWidth": 100,
36
+ "proseWrap": "preserve",
35
37
  "quoteProps": "as-needed",
36
38
  "semi": false,
37
39
  "singleAttributePerLine": false,
38
40
  "singleQuote": true,
39
41
  "tabWidth": 2,
40
42
  "trailingComma": "all",
41
- "useTabs": false
43
+ "useTabs": false,
44
+ "vueIndentScriptAndStyle": true
42
45
  }
package/.oxlintrc.json CHANGED
@@ -61,6 +61,7 @@
61
61
  "./rules/style/vitest.json",
62
62
  "./rules/style/vue.json",
63
63
  "./rules/nursery/eslint.json",
64
+ "./rules/nursery/typescript.json",
64
65
  "./rules/nursery/oxc.json",
65
66
  "./rules/nursery/import.json",
66
67
  "./rules/nursery/promise.json"
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Gabriel 'DethDKN' Rosa <https://github.com/dethdkn>
3
+ Copyright (c) 2026 Gabriel 'DethDKN' Rosa <https://github.com/dethdkn>
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -53,9 +53,6 @@
53
53
  // Use OXC as the default code formatter in VSCode
54
54
  "editor.defaultFormatter": "oxc.oxc-vscode",
55
55
 
56
- // Enable experimental features for the OXC formatter (fmt)
57
- "oxc.fmt.experimental": true,
58
-
59
56
  // Automatically format files whenever you save them
60
57
  "editor.formatOnSave": true,
61
58
 
@@ -64,12 +61,15 @@
64
61
  "source.fixAll.oxc": "explicit"
65
62
  },
66
63
 
67
- // Run OXC linter automatically on save
68
- "oxc.lint.run": "onSave"
64
+ // Enable type-aware linting
65
+ "oxc.typeAware": true,
66
+
67
+ // Run OXC linter automatically on type
68
+ "oxc.lint.run": "onType"
69
69
  }
70
70
  ```
71
71
 
72
72
  ## 📝 License
73
73
 
74
- Copyright © 2025 [Gabriel 'DethDKN' Rosa](https://github.com/dethdkn)\
74
+ Copyright © 2026 [Gabriel 'DethDKN' Rosa](https://github.com/dethdkn)\
75
75
  This project is under [MIT license](https://github.com/dethdkn/ox-config/blob/main/LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dethdkn/ox-config",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "⚓ My Opinionated OX Config",
5
5
  "keywords": [
6
6
  "oxfmt",
@@ -39,14 +39,14 @@
39
39
  "release": "bun fmt && bun lint && bumpp && sudo npm publish"
40
40
  },
41
41
  "dependencies": {
42
- "oxfmt": "^0.23.0",
43
- "oxlint": "^1.38.0",
44
- "oxlint-tsgolint": "^0.10.1"
42
+ "oxfmt": "^0.26.0",
43
+ "oxlint": "^1.41.0",
44
+ "oxlint-tsgolint": "^0.11.1"
45
45
  },
46
46
  "devDependencies": {
47
- "bumpp": "^10.3.2",
47
+ "bumpp": "^10.4.0",
48
48
  "typescript": "^5.9.3",
49
- "vue": "^3.5.26"
49
+ "vue": "^3.5.27"
50
50
  },
51
- "packageManager": "bun@1.3.3"
51
+ "packageManager": "bun@1.3.6"
52
52
  }
@@ -2,6 +2,8 @@
2
2
  "rules": {
3
3
  "vitest/no-conditional-tests": ["error"],
4
4
  "vitest/require-local-test-context-for-concurrent-snapshots": ["error"],
5
- "vitest/warn-todo": ["error"]
5
+ "vitest/warn-todo": ["error"],
6
+ "vitest/consistent-each-for": ["error"],
7
+ "vitest/hoisted-apis-on-top": ["error"]
6
8
  }
7
9
  }
@@ -5,6 +5,8 @@
5
5
  "vue/no-this-in-before-route-enter": ["error"],
6
6
  "vue/prefer-import-from-vue": ["error"],
7
7
  "vue/valid-define-emits": ["error"],
8
- "vue/valid-define-props": ["error"]
8
+ "vue/valid-define-props": ["error"],
9
+ "vue/no-lifecycle-after-await": ["error"],
10
+ "vue/no-arrow-functions-in-watch": ["error"]
9
11
  }
10
12
  }
@@ -0,0 +1,5 @@
1
+ {
2
+ "rules": {
3
+ "typescript/prefer-optional-chain": ["error"]
4
+ }
5
+ }
@@ -6,6 +6,9 @@
6
6
  "vitest/prefer-called-times": ["error"],
7
7
  "vitest/prefer-to-be-falsy": ["error"],
8
8
  "vitest/prefer-to-be-object": ["error"],
9
- "vitest/prefer-to-be-truthy": ["error"]
9
+ "vitest/prefer-to-be-truthy": ["error"],
10
+ "vitest/prefer-called-once": ["off"],
11
+ "vitest/prefer-describe-function-title": ["error"],
12
+ "vitest/no-unneeded-async-expect-function": ["error"]
10
13
  }
11
14
  }