@shibanet0/datamitsu-config 0.0.2-alpha-2 → 0.0.3-alpha-0
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/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 +307 -36
- package/dist/s0/index.js +1 -1
- package/package.json +12 -79
- 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
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// src/eslint/plugins/unused-imports.ts
|
|
2
|
-
async function unusedImports() {
|
|
3
|
-
const plugin = await import("eslint-plugin-unused-imports");
|
|
4
|
-
return [
|
|
5
|
-
{
|
|
6
|
-
name: "shibanet0/unused-imports/rules",
|
|
7
|
-
plugins: {
|
|
8
|
-
"unused-imports": plugin.default
|
|
9
|
-
},
|
|
10
|
-
rules: {
|
|
11
|
-
"no-unused-vars": "off",
|
|
12
|
-
// or "@typescript-eslint/no-unused-vars": "off",
|
|
13
|
-
"unused-imports/no-unused-imports": "error",
|
|
14
|
-
"unused-imports/no-unused-vars": [
|
|
15
|
-
"warn",
|
|
16
|
-
{
|
|
17
|
-
args: "after-used",
|
|
18
|
-
argsIgnorePattern: "^_",
|
|
19
|
-
vars: "all",
|
|
20
|
-
varsIgnorePattern: "^_"
|
|
21
|
-
}
|
|
22
|
-
]
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
];
|
|
26
|
-
}
|
|
27
|
-
export {
|
|
28
|
-
unusedImports
|
|
29
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// src/eslint/plugins/vanilla-extract.ts
|
|
2
|
-
async function vanillaExtract() {
|
|
3
|
-
const plugin = await import("@antebudimir/eslint-plugin-vanilla-extract");
|
|
4
|
-
return [
|
|
5
|
-
plugin.default.configs.recommended
|
|
6
|
-
// {
|
|
7
|
-
// files: ["**/*.css.ts"],
|
|
8
|
-
// ignores: ["src/**/theme-contract.css.ts"],
|
|
9
|
-
// name: "shibanet0/vanilla-extract/rules",
|
|
10
|
-
// plugins: {
|
|
11
|
-
// "vanilla-extract": plugin.default,
|
|
12
|
-
// },
|
|
13
|
-
// rules: {
|
|
14
|
-
// ...plugin.default.configs.recommended.rules,
|
|
15
|
-
// },
|
|
16
|
-
// },
|
|
17
|
-
];
|
|
18
|
-
}
|
|
19
|
-
export {
|
|
20
|
-
vanillaExtract
|
|
21
|
-
};
|
package/dist/vitest-OL2AMOGF.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// src/eslint/plugins/vitest.ts
|
|
2
|
-
async function vitest() {
|
|
3
|
-
const plugin = await import("@vitest/eslint-plugin");
|
|
4
|
-
return [
|
|
5
|
-
{
|
|
6
|
-
files: ["tests/**"],
|
|
7
|
-
plugins: {
|
|
8
|
-
vitest
|
|
9
|
-
},
|
|
10
|
-
rules: {
|
|
11
|
-
...plugin.default.configs.recommended.rules
|
|
12
|
-
// you can also use vitest.configs.all.rules to enable all rules
|
|
13
|
-
// 'vitest/max-nested-describe': ['error', { max: 3 }], // you can also modify rules' behavior using option like this
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
];
|
|
17
|
-
}
|
|
18
|
-
export {
|
|
19
|
-
vitest
|
|
20
|
-
};
|
package/dist/yml-EIKYT3P5.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// src/eslint/plugins/yml.ts
|
|
2
|
-
async function yml() {
|
|
3
|
-
const plugin = await import("eslint-plugin-yml");
|
|
4
|
-
return [
|
|
5
|
-
...plugin.default.configs["flat/recommended"],
|
|
6
|
-
// {
|
|
7
|
-
// name: "shibanet0/yml/rules",
|
|
8
|
-
// plugins: {
|
|
9
|
-
// yml: plugin.default,
|
|
10
|
-
// },
|
|
11
|
-
// rules: {
|
|
12
|
-
// // ...plugin.default.configs["flat/recommended"],
|
|
13
|
-
// },
|
|
14
|
-
// },
|
|
15
|
-
{
|
|
16
|
-
rules: {
|
|
17
|
-
"yml/no-multiple-empty-lines": "error",
|
|
18
|
-
"yml/sort-keys": "error"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
];
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
yml
|
|
25
|
-
};
|
/package/bin/{s0.mjs → s0.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|