@chanom/dev-config 0.0.4 → 0.0.5
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/dist/knip/base-config.d.ts +0 -2
- package/dist/knip/base-config.js +1 -2
- package/dist/knip/index.d.ts +1 -3
- package/dist/knip/index.js +1 -2
- package/dist/oxfmt/base-config.d.ts +0 -2
- package/dist/oxfmt/base-config.js +1 -2
- package/dist/oxfmt/index.js +1 -2
- package/dist/oxlint/base-config.d.ts +0 -2
- package/dist/oxlint/base-config.js +1 -2
- package/dist/oxlint/index.d.ts +1 -3
- package/dist/oxlint/index.js +1 -2
- package/package.json +9 -9
package/dist/knip/base-config.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/knip/base-config.ts
|
|
2
2
|
var base_config_default = {
|
|
3
3
|
ignore: [
|
|
4
4
|
"**/dist/**",
|
|
@@ -9,5 +9,4 @@ var base_config_default = {
|
|
|
9
9
|
ignoreDependencies: ["@chanom/dev-config"],
|
|
10
10
|
ignoreExportsUsedInFile: true
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
12
|
export { base_config_default as default };
|
package/dist/knip/index.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
//#region src/knip/index.d.ts
|
|
2
1
|
declare const _default: {
|
|
2
|
+
ignoreExportsUsedInFile: true;
|
|
3
3
|
entry: string[];
|
|
4
4
|
project: string[];
|
|
5
5
|
ignore: string[];
|
|
6
6
|
ignoreDependencies: string[];
|
|
7
7
|
vite: true;
|
|
8
|
-
ignoreExportsUsedInFile: true;
|
|
9
8
|
};
|
|
10
|
-
//#endregion
|
|
11
9
|
export { _default as default };
|
package/dist/knip/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import base_config_default from "./base-config.js";
|
|
2
|
-
|
|
2
|
+
// src/knip/index.ts
|
|
3
3
|
var knip_default = {
|
|
4
4
|
...base_config_default,
|
|
5
5
|
entry: ["index.html", "src/main.tsx"],
|
|
@@ -16,5 +16,4 @@ var knip_default = {
|
|
|
16
16
|
],
|
|
17
17
|
vite: true
|
|
18
18
|
};
|
|
19
|
-
//#endregion
|
|
20
19
|
export { knip_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineConfig } from "oxfmt";
|
|
2
|
-
|
|
2
|
+
// src/oxfmt/base-config.ts
|
|
3
3
|
var base_config_default = defineConfig({
|
|
4
4
|
useTabs: false,
|
|
5
5
|
tabWidth: 2,
|
|
@@ -43,5 +43,4 @@ var base_config_default = defineConfig({
|
|
|
43
43
|
"unknown"
|
|
44
44
|
] }
|
|
45
45
|
});
|
|
46
|
-
//#endregion
|
|
47
46
|
export { base_config_default as default };
|
package/dist/oxfmt/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineConfig } from "oxlint";
|
|
2
|
-
|
|
2
|
+
// src/oxlint/base-config.ts
|
|
3
3
|
var base_config_default = defineConfig({
|
|
4
4
|
plugins: ["typescript"],
|
|
5
5
|
categories: { correctness: "error" },
|
|
@@ -22,5 +22,4 @@ var base_config_default = defineConfig({
|
|
|
22
22
|
},
|
|
23
23
|
ignorePatterns: ["**/node_modules/**", "**/.turbo/**"]
|
|
24
24
|
});
|
|
25
|
-
//#endregion
|
|
26
25
|
export { base_config_default as default };
|
package/dist/oxlint/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/oxlint/index.d.ts
|
|
2
1
|
declare const _default: {
|
|
3
2
|
extends: {
|
|
4
3
|
plugins: "typescript"[];
|
|
@@ -21,7 +20,7 @@ declare const _default: {
|
|
|
21
20
|
};
|
|
22
21
|
ignorePatterns: string[];
|
|
23
22
|
}[];
|
|
24
|
-
plugins: ("
|
|
23
|
+
plugins: ("jsx-a11y" | "react")[];
|
|
25
24
|
categories: {
|
|
26
25
|
correctness: "error";
|
|
27
26
|
};
|
|
@@ -41,5 +40,4 @@ declare const _default: {
|
|
|
41
40
|
};
|
|
42
41
|
ignorePatterns: string[];
|
|
43
42
|
};
|
|
44
|
-
//#endregion
|
|
45
43
|
export { _default as default };
|
package/dist/oxlint/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import base_config_default from "./base-config.js";
|
|
2
2
|
import { defineConfig } from "oxlint";
|
|
3
|
-
|
|
3
|
+
// src/oxlint/index.ts
|
|
4
4
|
var oxlint_default = defineConfig({
|
|
5
5
|
extends: [base_config_default],
|
|
6
6
|
plugins: ["react", "jsx-a11y"],
|
|
@@ -28,5 +28,4 @@ var oxlint_default = defineConfig({
|
|
|
28
28
|
"**/build/**"
|
|
29
29
|
]
|
|
30
30
|
});
|
|
31
|
-
//#endregion
|
|
32
31
|
export { oxlint_default as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chanom/dev-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "Shared oxlint and oxfmt config",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -45,17 +45,17 @@
|
|
|
45
45
|
"@tsconfig/node-ts": "23.6.4",
|
|
46
46
|
"@types/node": "26.0.1",
|
|
47
47
|
"knip": "6.26.0",
|
|
48
|
-
"oxfmt": "0.
|
|
49
|
-
"oxlint": "1.
|
|
50
|
-
"oxlint-tsgolint": "0.
|
|
51
|
-
"tsdown": "0.
|
|
52
|
-
"typescript": "
|
|
48
|
+
"oxfmt": "0.74.0",
|
|
49
|
+
"oxlint": "1.89.0",
|
|
50
|
+
"oxlint-tsgolint": "7.0.2005",
|
|
51
|
+
"tsdown": "0.23.1",
|
|
52
|
+
"typescript": "7.0.2"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"knip": "6.26.0",
|
|
56
|
-
"oxfmt": "0.
|
|
57
|
-
"oxlint": "1.
|
|
58
|
-
"oxlint-tsgolint": "0.
|
|
56
|
+
"oxfmt": "0.74.0",
|
|
57
|
+
"oxlint": "1.89.0",
|
|
58
|
+
"oxlint-tsgolint": "7.0.2005"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"build": "tsdown",
|