@dethdkn/ox-config 1.0.7 → 1.0.9
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 +4 -2
- package/.oxlintrc.json +1 -0
- package/LICENSE +1 -1
- package/README.md +6 -6
- package/package.json +7 -7
- package/rules/correctness/vitest.json +3 -1
- package/rules/correctness/vue.json +3 -1
- package/rules/nursery/typescript.json +5 -0
- package/rules/style/vitest.json +4 -1
package/.oxfmtrc.json
CHANGED
|
@@ -22,21 +22,23 @@
|
|
|
22
22
|
"experimentalSortPackageJson": true,
|
|
23
23
|
"experimentalTailwindcss": {
|
|
24
24
|
"attributes": ["class", "className"],
|
|
25
|
-
"config": "./tailwind.config.js",
|
|
26
25
|
"functions": [],
|
|
27
26
|
"preserveDuplicates": false,
|
|
28
27
|
"preserveWhitespace": false,
|
|
29
28
|
"stylesheet": "./app/assets/main.css"
|
|
30
29
|
},
|
|
30
|
+
"htmlWhitespaceSensitivity": "css",
|
|
31
31
|
"insertFinalNewline": true,
|
|
32
32
|
"jsxSingleQuote": false,
|
|
33
33
|
"objectWrap": "preserve",
|
|
34
34
|
"printWidth": 100,
|
|
35
|
+
"proseWrap": "preserve",
|
|
35
36
|
"quoteProps": "as-needed",
|
|
36
37
|
"semi": false,
|
|
37
38
|
"singleAttributePerLine": false,
|
|
38
39
|
"singleQuote": true,
|
|
39
40
|
"tabWidth": 2,
|
|
40
41
|
"trailingComma": "all",
|
|
41
|
-
"useTabs": false
|
|
42
|
+
"useTabs": false,
|
|
43
|
+
"vueIndentScriptAndStyle": true
|
|
42
44
|
}
|
package/.oxlintrc.json
CHANGED
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
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
|
-
//
|
|
68
|
-
"oxc.
|
|
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 ©
|
|
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.
|
|
3
|
+
"version": "1.0.9",
|
|
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.
|
|
43
|
-
"oxlint": "^1.
|
|
44
|
-
"oxlint-tsgolint": "^0.
|
|
42
|
+
"oxfmt": "^0.27.0",
|
|
43
|
+
"oxlint": "^1.42.0",
|
|
44
|
+
"oxlint-tsgolint": "^0.11.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"bumpp": "^10.
|
|
47
|
+
"bumpp": "^10.4.0",
|
|
48
48
|
"typescript": "^5.9.3",
|
|
49
|
-
"vue": "^3.5.
|
|
49
|
+
"vue": "^3.5.27"
|
|
50
50
|
},
|
|
51
|
-
"packageManager": "bun@1.3.
|
|
51
|
+
"packageManager": "bun@1.3.7"
|
|
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
|
}
|
package/rules/style/vitest.json
CHANGED
|
@@ -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
|
}
|