@dethdkn/ox-config 1.0.4 → 1.0.6

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/package.json CHANGED
@@ -1,36 +1,35 @@
1
1
  {
2
2
  "name": "@dethdkn/ox-config",
3
- "type": "module",
4
- "version": "1.0.4",
5
- "packageManager": "bun@1.3.3",
3
+ "version": "1.0.6",
6
4
  "description": "⚓ My Opinionated OX Config",
7
- "author": {
8
- "name": "Gabriel 'DethDKN' Rosa",
9
- "email": "gabriel@rosa.dev.br",
10
- "url": "https://rosa.dev.br"
11
- },
12
- "license": "MIT",
13
- "funding": "https://github.com/sponsors/dethdkn",
14
- "homepage": "https://github.com/dethdkn/ox-config",
15
- "repository": {
16
- "type": "git",
17
- "url": "git+https://github.com/dethdkn/ox-config.git"
18
- },
19
- "bugs": "https://github.com/dethdkn/ox-config/issues",
20
5
  "keywords": [
21
6
  "oxfmt",
22
7
  "oxfmt-config",
23
8
  "oxlint",
24
9
  "oxlint-config"
25
10
  ],
11
+ "homepage": "https://github.com/dethdkn/ox-config",
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
+ },
17
+ "author": {
18
+ "name": "Gabriel 'DethDKN' Rosa",
19
+ "email": "gabriel@rosa.dev.br",
20
+ "url": "https://rosa.dev.br"
21
+ },
22
+ "funding": "https://github.com/sponsors/dethdkn",
23
+ "license": "MIT",
24
+ "type": "module",
26
25
  "exports": {
27
26
  "./.oxfmtrc.json": "./.oxfmtrc.json",
28
27
  "./.oxlintrc.json": "./.oxlintrc.json"
29
28
  },
30
29
  "files": [
31
- "rules",
32
30
  ".oxfmtrc.json",
33
- ".oxlintrc.json"
31
+ ".oxlintrc.json",
32
+ "rules"
34
33
  ],
35
34
  "scripts": {
36
35
  "fmt": "oxfmt --check",
@@ -39,14 +38,15 @@
39
38
  "lint:fix": "oxlint --type-aware --fix",
40
39
  "release": "bun fmt && bun lint && bumpp && sudo npm publish"
41
40
  },
41
+ "dependencies": {
42
+ "oxfmt": "^0.18.0",
43
+ "oxlint": "^1.33.0",
44
+ "oxlint-tsgolint": "^0.9.1"
45
+ },
42
46
  "devDependencies": {
43
47
  "bumpp": "^10.3.2",
44
48
  "typescript": "^5.9.3",
45
49
  "vue": "^3.5.25"
46
50
  },
47
- "dependencies": {
48
- "oxfmt": "^0.17.0",
49
- "oxlint": "^1.32.0",
50
- "oxlint-tsgolint": "^0.8.4"
51
- }
51
+ "packageManager": "bun@1.3.3"
52
52
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "rules": {
3
+ "eslint/constructor-super": ["error"],
3
4
  "eslint/for-direction": ["error"],
4
5
  "eslint/no-async-promise-executor": ["error"],
5
6
  "eslint/no-caller": ["error"],
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "rules": {
3
- "eslint/constructor-super": ["error"],
4
3
  "eslint/getter-return": ["error"],
5
4
  "eslint/no-misleading-character-class": ["error"],
6
5
  "eslint/no-undef": ["off"],
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "rules": {
3
- "oxc/branches-sharing-code": ["error"],
4
- "oxc/no-map-spread": ["error"]
3
+ "oxc/branches-sharing-code": ["error"]
5
4
  }
6
5
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "rules": {
3
+ "eslint/accessor-pairs": ["off"],
3
4
  "eslint/array-callback-return": ["error"],
4
5
  "eslint/eqeqeq": ["error"],
5
6
  "eslint/max-classes-per-file": ["error"],
@@ -14,9 +15,11 @@
14
15
  "eslint/no-fallthrough": ["error"],
15
16
  "eslint/no-inner-declarations": ["error"],
16
17
  "eslint/no-lonely-if": ["error"],
18
+ "eslint/no-loop-func": ["error"],
17
19
  "eslint/no-negated-condition": ["off"],
18
20
  "eslint/no-new-wrappers": ["error"],
19
21
  "eslint/no-object-constructor": ["error"],
22
+ "eslint/no-promise-executor-return": ["error"],
20
23
  "eslint/no-prototype-builtins": ["error"],
21
24
  "eslint/no-redeclare": ["error"],
22
25
  "eslint/no-self-compare": ["error"],
@@ -20,6 +20,7 @@
20
20
  "typescript/only-throw-error": ["error"],
21
21
  "typescript/prefer-enum-initializers": ["error"],
22
22
  "typescript/prefer-includes": ["error"],
23
+ "typescript/prefer-nullish-coalescing": ["error"],
23
24
  "typescript/prefer-promise-reject-errors": ["error"],
24
25
  "typescript/prefer-ts-expect-error": ["error"],
25
26
  "typescript/related-getter-setter-pairs": ["error"],
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "rules": {
3
- "oxc/no-accumulating-spread": ["error"]
3
+ "oxc/no-accumulating-spread": ["error"],
4
+ "oxc/no-map-spread": ["error"]
4
5
  }
5
6
  }
@@ -46,6 +46,7 @@
46
46
  }
47
47
  ]
48
48
  ],
49
+ "eslint/no-sequences": ["error"],
49
50
  "eslint/no-undefined": ["off"],
50
51
  "eslint/no-var": ["error"],
51
52
  "eslint/no-void": ["off"],
@@ -19,8 +19,9 @@
19
19
  "eslint/max-params": ["off"],
20
20
  "eslint/new-cap": ["error"],
21
21
  "eslint/no-continue": ["error"],
22
- "eslint/no-duplicate-imports": ["error"],
22
+ "eslint/no-duplicate-imports": ["error", { "allowSeparateTypeImports": true }],
23
23
  "eslint/no-extra-label": ["error"],
24
+ "eslint/no-implicit-coercion": ["error"],
24
25
  "eslint/no-label-var": ["error"],
25
26
  "eslint/no-labels": ["error"],
26
27
  "eslint/no-lone-blocks": ["error"],
@@ -20,9 +20,11 @@
20
20
  "unicorn/prefer-bigint-literals": ["error"],
21
21
  "unicorn/prefer-class-fields": ["error"],
22
22
  "unicorn/prefer-classlist-toggle": ["error"],
23
+ "unicorn/prefer-default-parameters": ["error"],
23
24
  "unicorn/prefer-dom-node-text-content": ["error"],
24
25
  "unicorn/prefer-global-this": ["error"],
25
26
  "unicorn/prefer-includes": ["error"],
27
+ "unicorn/prefer-keyboard-event-key": ["error"],
26
28
  "unicorn/prefer-logical-operator-over-ternary": ["error"],
27
29
  "unicorn/prefer-modern-dom-apis": ["error"],
28
30
  "unicorn/prefer-negative-index": ["error"],
@@ -2,6 +2,7 @@
2
2
  "rules": {
3
3
  "oxc/approx-constant": ["error"],
4
4
  "oxc/misrefactored-assign-op": ["error"],
5
- "oxc/no-async-endpoint-handlers": ["off"]
5
+ "oxc/no-async-endpoint-handlers": ["off"],
6
+ "oxc/no-this-in-exported-function": ["off"]
6
7
  }
7
8
  }