@shibanet0/datamitsu-config 0.0.1-alpha-12 → 0.0.1-alpha-14
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/.oxlintrc.json +30 -0
- package/bin/datamitsu.mjs +2 -5
- package/bin/mitsu.mjs +3 -3
- package/bin/tsc.mjs +2 -2
- package/datamitsu.js +1887 -695
- package/dist/arrayFunc-E2CQDPH7.js +24 -0
- package/dist/arrow-return-style-EWYINZUP.js +10 -0
- package/dist/boundaries-HC23RTYZ.js +10 -0
- package/dist/chunk-USDUPVZD.js +51 -0
- package/dist/commitlint/index.d.ts +2 -2
- package/dist/compat-4UCY3ESX.js +10 -0
- package/dist/datamitsu-config/apps.d.ts +1 -0
- package/dist/datamitsu-config/cmdInit.d.ts +2 -0
- package/dist/datamitsu-config/constants.d.ts +4 -0
- package/dist/datamitsu-config/hooks.d.ts +1 -0
- package/dist/datamitsu-config/main.d.ts +1 -0
- package/dist/datamitsu-config/project.d.ts +1 -0
- package/dist/datamitsu-config/tools.d.ts +1 -0
- package/dist/datamitsu-config/utils/cleanDependencies.d.ts +2 -1
- package/dist/deMorgan-X5NIQJEB.js +18 -0
- package/dist/depend-77SBD4XZ.js +10 -0
- package/dist/depend-TTKNVDIS.js +10 -0
- package/dist/eslint/index.js +125 -878
- package/dist/eslint/plugins/arrow-return-style.d.ts +2 -0
- package/dist/eslint/plugins/boundaries.d.ts +2 -0
- package/dist/eslint/plugins/compat.d.ts +2 -0
- package/dist/eslint/plugins/depend.d.ts +2 -0
- package/dist/eslint/plugins/jsdoc.d.ts +2 -0
- package/dist/eslint/plugins/no-unsanitized.d.ts +2 -0
- package/dist/eslint/plugins/react-you-might-not-need-an-effect.d.ts +2 -0
- package/dist/eslint/plugins/react.d.ts +1 -1
- package/dist/eslint/plugins/regexp.d.ts +2 -0
- package/dist/eslint/plugins/yml.d.ts +1 -1
- package/dist/eslint/types.d.ts +23 -4
- package/dist/import-MT776CTN.js +31 -0
- package/dist/javascript-KSG5RSYY.js +36 -0
- package/dist/jsdoc-ETFYVH7N.js +10 -0
- package/dist/json-ADTCTMIQ.js +28 -0
- package/dist/json-schema-validator-KJQPYPV7.js +19 -0
- package/dist/jsx-a11y-36UJHF7N.js +26 -0
- package/dist/n-CF27VQ2A.js +19 -0
- package/dist/no-unsanitized-JJCCLDDN.js +10 -0
- package/dist/no-use-extend-native-W3ODJIMY.js +19 -0
- package/dist/perfectionist-RCGRE2N4.js +99 -0
- package/dist/playwright-MAN5QZRB.js +19 -0
- package/dist/prettier/index.d.ts +2 -1
- package/dist/prettier/index.js +11 -8
- package/dist/prettier-3BKAYVNG.js +18 -0
- package/dist/promise-IOLHNOYU.js +25 -0
- package/dist/react-FQDLJSLF.js +66 -0
- package/dist/react-hooks-E3N7RURQ.js +18 -0
- package/dist/react-perf-3ZUXZLBE.js +18 -0
- package/dist/react-prefer-function-component-NSMHVGIJ.js +19 -0
- package/dist/react-refresh-RTFXBPGX.js +18 -0
- package/dist/react-you-might-not-need-an-effect-5O54WHDE.js +10 -0
- package/dist/regexp-JVKIJGCV.js +10 -0
- package/dist/security-4AI7Q2BJ.js +24 -0
- package/dist/sonarjs-C2LXDRJS.js +42 -0
- package/dist/storybook-JDINFFX5.js +19 -0
- package/dist/toml-LIBZFTGW.js +19 -0
- package/dist/turbo-3YMDV64X.js +19 -0
- package/dist/typescript-6S3HNHEQ.js +42 -0
- package/dist/unicorn-DIQEKCM2.js +62 -0
- package/dist/unused-imports-Q4RVNVNE.js +29 -0
- package/dist/vanilla-extract-3GUV75D2.js +21 -0
- package/dist/yml-EIKYT3P5.js +25 -0
- package/package.json +4 -5
package/.oxlintrc.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./oxlint_configuration_schema.json",
|
|
3
|
+
"categories": {
|
|
4
|
+
"correctness": "error",
|
|
5
|
+
"pedantic": "error",
|
|
6
|
+
"perf": "error",
|
|
7
|
+
"style": "warn",
|
|
8
|
+
"suspicious": "error"
|
|
9
|
+
},
|
|
10
|
+
"rules": {
|
|
11
|
+
"array-type": "off",
|
|
12
|
+
"arrow-body-style": "off",
|
|
13
|
+
"capitalized-comments": "off",
|
|
14
|
+
"func-style": "off",
|
|
15
|
+
"id-length": "off",
|
|
16
|
+
"max-lines": "off",
|
|
17
|
+
"max-lines-per-function": "off",
|
|
18
|
+
"no-inline-comments": "off",
|
|
19
|
+
"no-magic-numbers": "off",
|
|
20
|
+
"no-ternary": "off",
|
|
21
|
+
"no-warning-comments": "off",
|
|
22
|
+
"prefer-template": "off",
|
|
23
|
+
"sort-imports": "off",
|
|
24
|
+
"triple-slash-reference": "off",
|
|
25
|
+
"unicorn/filename-case": "off",
|
|
26
|
+
"unicorn/no-array-sort": "off",
|
|
27
|
+
"unicorn/no-null": "off",
|
|
28
|
+
"unicorn/require-module-specifiers": "off"
|
|
29
|
+
}
|
|
30
|
+
}
|
package/bin/datamitsu.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { getBinaryFilepath } from "./utils.mjs";
|
|
|
8
8
|
const arguments_ = process.argv.slice(2);
|
|
9
9
|
|
|
10
10
|
if (!arguments_.includes("--binary-command")) {
|
|
11
|
-
arguments_.unshift("--binary-command", "datamitsu");
|
|
11
|
+
arguments_.unshift("--binary-command", "pnpm datamitsu");
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
const child = spawn(
|
|
@@ -32,10 +32,7 @@ const child = spawn(
|
|
|
32
32
|
"../cli.js",
|
|
33
33
|
),
|
|
34
34
|
DATAMITSU_APP_SYNCPACK_BINARY_FILEPATH: getBinaryFilepath("syncpack/index.cjs", ""),
|
|
35
|
-
DATAMITSU_APP_TSC_BINARY_FILEPATH: getBinaryFilepath(
|
|
36
|
-
"@typescript/native-preview/package.json",
|
|
37
|
-
"../bin/tsgo.js",
|
|
38
|
-
),
|
|
35
|
+
DATAMITSU_APP_TSC_BINARY_FILEPATH: getBinaryFilepath("typescript/package.json", "../bin/tsc"),
|
|
39
36
|
DATAMITSU_PACKAGE_NAME: process.env.DATAMITSU_PACKAGE_NAME || "@shibanet0/datamitsu-config",
|
|
40
37
|
},
|
|
41
38
|
stdio: "inherit",
|
package/bin/mitsu.mjs
CHANGED
|
@@ -44,9 +44,9 @@ process.on("SIGHUP", shutdown);
|
|
|
44
44
|
try {
|
|
45
45
|
await run(["fix"]);
|
|
46
46
|
await run(["lint"]);
|
|
47
|
-
} catch (
|
|
48
|
-
if (typeof
|
|
49
|
-
process.exit(
|
|
47
|
+
} catch (error) {
|
|
48
|
+
if (typeof error === "number") {
|
|
49
|
+
process.exit(error);
|
|
50
50
|
}
|
|
51
51
|
process.exit(1);
|
|
52
52
|
}
|
package/bin/tsc.mjs
CHANGED
|
@@ -7,8 +7,8 @@ import { getBinaryFilepath } from "./utils.mjs";
|
|
|
7
7
|
const args = process.argv.slice(2);
|
|
8
8
|
|
|
9
9
|
const child = spawn(
|
|
10
|
-
"
|
|
11
|
-
|
|
10
|
+
getBinaryFilepath("@typescript/native-preview/package.json", "../bin/tsc"),
|
|
11
|
+
args,
|
|
12
12
|
{
|
|
13
13
|
stdio: "inherit",
|
|
14
14
|
},
|