@dethdkn/ox-config 1.0.6 → 1.0.7

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
@@ -19,6 +19,16 @@
19
19
  ],
20
20
  "sortSideEffects": true
21
21
  },
22
+ "experimentalSortPackageJson": true,
23
+ "experimentalTailwindcss": {
24
+ "attributes": ["class", "className"],
25
+ "config": "./tailwind.config.js",
26
+ "functions": [],
27
+ "preserveDuplicates": false,
28
+ "preserveWhitespace": false,
29
+ "stylesheet": "./app/assets/main.css"
30
+ },
31
+ "insertFinalNewline": true,
22
32
  "jsxSingleQuote": false,
23
33
  "objectWrap": "preserve",
24
34
  "printWidth": 100,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dethdkn/ox-config",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "⚓ My Opinionated OX Config",
5
5
  "keywords": [
6
6
  "oxfmt",
@@ -10,27 +10,27 @@
10
10
  ],
11
11
  "homepage": "https://github.com/dethdkn/ox-config",
12
12
  "bugs": "https://github.com/dethdkn/ox-config/issues",
13
- "repository": {
14
- "type": "git",
15
- "url": "git+https://github.com/dethdkn/ox-config.git"
16
- },
13
+ "license": "MIT",
17
14
  "author": {
18
15
  "name": "Gabriel 'DethDKN' Rosa",
19
16
  "email": "gabriel@rosa.dev.br",
20
17
  "url": "https://rosa.dev.br"
21
18
  },
22
- "funding": "https://github.com/sponsors/dethdkn",
23
- "license": "MIT",
24
- "type": "module",
25
- "exports": {
26
- "./.oxfmtrc.json": "./.oxfmtrc.json",
27
- "./.oxlintrc.json": "./.oxlintrc.json"
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/dethdkn/ox-config.git"
28
22
  },
23
+ "funding": "https://github.com/sponsors/dethdkn",
29
24
  "files": [
30
25
  ".oxfmtrc.json",
31
26
  ".oxlintrc.json",
32
27
  "rules"
33
28
  ],
29
+ "type": "module",
30
+ "exports": {
31
+ "./.oxfmtrc.json": "./.oxfmtrc.json",
32
+ "./.oxlintrc.json": "./.oxlintrc.json"
33
+ },
34
34
  "scripts": {
35
35
  "fmt": "oxfmt --check",
36
36
  "fmt:fix": "oxfmt",
@@ -39,14 +39,14 @@
39
39
  "release": "bun fmt && bun lint && bumpp && sudo npm publish"
40
40
  },
41
41
  "dependencies": {
42
- "oxfmt": "^0.18.0",
43
- "oxlint": "^1.33.0",
44
- "oxlint-tsgolint": "^0.9.1"
42
+ "oxfmt": "^0.23.0",
43
+ "oxlint": "^1.38.0",
44
+ "oxlint-tsgolint": "^0.10.1"
45
45
  },
46
46
  "devDependencies": {
47
47
  "bumpp": "^10.3.2",
48
48
  "typescript": "^5.9.3",
49
- "vue": "^3.5.25"
49
+ "vue": "^3.5.26"
50
50
  },
51
51
  "packageManager": "bun@1.3.3"
52
52
  }
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "rules": {
3
3
  "vitest/no-conditional-tests": ["error"],
4
- "vitest/require-local-test-context-for-concurrent-snapshots": ["error"]
4
+ "vitest/require-local-test-context-for-concurrent-snapshots": ["error"],
5
+ "vitest/warn-todo": ["error"]
5
6
  }
6
7
  }
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "rules": {
3
+ "vue/no-deprecated-destroyed-lifecycle": ["error"],
3
4
  "vue/no-export-in-script-setup": ["error"],
5
+ "vue/no-this-in-before-route-enter": ["error"],
4
6
  "vue/prefer-import-from-vue": ["error"],
5
7
  "vue/valid-define-emits": ["error"],
6
8
  "vue/valid-define-props": ["error"]
@@ -13,6 +13,7 @@
13
13
  "eslint/no-constructor-return": ["error"],
14
14
  "eslint/no-else-return": ["error"],
15
15
  "eslint/no-fallthrough": ["error"],
16
+ "eslint/no-inline-comments": ["error"],
16
17
  "eslint/no-inner-declarations": ["error"],
17
18
  "eslint/no-lonely-if": ["error"],
18
19
  "eslint/no-loop-func": ["error"],
@@ -7,6 +7,7 @@
7
7
  "unicorn/new-for-builtins": ["error"],
8
8
  "unicorn/no-array-callback-reference": ["error"],
9
9
  "unicorn/no-hex-escape": ["error"],
10
+ "unicorn/no-immediate-mutation": ["error"],
10
11
  "unicorn/no-instanceof-array": ["error"],
11
12
  "unicorn/no-lonely-if": ["error"],
12
13
  "unicorn/no-negation-in-equality-check": ["error"],
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "rules": {
3
3
  "eslint/class-methods-use-this": ["error"],
4
+ "eslint/complexity": ["off"],
4
5
  "eslint/default-case": ["error"],
5
6
  "eslint/no-alert": ["error"],
6
7
  "eslint/no-bitwise": ["error"],
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "rules": {
3
3
  "eslint/arrow-body-style": ["error", "as-needed"],
4
+ "eslint/capitalized-comments": ["error"],
4
5
  "eslint/curly": ["error", "multi-line"],
5
6
  "eslint/default-case-last": ["error"],
6
7
  "eslint/default-param-last": ["error"],
@@ -17,6 +18,7 @@
17
18
  "eslint/id-length": ["error", { "exceptions": ["_", "i", "j", "k", "l", "t"] }],
18
19
  "eslint/init-declarations": ["off"],
19
20
  "eslint/max-params": ["off"],
21
+ "eslint/max-statements": ["off"],
20
22
  "eslint/new-cap": ["error"],
21
23
  "eslint/no-continue": ["error"],
22
24
  "eslint/no-duplicate-imports": ["error", { "allowSeparateTypeImports": true }],
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "rules": {
3
+ "node/global-require": ["error"],
3
4
  "node/no-exports-assign": ["error"]
4
5
  }
5
6
  }
@@ -37,6 +37,7 @@
37
37
  "unicorn/prefer-string-trim-start-end": ["error"],
38
38
  "unicorn/prefer-structured-clone": ["error"],
39
39
  "unicorn/require-array-join-separator": ["error"],
40
+ "unicorn/require-module-attributes": ["error"],
40
41
  "unicorn/switch-case-braces": ["error"],
41
42
  "unicorn/text-encoding-identifier-case": ["error"],
42
43
  "unicorn/throw-new-error": ["error"]
@@ -1,6 +1,9 @@
1
1
  {
2
2
  "rules": {
3
+ "vitest/consistent-test-filename": ["off"],
4
+ "vitest/consistent-vitest-vi": ["off"],
3
5
  "vitest/no-import-node-test": ["error"],
6
+ "vitest/prefer-called-times": ["error"],
4
7
  "vitest/prefer-to-be-falsy": ["error"],
5
8
  "vitest/prefer-to-be-object": ["error"],
6
9
  "vitest/prefer-to-be-truthy": ["error"]