@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 +23 -23
- package/rules/correctness/eslint.json +1 -0
- package/rules/nursery/eslint.json +0 -1
- package/rules/nursery/oxc.json +1 -2
- package/rules/pedantic/eslint.json +3 -0
- package/rules/pedantic/typescript.json +1 -0
- package/rules/perf/oxc.json +2 -1
- package/rules/restriction/eslint.json +1 -0
- package/rules/style/eslint.json +2 -1
- package/rules/style/unicorn.json +2 -0
- package/rules/suspicious/oxc.json +2 -1
package/package.json
CHANGED
|
@@ -1,36 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dethdkn/ox-config",
|
|
3
|
-
"
|
|
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
|
-
"
|
|
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
|
}
|
package/rules/nursery/oxc.json
CHANGED
|
@@ -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"],
|
package/rules/perf/oxc.json
CHANGED
package/rules/style/eslint.json
CHANGED
|
@@ -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"],
|
package/rules/style/unicorn.json
CHANGED
|
@@ -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"],
|