@shibanet0/datamitsu-config 0.0.2-alpha-2 → 0.0.3-alpha-1

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.
Files changed (68) hide show
  1. package/.oxlintrc.json +19 -0
  2. package/bin/{datamitsu.mjs → datamitsu.js} +3 -10
  3. package/bin/{tsc.mjs → tsc.js} +1 -1
  4. package/bin/{tsx.mjs → tsx.js} +1 -1
  5. package/datamitsu.config.js +4365 -0
  6. package/dist/datamitsu-config/agents.md.d.ts +1 -0
  7. package/dist/datamitsu-config/app.eslint.d.ts +1 -0
  8. package/dist/datamitsu-config/constants.d.ts +4 -0
  9. package/dist/datamitsu-config/ignore.d.ts +1 -1
  10. package/dist/datamitsu-config/inline-config/eslint.d.ts +1 -0
  11. package/dist/{datamitsu.d.ts → datamitsu.config.d.ts} +307 -36
  12. package/dist/s0/index.js +1 -1
  13. package/package.json +14 -81
  14. package/bin/mitsu.mjs +0 -52
  15. package/datamitsu.js +0 -3553
  16. package/dist/arrayFunc-E2CQDPH7.js +0 -24
  17. package/dist/arrow-return-style-QXEK7JRB.js +0 -8
  18. package/dist/boundaries-7E4X4KF5.js +0 -19
  19. package/dist/chunk-OYKSRJ7A.js +0 -54
  20. package/dist/clsx-M6OKU3PA.js +0 -8
  21. package/dist/command-3BA63SHO.js +0 -8
  22. package/dist/compat-6O7XHMYR.js +0 -8
  23. package/dist/cspell-NJAMCYWA.js +0 -8
  24. package/dist/deMorgan-X5NIQJEB.js +0 -18
  25. package/dist/depend-4TLGRJ4A.js +0 -8
  26. package/dist/escompat-2HZB2VKK.js +0 -8
  27. package/dist/eslint/index.js +0 -216
  28. package/dist/fsecond-U7QFID4J.js +0 -16
  29. package/dist/html-Q7HLWKMH.js +0 -17
  30. package/dist/i18next-XPRQSLOK.js +0 -8
  31. package/dist/import-MT776CTN.js +0 -31
  32. package/dist/javascript-KSG5RSYY.js +0 -36
  33. package/dist/jsdoc-T3RUTVU2.js +0 -8
  34. package/dist/json-ADTCTMIQ.js +0 -28
  35. package/dist/json-schema-validator-KJQPYPV7.js +0 -19
  36. package/dist/jsonc-5WI2LEKI.js +0 -11
  37. package/dist/jsx-a11y-36UJHF7N.js +0 -26
  38. package/dist/n-CF27VQ2A.js +0 -19
  39. package/dist/no-unsanitized-2CVGQCKY.js +0 -8
  40. package/dist/no-use-extend-native-W3ODJIMY.js +0 -19
  41. package/dist/oxlint-Z37R6LWE.js +0 -64
  42. package/dist/perfectionist-VM3ULM44.js +0 -104
  43. package/dist/playwright-MAN5QZRB.js +0 -19
  44. package/dist/pnpm-KEJEST6B.js +0 -15
  45. package/dist/prettier-3BKAYVNG.js +0 -18
  46. package/dist/promise-IOLHNOYU.js +0 -25
  47. package/dist/react-ZSFMBR63.js +0 -66
  48. package/dist/react-hooks-E3N7RURQ.js +0 -18
  49. package/dist/react-perf-3ZUXZLBE.js +0 -18
  50. package/dist/react-prefer-function-component-NSMHVGIJ.js +0 -19
  51. package/dist/react-refresh-RTFXBPGX.js +0 -18
  52. package/dist/react-you-might-not-need-an-effect-7LQCVBLO.js +0 -8
  53. package/dist/regexp-D6CKMCXH.js +0 -8
  54. package/dist/security-4AI7Q2BJ.js +0 -24
  55. package/dist/sonarjs-TX6OBUY7.js +0 -42
  56. package/dist/storybook-JDINFFX5.js +0 -19
  57. package/dist/stylistic-ID5P6T22.js +0 -18
  58. package/dist/toml-LIBZFTGW.js +0 -19
  59. package/dist/turbo-3YMDV64X.js +0 -19
  60. package/dist/typescript-KIXWXTZM.js +0 -42
  61. package/dist/unicorn-DIQEKCM2.js +0 -62
  62. package/dist/unused-imports-KTOMG7GT.js +0 -29
  63. package/dist/vanilla-extract-3GUV75D2.js +0 -21
  64. package/dist/vitest-OL2AMOGF.js +0 -20
  65. package/dist/yml-EIKYT3P5.js +0 -25
  66. /package/bin/{s0.mjs → s0.js} +0 -0
  67. /package/bin/{utils.mjs → utils.js} +0 -0
  68. /package/dist/datamitsu-config/{main.d.ts → datamitsu.config.d.ts} +0 -0
package/bin/mitsu.mjs DELETED
@@ -1,52 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- import { spawn } from "node:child_process";
4
- import { join } from "node:path";
5
-
6
- let currentChild = null;
7
-
8
- function run(args) {
9
- return new Promise((resolve, reject) => {
10
- const child = spawn("node", [join(import.meta.dirname, "datamitsu.mjs"), ...args], {
11
- stdio: "inherit",
12
- });
13
-
14
- currentChild = child;
15
-
16
- child.on("exit", (code, signal) => {
17
- currentChild = null;
18
-
19
- if (signal) {
20
- reject(signal);
21
- } else if (code === 0) {
22
- resolve();
23
- } else {
24
- reject(code);
25
- }
26
- });
27
-
28
- child.on("error", reject);
29
- });
30
- }
31
-
32
- // graceful shutdown
33
- function shutdown(signal) {
34
- if (currentChild) {
35
- currentChild.kill(signal);
36
- }
37
- process.exit(128 + (signal === "SIGINT" ? 2 : 15));
38
- }
39
-
40
- process.on("SIGINT", shutdown);
41
- process.on("SIGTERM", shutdown);
42
- process.on("SIGHUP", shutdown);
43
-
44
- try {
45
- await run(["fix"]);
46
- await run(["lint"]);
47
- } catch (error) {
48
- if (typeof error === "number") {
49
- process.exit(error);
50
- }
51
- process.exit(1);
52
- }