@dethdkn/ox-config 1.0.10 → 1.0.12
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 +1 -1
- package/package.json +8 -7
- package/rules/correctness/eslint.json +3 -1
- package/rules/correctness/typescript.json +2 -1
- package/rules/nursery/eslint.json +0 -1
- package/rules/nursery/typescript.json +2 -1
- package/rules/restriction/eslint.json +0 -1
- package/rules/restriction/typescript.json +3 -1
- package/rules/style/eslint.json +2 -1
- package/rules/style/import.json +3 -1
- package/rules/style/typescript.json +4 -2
- package/rules/style/unicorn.json +2 -1
- package/rules/style/vitest.json +2 -1
- package/rules/suspicious/eslint.json +3 -1
package/.oxfmtrc.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dethdkn/ox-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "⚓ My Opinionated OX Config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"oxfmt",
|
|
@@ -36,17 +36,18 @@
|
|
|
36
36
|
"fmt:fix": "oxfmt",
|
|
37
37
|
"lint": "oxlint --type-aware",
|
|
38
38
|
"lint:fix": "oxlint --type-aware --fix",
|
|
39
|
-
"
|
|
39
|
+
"prerelease": "bun run fmt && bun run lint",
|
|
40
|
+
"release": "bun run prerelease && bumpp && sudo npm publish"
|
|
40
41
|
},
|
|
41
42
|
"dependencies": {
|
|
42
|
-
"oxfmt": "^0.
|
|
43
|
-
"oxlint": "^1.
|
|
44
|
-
"oxlint-tsgolint": "^0.
|
|
43
|
+
"oxfmt": "^0.33.0",
|
|
44
|
+
"oxlint": "^1.48.0",
|
|
45
|
+
"oxlint-tsgolint": "^0.13.0"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
|
-
"bumpp": "^10.4.
|
|
48
|
+
"bumpp": "^10.4.1",
|
|
48
49
|
"typescript": "^5.9.3",
|
|
49
|
-
"vue": "^3.5.
|
|
50
|
+
"vue": "^3.5.28"
|
|
50
51
|
},
|
|
51
52
|
"packageManager": "bun@1.3.7"
|
|
52
53
|
}
|
|
@@ -51,6 +51,8 @@
|
|
|
51
51
|
"eslint/no-with": ["error"],
|
|
52
52
|
"eslint/require-yield": ["error"],
|
|
53
53
|
"eslint/use-isnan": ["error"],
|
|
54
|
-
"eslint/valid-typeof": ["error"]
|
|
54
|
+
"eslint/valid-typeof": ["error"],
|
|
55
|
+
"eslint/no-misleading-character-class": ["error"],
|
|
56
|
+
"eslint/no-iterator": ["error"]
|
|
55
57
|
}
|
|
56
58
|
}
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"typescript/require-array-sort-compare": ["error"],
|
|
25
25
|
"typescript/restrict-template-expressions": ["error"],
|
|
26
26
|
"typescript/triple-slash-reference": ["error"],
|
|
27
|
-
"typescript/unbound-method": ["error"]
|
|
27
|
+
"typescript/unbound-method": ["error"],
|
|
28
|
+
"typescript/prefer-namespace-keyword": ["error"]
|
|
28
29
|
}
|
|
29
30
|
}
|
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
"typescript/non-nullable-type-assertion-style": ["off"],
|
|
16
16
|
"typescript/prefer-literal-enum-member": ["error"],
|
|
17
17
|
"typescript/promise-function-async": ["off"],
|
|
18
|
-
"typescript/use-unknown-in-catch-callback-variable": ["error"]
|
|
18
|
+
"typescript/use-unknown-in-catch-callback-variable": ["error"],
|
|
19
|
+
"typescript/no-invalid-void-type": ["error"],
|
|
20
|
+
"typescript/no-use-before-define": ["off"]
|
|
19
21
|
}
|
|
20
22
|
}
|
package/rules/style/eslint.json
CHANGED
package/rules/style/import.json
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
"import/no-named-default": ["error"],
|
|
11
11
|
"import/no-named-export": ["off"],
|
|
12
12
|
"import/no-namespace": ["error"],
|
|
13
|
-
"import/prefer-default-export": ["off"]
|
|
13
|
+
"import/prefer-default-export": ["off"],
|
|
14
|
+
"import/no-nodejs-modules": ["off"],
|
|
15
|
+
"import/no-relative-parent-imports": ["off"]
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -11,8 +11,10 @@
|
|
|
11
11
|
"typescript/no-inferrable-types": ["error"],
|
|
12
12
|
"typescript/prefer-for-of": ["error"],
|
|
13
13
|
"typescript/prefer-function-type": ["error"],
|
|
14
|
-
"typescript/prefer-namespace-keyword": ["error"],
|
|
15
14
|
"typescript/prefer-reduce-type-parameter": ["error"],
|
|
16
|
-
"typescript/prefer-return-this-type": ["error"]
|
|
15
|
+
"typescript/prefer-return-this-type": ["error"],
|
|
16
|
+
"typescript/class-literal-property-style": ["error"],
|
|
17
|
+
"typescript/unified-signatures": ["error"],
|
|
18
|
+
"typescript/parameter-properties": ["error"]
|
|
17
19
|
}
|
|
18
20
|
}
|
package/rules/style/unicorn.json
CHANGED
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"unicorn/require-module-attributes": ["error"],
|
|
41
41
|
"unicorn/switch-case-braces": ["error"],
|
|
42
42
|
"unicorn/text-encoding-identifier-case": ["error"],
|
|
43
|
-
"unicorn/throw-new-error": ["error"]
|
|
43
|
+
"unicorn/throw-new-error": ["error"],
|
|
44
|
+
"unicorn/relative-url-style": ["error"]
|
|
44
45
|
}
|
|
45
46
|
}
|
package/rules/style/vitest.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"vitest/prefer-to-be-truthy": ["error"],
|
|
10
10
|
"vitest/prefer-called-once": ["off"],
|
|
11
11
|
"vitest/prefer-describe-function-title": ["error"],
|
|
12
|
-
"vitest/no-unneeded-async-expect-function": ["error"]
|
|
12
|
+
"vitest/no-unneeded-async-expect-function": ["error"],
|
|
13
|
+
"vitest/prefer-expect-type-of": ["error"]
|
|
13
14
|
}
|
|
14
15
|
}
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
"eslint/no-unneeded-ternary": ["error"],
|
|
9
9
|
"eslint/no-useless-concat": ["error"],
|
|
10
10
|
"eslint/no-useless-constructor": ["error"],
|
|
11
|
-
"eslint/preserve-caught-error": ["error"]
|
|
11
|
+
"eslint/preserve-caught-error": ["error"],
|
|
12
|
+
"eslint/no-shadow": ["error"],
|
|
13
|
+
"eslint/no-unmodified-loop-condition": ["error"]
|
|
12
14
|
}
|
|
13
15
|
}
|