@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.
- package/.oxlintrc.json +19 -0
- package/bin/{datamitsu.mjs → datamitsu.js} +3 -10
- package/bin/{tsc.mjs → tsc.js} +1 -1
- package/bin/{tsx.mjs → tsx.js} +1 -1
- package/datamitsu.config.js +4365 -0
- package/dist/datamitsu-config/agents.md.d.ts +1 -0
- package/dist/datamitsu-config/app.eslint.d.ts +1 -0
- package/dist/datamitsu-config/constants.d.ts +4 -0
- package/dist/datamitsu-config/ignore.d.ts +1 -1
- package/dist/datamitsu-config/inline-config/eslint.d.ts +1 -0
- package/dist/{datamitsu.d.ts → datamitsu.config.d.ts} +307 -36
- package/dist/s0/index.js +1 -1
- package/package.json +14 -81
- package/bin/mitsu.mjs +0 -52
- package/datamitsu.js +0 -3553
- package/dist/arrayFunc-E2CQDPH7.js +0 -24
- package/dist/arrow-return-style-QXEK7JRB.js +0 -8
- package/dist/boundaries-7E4X4KF5.js +0 -19
- package/dist/chunk-OYKSRJ7A.js +0 -54
- package/dist/clsx-M6OKU3PA.js +0 -8
- package/dist/command-3BA63SHO.js +0 -8
- package/dist/compat-6O7XHMYR.js +0 -8
- package/dist/cspell-NJAMCYWA.js +0 -8
- package/dist/deMorgan-X5NIQJEB.js +0 -18
- package/dist/depend-4TLGRJ4A.js +0 -8
- package/dist/escompat-2HZB2VKK.js +0 -8
- package/dist/eslint/index.js +0 -216
- package/dist/fsecond-U7QFID4J.js +0 -16
- package/dist/html-Q7HLWKMH.js +0 -17
- package/dist/i18next-XPRQSLOK.js +0 -8
- package/dist/import-MT776CTN.js +0 -31
- package/dist/javascript-KSG5RSYY.js +0 -36
- package/dist/jsdoc-T3RUTVU2.js +0 -8
- package/dist/json-ADTCTMIQ.js +0 -28
- package/dist/json-schema-validator-KJQPYPV7.js +0 -19
- package/dist/jsonc-5WI2LEKI.js +0 -11
- package/dist/jsx-a11y-36UJHF7N.js +0 -26
- package/dist/n-CF27VQ2A.js +0 -19
- package/dist/no-unsanitized-2CVGQCKY.js +0 -8
- package/dist/no-use-extend-native-W3ODJIMY.js +0 -19
- package/dist/oxlint-Z37R6LWE.js +0 -64
- package/dist/perfectionist-VM3ULM44.js +0 -104
- package/dist/playwright-MAN5QZRB.js +0 -19
- package/dist/pnpm-KEJEST6B.js +0 -15
- package/dist/prettier-3BKAYVNG.js +0 -18
- package/dist/promise-IOLHNOYU.js +0 -25
- package/dist/react-ZSFMBR63.js +0 -66
- package/dist/react-hooks-E3N7RURQ.js +0 -18
- package/dist/react-perf-3ZUXZLBE.js +0 -18
- package/dist/react-prefer-function-component-NSMHVGIJ.js +0 -19
- package/dist/react-refresh-RTFXBPGX.js +0 -18
- package/dist/react-you-might-not-need-an-effect-7LQCVBLO.js +0 -8
- package/dist/regexp-D6CKMCXH.js +0 -8
- package/dist/security-4AI7Q2BJ.js +0 -24
- package/dist/sonarjs-TX6OBUY7.js +0 -42
- package/dist/storybook-JDINFFX5.js +0 -19
- package/dist/stylistic-ID5P6T22.js +0 -18
- package/dist/toml-LIBZFTGW.js +0 -19
- package/dist/turbo-3YMDV64X.js +0 -19
- package/dist/typescript-KIXWXTZM.js +0 -42
- package/dist/unicorn-DIQEKCM2.js +0 -62
- package/dist/unused-imports-KTOMG7GT.js +0 -29
- package/dist/vanilla-extract-3GUV75D2.js +0 -21
- package/dist/vitest-OL2AMOGF.js +0 -20
- package/dist/yml-EIKYT3P5.js +0 -25
- /package/bin/{s0.mjs → s0.js} +0 -0
- /package/bin/{utils.mjs → utils.js} +0 -0
- /package/dist/datamitsu-config/{main.d.ts → datamitsu.config.d.ts} +0 -0
package/.oxlintrc.json
CHANGED
|
@@ -9,21 +9,40 @@
|
|
|
9
9
|
},
|
|
10
10
|
"rules": {
|
|
11
11
|
"sort-keys": "off",
|
|
12
|
+
"no-duplicate-imports": "off",
|
|
12
13
|
"unicorn/prefer-query-selector": "off",
|
|
14
|
+
"no-lonely-if": "off",
|
|
13
15
|
"unicorn/prefer-string-raw": "off",
|
|
14
16
|
"array-type": "off",
|
|
17
|
+
"no-negated-condition": "off",
|
|
15
18
|
"arrow-body-style": "off",
|
|
19
|
+
"unicorn/prefer-global-this": "off",
|
|
20
|
+
"unicorn/consistent-function-scoping": "off",
|
|
21
|
+
"array-callback-return": "off",
|
|
22
|
+
"new-cap": "off",
|
|
23
|
+
"prefer-exponentiation-operator": "off",
|
|
24
|
+
"typescript-eslint/ban-types": "off",
|
|
25
|
+
"unicorn/prefer-top-level-await": "off",
|
|
26
|
+
"max-params": "off",
|
|
27
|
+
"no-promise-executor-return": "off",
|
|
28
|
+
"unicorn/no-useless-collection-argument": "off",
|
|
29
|
+
"unicorn/no-lonely-if": "off",
|
|
30
|
+
"no-map-spread": "off",
|
|
16
31
|
"capitalized-comments": "off",
|
|
32
|
+
"unicorn/prefer-array-some": "off",
|
|
17
33
|
"eqeqeq": "off",
|
|
34
|
+
"func-names": "off",
|
|
18
35
|
"func-style": "off",
|
|
19
36
|
"id-length": "off",
|
|
20
37
|
"init-declarations": "off",
|
|
21
38
|
"max-lines": "off",
|
|
22
39
|
"max-lines-per-function": "off",
|
|
40
|
+
"max-statements": "off",
|
|
23
41
|
"no-await-in-loop": "off",
|
|
24
42
|
"no-inline-comments": "off",
|
|
25
43
|
"no-magic-numbers": "off",
|
|
26
44
|
"no-ternary": "off",
|
|
45
|
+
"no-unused-vars": "off",
|
|
27
46
|
"no-warning-comments": "off",
|
|
28
47
|
"prefer-destructuring": "off",
|
|
29
48
|
"prefer-template": "off",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { spawn } from "node:child_process";
|
|
4
4
|
import { join } from "node:path";
|
|
5
5
|
|
|
6
|
-
import { getBinaryFilepath } from "./utils.
|
|
6
|
+
import { getBinaryFilepath } from "./utils.js";
|
|
7
7
|
|
|
8
8
|
const arguments_ = process.argv.slice(2);
|
|
9
9
|
|
|
@@ -15,23 +15,16 @@ const child = spawn(
|
|
|
15
15
|
"node",
|
|
16
16
|
[
|
|
17
17
|
getBinaryFilepath("@datamitsu/datamitsu/package.json", "../bin/index.js"),
|
|
18
|
-
"--config",
|
|
19
|
-
join(import.meta.dirname, "../datamitsu.js"),
|
|
18
|
+
"--before-config",
|
|
19
|
+
join(import.meta.dirname, "../datamitsu.config.js"),
|
|
20
20
|
...arguments_,
|
|
21
21
|
],
|
|
22
22
|
{
|
|
23
23
|
env: {
|
|
24
24
|
...process.env,
|
|
25
25
|
DATAMITSU_APP_COMMITLINT_BINARY_FILEPATH: getBinaryFilepath("@commitlint/cli", "../cli.js"),
|
|
26
|
-
DATAMITSU_APP_ESLINT_BINARY_FILEPATH: getBinaryFilepath("eslint", "../../bin/eslint.js"),
|
|
27
|
-
DATAMITSU_APP_KNIP_BINARY_FILEPATH: getBinaryFilepath("knip", "../../bin/knip.js"),
|
|
28
26
|
DATAMITSU_APP_OXLINT_BINARY_FILEPATH: getBinaryFilepath("oxlint", "../../bin/oxlint"),
|
|
29
27
|
DATAMITSU_APP_PRETTIER_BINARY_FILEPATH: getBinaryFilepath("prettier", "../bin/prettier.cjs"),
|
|
30
|
-
DATAMITSU_APP_SORT_PACKAGE_JSON_BINARY_FILEPATH: getBinaryFilepath(
|
|
31
|
-
"sort-package-json",
|
|
32
|
-
"../cli.js",
|
|
33
|
-
),
|
|
34
|
-
DATAMITSU_APP_SYNCPACK_BINARY_FILEPATH: getBinaryFilepath("syncpack/index.cjs", ""),
|
|
35
28
|
DATAMITSU_APP_TSC_BINARY_FILEPATH: getBinaryFilepath("typescript/package.json", "../bin/tsc"),
|
|
36
29
|
DATAMITSU_PACKAGE_NAME: process.env.DATAMITSU_PACKAGE_NAME || "@shibanet0/datamitsu-config",
|
|
37
30
|
},
|
package/bin/{tsc.mjs → tsc.js}
RENAMED