@shibanet0/datamitsu-config 0.0.1-alpha-22 → 0.0.1-alpha-24
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 +5 -4
- package/datamitsu.js +130 -74
- package/dist/arrow-return-style-QXEK7JRB.js +8 -0
- package/dist/boundaries-7E4X4KF5.js +19 -0
- package/dist/clsx-M6OKU3PA.js +8 -0
- package/dist/clsx-S7LTRDUJ.js +8 -0
- package/dist/command-3BA63SHO.js +8 -0
- package/dist/command-DSHZBIFC.js +10 -0
- package/dist/compat-6O7XHMYR.js +8 -0
- package/dist/cspell-NJAMCYWA.js +8 -0
- package/dist/cspell-TO7G3MKP.js +10 -0
- package/dist/depend-4TLGRJ4A.js +8 -0
- package/dist/dist-HY4C5Z2A.js +145 -0
- package/dist/escompat-2HZB2VKK.js +8 -0
- package/dist/escompat-4SQ3LROQ.js +11 -0
- package/dist/escompat-LOSSJ2E4.js +11 -0
- package/dist/escompat-TAO52CFN.js +10 -0
- package/dist/eslint/index.js +59 -59
- package/dist/eslint/plugins/clsx.d.ts +2 -0
- package/dist/eslint/plugins/command.d.ts +2 -0
- package/dist/eslint/plugins/cspell.d.ts +2 -0
- package/dist/eslint/plugins/escompat.d.ts +2 -0
- package/dist/eslint/plugins/fsecond.d.ts +2 -0
- package/dist/eslint/plugins/html.d.ts +2 -0
- package/dist/eslint/plugins/i18next.d.ts +2 -0
- package/dist/eslint/plugins/jsonc.d.ts +2 -0
- package/dist/eslint/plugins/oxlint.d.ts +5 -0
- package/dist/eslint/plugins/pnpm.d.ts +2 -0
- package/dist/eslint/plugins/react.d.ts +4 -1
- package/dist/eslint/plugins/stylistic.d.ts +2 -0
- package/dist/eslint/plugins/vitest.d.ts +2 -0
- package/dist/eslint/types.d.ts +35 -0
- package/dist/fsecond-3RU4GC2P.js +8 -0
- package/dist/fsecond-L3WD5A5A.js +13 -0
- package/dist/fsecond-T4KZEO22.js +12 -0
- package/dist/fsecond-U7QFID4J.js +16 -0
- package/dist/html-Q7HLWKMH.js +17 -0
- package/dist/i18next-QAQGS665.js +10 -0
- package/dist/i18next-XPRQSLOK.js +8 -0
- package/dist/jsdoc-T3RUTVU2.js +8 -0
- package/dist/jsonc-4Q5WZVF3.js +12 -0
- package/dist/jsonc-5WI2LEKI.js +11 -0
- package/dist/jsonc-C4HCFU4B.js +10 -0
- package/dist/no-unsanitized-2CVGQCKY.js +8 -0
- package/dist/oxlint-5VSAV63M.js +58 -0
- package/dist/oxlint-ESXR6S2H.js +55 -0
- package/dist/oxlint-SQKVSEWV.js +58 -0
- package/dist/oxlint-UN6IGLH6.js +55 -0
- package/dist/pnpm-KEJEST6B.js +15 -0
- package/dist/pnpm-KXXRNMOS.js +10 -0
- package/dist/react-QYLHZO2Q.js +66 -0
- package/dist/react-ZSFMBR63.js +66 -0
- package/dist/react-you-might-not-need-an-effect-7LQCVBLO.js +8 -0
- package/dist/regexp-D6CKMCXH.js +8 -0
- package/dist/s0/__tests__/helpers/mockCrypto.d.ts +1 -1
- package/dist/s0/index.js +30 -51
- package/dist/s0/utils/encryption.d.ts +8 -6
- package/dist/stylistic-ID5P6T22.js +18 -0
- package/dist/stylistic-XPSWOXE5.js +18 -0
- package/dist/unused-imports-B24FSXNB.js +29 -0
- package/dist/vitest-OL2AMOGF.js +20 -0
- package/oxlint_configuration_schema.json +14 -2
- package/package.json +30 -14
package/.oxlintrc.json
CHANGED
|
@@ -13,23 +13,24 @@
|
|
|
13
13
|
"capitalized-comments": "off",
|
|
14
14
|
"func-style": "off",
|
|
15
15
|
"id-length": "off",
|
|
16
|
+
"init-declarations": "off",
|
|
16
17
|
"max-lines": "off",
|
|
17
18
|
"max-lines-per-function": "off",
|
|
19
|
+
"no-await-in-loop": "off",
|
|
18
20
|
"no-inline-comments": "off",
|
|
19
21
|
"no-magic-numbers": "off",
|
|
20
22
|
"no-ternary": "off",
|
|
21
23
|
"no-warning-comments": "off",
|
|
22
|
-
"init-declarations": "off",
|
|
23
24
|
"prefer-destructuring": "off",
|
|
24
|
-
"no-await-in-loop": "off",
|
|
25
|
-
"require-await":"off",
|
|
26
|
-
"unicorn/no-object-as-default-parameter":"off",
|
|
27
25
|
"prefer-template": "off",
|
|
26
|
+
"require-await": "off",
|
|
28
27
|
"sort-imports": "off",
|
|
28
|
+
"max-statements": "off",
|
|
29
29
|
"triple-slash-reference": "off",
|
|
30
30
|
"unicorn/filename-case": "off",
|
|
31
31
|
"unicorn/no-array-sort": "off",
|
|
32
32
|
"unicorn/no-null": "off",
|
|
33
|
+
"unicorn/no-object-as-default-parameter": "off",
|
|
33
34
|
"unicorn/require-module-specifiers": "off"
|
|
34
35
|
}
|
|
35
36
|
}
|
package/datamitsu.js
CHANGED
|
@@ -1789,76 +1789,92 @@ var mapOfApps = {
|
|
|
1789
1789
|
|
|
1790
1790
|
// package.json
|
|
1791
1791
|
var name = "@shibanet0/datamitsu-config";
|
|
1792
|
-
var version = "0.0.1-alpha-
|
|
1792
|
+
var version = "0.0.1-alpha-23";
|
|
1793
1793
|
var dependencies = {
|
|
1794
1794
|
"@antebudimir/eslint-plugin-vanilla-extract": "1.16.0",
|
|
1795
1795
|
"@commander-js/extra-typings": "14.0.0",
|
|
1796
|
-
"@commitlint/cli": "20.
|
|
1797
|
-
"@commitlint/config-conventional": "20.
|
|
1796
|
+
"@commitlint/cli": "20.3.0",
|
|
1797
|
+
"@commitlint/config-conventional": "20.3.0",
|
|
1798
1798
|
"@commitlint/format": "20.2.0",
|
|
1799
1799
|
"@commitlint/types": "20.2.0",
|
|
1800
1800
|
"@cspell/eslint-plugin": "9.4.0",
|
|
1801
|
-
"@datamitsu/datamitsu": "0.0.1-alpha-
|
|
1801
|
+
"@datamitsu/datamitsu": "0.0.1-alpha-61",
|
|
1802
1802
|
"@eslint/config-helpers": "0.5.0",
|
|
1803
1803
|
"@eslint/js": "9.39.2",
|
|
1804
|
+
"@next/eslint-plugin-next": "16.1.1",
|
|
1804
1805
|
"@prettier/plugin-xml": "3.4.2",
|
|
1805
1806
|
"@stylistic/eslint-plugin": "5.6.1",
|
|
1807
|
+
"@vitejs/plugin-react": "5.1.2",
|
|
1808
|
+
"@vitest/eslint-plugin": "1.6.5",
|
|
1806
1809
|
commander: "14.0.2",
|
|
1807
1810
|
"conventional-changelog-conventionalcommits": "9.1.0",
|
|
1808
1811
|
eslint: "9.39.2",
|
|
1809
1812
|
"eslint-config-prettier": "10.1.8",
|
|
1810
1813
|
"eslint-flat-config-utils": "2.1.4",
|
|
1814
|
+
"eslint-import-resolver-typescript": "4.4.4",
|
|
1811
1815
|
"eslint-plugin-array-func": "5.1.0",
|
|
1812
1816
|
"eslint-plugin-arrow-return-style": "1.3.1",
|
|
1817
|
+
"eslint-plugin-baseline-js": "0.4.2",
|
|
1813
1818
|
"eslint-plugin-boundaries": "5.3.1",
|
|
1819
|
+
"eslint-plugin-clsx": "0.0.12",
|
|
1820
|
+
"eslint-plugin-command": "3.4.0",
|
|
1814
1821
|
"eslint-plugin-compat": "6.0.2",
|
|
1815
1822
|
"eslint-plugin-de-morgan": "2.0.0",
|
|
1823
|
+
"eslint-plugin-decorator-position": "6.0.0",
|
|
1816
1824
|
"eslint-plugin-depend": "1.4.0",
|
|
1825
|
+
"eslint-plugin-es-x": "9.3.0",
|
|
1826
|
+
"eslint-plugin-escompat": "3.11.4",
|
|
1827
|
+
"eslint-plugin-eslint-comments": "3.2.0",
|
|
1828
|
+
"eslint-plugin-filenames": "1.3.2",
|
|
1817
1829
|
"eslint-plugin-fsecond": "1.4.0",
|
|
1818
1830
|
"eslint-plugin-functional": "9.0.2",
|
|
1831
|
+
"eslint-plugin-html": "8.1.3",
|
|
1832
|
+
"eslint-plugin-i18next": "6.1.3",
|
|
1819
1833
|
"eslint-plugin-import": "2.32.0",
|
|
1820
1834
|
"eslint-plugin-jsdoc": "61.5.0",
|
|
1821
1835
|
"eslint-plugin-json": "4.0.1",
|
|
1822
1836
|
"eslint-plugin-json-schema-validator": "5.5.0",
|
|
1837
|
+
"eslint-plugin-jsonc": "2.21.0",
|
|
1823
1838
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
1824
1839
|
"eslint-plugin-n": "17.23.1",
|
|
1825
1840
|
"eslint-plugin-no-unsanitized": "4.1.4",
|
|
1826
1841
|
"eslint-plugin-no-use-extend-native": "0.7.2",
|
|
1827
|
-
"eslint-plugin-oxlint": "1.
|
|
1842
|
+
"eslint-plugin-oxlint": "1.36.0",
|
|
1828
1843
|
"eslint-plugin-perfectionist": "4.15.1",
|
|
1829
1844
|
"eslint-plugin-playwright": "2.4.0",
|
|
1845
|
+
"eslint-plugin-pnpm": "1.4.3",
|
|
1830
1846
|
"eslint-plugin-promise": "7.2.1",
|
|
1831
1847
|
"eslint-plugin-react": "7.37.5",
|
|
1832
1848
|
"eslint-plugin-react-hooks": "7.0.1",
|
|
1833
1849
|
"eslint-plugin-react-perf": "3.3.3",
|
|
1834
1850
|
"eslint-plugin-react-prefer-function-component": "5.0.0",
|
|
1835
1851
|
"eslint-plugin-react-refresh": "0.4.26",
|
|
1836
|
-
"eslint-plugin-react-you-might-not-need-an-effect": "0.8.
|
|
1852
|
+
"eslint-plugin-react-you-might-not-need-an-effect": "0.8.3",
|
|
1837
1853
|
"eslint-plugin-regexp": "2.10.0",
|
|
1838
1854
|
"eslint-plugin-security": "3.0.1",
|
|
1839
1855
|
"eslint-plugin-sonarjs": "3.0.5",
|
|
1840
|
-
"eslint-plugin-storybook": "10.1.
|
|
1856
|
+
"eslint-plugin-storybook": "10.1.11",
|
|
1841
1857
|
"eslint-plugin-toml": "0.12.0",
|
|
1842
|
-
"eslint-plugin-turbo": "2.
|
|
1858
|
+
"eslint-plugin-turbo": "2.7.2",
|
|
1843
1859
|
"eslint-plugin-unicorn": "62.0.0",
|
|
1844
1860
|
"eslint-plugin-yml": "1.19.1",
|
|
1845
1861
|
execa: "9.6.1",
|
|
1846
1862
|
"fast-glob": "3.3.3",
|
|
1847
|
-
globals: "
|
|
1848
|
-
knip: "5.
|
|
1849
|
-
oxlint: "1.
|
|
1863
|
+
globals: "17.0.0",
|
|
1864
|
+
knip: "5.79.0",
|
|
1865
|
+
oxlint: "1.36.0",
|
|
1850
1866
|
prettier: "3.7.4",
|
|
1851
|
-
"prettier-plugin-embed": "0.5.
|
|
1867
|
+
"prettier-plugin-embed": "0.5.1",
|
|
1852
1868
|
"prettier-plugin-jsdoc": "1.8.0",
|
|
1853
1869
|
"prettier-plugin-sql": "0.19.2",
|
|
1854
1870
|
publint: "0.3.16",
|
|
1855
1871
|
"sort-package-json": "3.6.0",
|
|
1856
|
-
syncpack: "14.0.0-alpha.
|
|
1872
|
+
syncpack: "14.0.0-alpha.34",
|
|
1857
1873
|
tsup: "8.5.1",
|
|
1858
1874
|
tsx: "4.21.0",
|
|
1859
1875
|
"type-fest": "5.3.1",
|
|
1860
1876
|
typescript: "5.9.3",
|
|
1861
|
-
"typescript-eslint": "8.
|
|
1877
|
+
"typescript-eslint": "8.51.0"
|
|
1862
1878
|
};
|
|
1863
1879
|
|
|
1864
1880
|
// src/oxlint/index.ts
|
|
@@ -2292,6 +2308,7 @@ var init = {
|
|
|
2292
2308
|
"jock.svg",
|
|
2293
2309
|
"johnsoncodehk.vscode-tsconfig-helper",
|
|
2294
2310
|
"kisstkondoros.typelens",
|
|
2311
|
+
"kvoon.vscode-eslint-codemod",
|
|
2295
2312
|
"MermaidChart.vscode-mermaid-chart",
|
|
2296
2313
|
"mikestead.dotenv",
|
|
2297
2314
|
"myriad-dreamin.tinymist",
|
|
@@ -2511,21 +2528,59 @@ var init = {
|
|
|
2511
2528
|
},
|
|
2512
2529
|
"eslint.config.js": {
|
|
2513
2530
|
content: () => {
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2531
|
+
if (env().DATAMITSU_DEV_MODE) {
|
|
2532
|
+
return `import { join } from "node:path";
|
|
2533
|
+
|
|
2534
|
+
import { defineConfig } from "./dist/eslint/index.js";
|
|
2535
|
+
import packageJSON from "./package.json" with { type: "json" };
|
|
2536
|
+
|
|
2537
|
+
const config = await defineConfig(
|
|
2538
|
+
/** @type {import("./dist/type-fest").PackageJson} */ (packageJSON),
|
|
2539
|
+
undefined,
|
|
2540
|
+
{
|
|
2541
|
+
plugins: {
|
|
2542
|
+
oxlint: {
|
|
2543
|
+
configFilePath: join(import.meta.dirname, ".oxlintrc.json"),
|
|
2544
|
+
},
|
|
2545
|
+
react: {
|
|
2546
|
+
version: "19.2.3",
|
|
2547
|
+
},
|
|
2548
|
+
},
|
|
2549
|
+
react: true,
|
|
2550
|
+
},
|
|
2551
|
+
);
|
|
2552
|
+
|
|
2553
|
+
export default [
|
|
2554
|
+
...config,
|
|
2555
|
+
{
|
|
2556
|
+
rules: {
|
|
2557
|
+
"playwright/no-standalone-expect": "off",
|
|
2558
|
+
"unicorn/no-object-as-default-parameter": "off",
|
|
2559
|
+
},
|
|
2560
|
+
},
|
|
2561
|
+
];
|
|
2562
|
+
`;
|
|
2563
|
+
}
|
|
2564
|
+
return `import { join } from "node:path";
|
|
2565
|
+
|
|
2566
|
+
import { defineConfig } from "${facts().env.DATAMITSU_PACKAGE_NAME}/eslint";
|
|
2567
|
+
|
|
2568
|
+
import packageJSON from "./package.json" with { type: "json" };
|
|
2569
|
+
|
|
2570
|
+
const config = await defineConfig(
|
|
2571
|
+
/** @type {import("${facts().env.DATAMITSU_PACKAGE_NAME}/type-fest").PackageJson} */ (packageJSON),
|
|
2572
|
+
undefined,
|
|
2573
|
+
{
|
|
2574
|
+
plugins: {
|
|
2575
|
+
oxlint: {
|
|
2576
|
+
configFilePath: join(import.meta.dirname, ".oxlintrc.json"),
|
|
2577
|
+
},
|
|
2578
|
+
},
|
|
2579
|
+
},
|
|
2580
|
+
);
|
|
2581
|
+
|
|
2582
|
+
export default config;
|
|
2583
|
+
`;
|
|
2529
2584
|
},
|
|
2530
2585
|
otherFileNameList: [
|
|
2531
2586
|
"eslint.config.js",
|
|
@@ -2913,7 +2968,23 @@ var indentSettings = {
|
|
|
2913
2968
|
};
|
|
2914
2969
|
|
|
2915
2970
|
// src/datamitsu-config/tools.ts
|
|
2971
|
+
var eslintGlobs = [
|
|
2972
|
+
"**/*.js",
|
|
2973
|
+
"**/*.mjs",
|
|
2974
|
+
"**/*.cjs",
|
|
2975
|
+
"**/*.ts",
|
|
2976
|
+
"**/*.mts",
|
|
2977
|
+
"**/*.cts",
|
|
2978
|
+
"**/*.tsx",
|
|
2979
|
+
"**/*.html",
|
|
2980
|
+
"**/*.json",
|
|
2981
|
+
"**/*.jsonc",
|
|
2982
|
+
"**/*.json5",
|
|
2983
|
+
"**/*.yaml",
|
|
2984
|
+
"**/*.yml"
|
|
2985
|
+
];
|
|
2916
2986
|
var prettierGlobs = [
|
|
2987
|
+
// ...eslintGlobs,
|
|
2917
2988
|
// "**/*.js",
|
|
2918
2989
|
// "**/*.mjs",
|
|
2919
2990
|
// "**/*.cjs",
|
|
@@ -2926,18 +2997,6 @@ var prettierGlobs = [
|
|
|
2926
2997
|
// "**/*.yaml",
|
|
2927
2998
|
// "**/*.md",
|
|
2928
2999
|
];
|
|
2929
|
-
var eslintGlobs = [
|
|
2930
|
-
"**/*.js",
|
|
2931
|
-
"**/*.mjs",
|
|
2932
|
-
"**/*.cjs",
|
|
2933
|
-
"**/*.ts",
|
|
2934
|
-
"**/*.mts",
|
|
2935
|
-
"**/*.cts",
|
|
2936
|
-
"**/*.tsx",
|
|
2937
|
-
"**/*.json",
|
|
2938
|
-
"**/*.yaml",
|
|
2939
|
-
"**/*.yml"
|
|
2940
|
-
];
|
|
2941
3000
|
var oxlintGlobs = [
|
|
2942
3001
|
"**/*.js",
|
|
2943
3002
|
"**/*.mjs",
|
|
@@ -2990,22 +3049,22 @@ var toolsConfig = {
|
|
|
2990
3049
|
operations: {
|
|
2991
3050
|
fix: {
|
|
2992
3051
|
args: ["--quiet", "--fix", "-c", "{cwd}/eslint.config.js", "{files}"],
|
|
3052
|
+
batch: true,
|
|
2993
3053
|
command: "eslint",
|
|
2994
3054
|
globs: eslintGlobs,
|
|
2995
|
-
mode: "batch",
|
|
2996
3055
|
priority: toolPriority.eslint,
|
|
2997
|
-
|
|
3056
|
+
scope: "per-project"
|
|
2998
3057
|
},
|
|
2999
3058
|
lint: {
|
|
3000
3059
|
args: ["--quiet", "{files}"],
|
|
3060
|
+
batch: true,
|
|
3001
3061
|
command: "eslint",
|
|
3002
3062
|
globs: eslintGlobs,
|
|
3003
|
-
mode: "batch",
|
|
3004
3063
|
priority: toolPriority.eslint,
|
|
3005
|
-
|
|
3064
|
+
scope: "per-project"
|
|
3006
3065
|
}
|
|
3007
3066
|
},
|
|
3008
|
-
projectTypes: ["npm-package"
|
|
3067
|
+
projectTypes: ["npm-package"]
|
|
3009
3068
|
},
|
|
3010
3069
|
// gitleaks: {
|
|
3011
3070
|
// name: "gitleaks",
|
|
@@ -3026,19 +3085,15 @@ var toolsConfig = {
|
|
|
3026
3085
|
args: ["run", "--fix"],
|
|
3027
3086
|
command: "golangci-lint",
|
|
3028
3087
|
globs: ["**/*.go"],
|
|
3029
|
-
mode: "whole-project",
|
|
3030
3088
|
priority: toolPriority["golangci-lint"],
|
|
3031
|
-
|
|
3032
|
-
workingDir: "project-root"
|
|
3089
|
+
scope: "per-project"
|
|
3033
3090
|
},
|
|
3034
3091
|
lint: {
|
|
3035
3092
|
args: ["run"],
|
|
3036
3093
|
command: "golangci-lint",
|
|
3037
3094
|
globs: ["**/*.go"],
|
|
3038
|
-
mode: "whole-project",
|
|
3039
3095
|
priority: toolPriority["golangci-lint"],
|
|
3040
|
-
|
|
3041
|
-
workingDir: "project-root"
|
|
3096
|
+
scope: "per-project"
|
|
3042
3097
|
}
|
|
3043
3098
|
},
|
|
3044
3099
|
projectTypes: ["golang-package"]
|
|
@@ -3059,19 +3114,19 @@ var toolsConfig = {
|
|
|
3059
3114
|
operations: {
|
|
3060
3115
|
fix: {
|
|
3061
3116
|
args: ["--fix", "{files}"],
|
|
3117
|
+
batch: true,
|
|
3062
3118
|
command: "oxlint",
|
|
3063
3119
|
globs: oxlintGlobs,
|
|
3064
|
-
mode: "batch",
|
|
3065
3120
|
priority: toolPriority.oxlint,
|
|
3066
|
-
|
|
3121
|
+
scope: "per-project"
|
|
3067
3122
|
},
|
|
3068
3123
|
lint: {
|
|
3069
3124
|
args: ["{files}"],
|
|
3125
|
+
batch: true,
|
|
3070
3126
|
command: "oxlint",
|
|
3071
3127
|
globs: oxlintGlobs,
|
|
3072
|
-
mode: "batch",
|
|
3073
3128
|
priority: toolPriority.oxlint,
|
|
3074
|
-
|
|
3129
|
+
scope: "per-project"
|
|
3075
3130
|
}
|
|
3076
3131
|
},
|
|
3077
3132
|
projectTypes: ["npm-package", "typescript-project"]
|
|
@@ -3099,10 +3154,11 @@ var toolsConfig = {
|
|
|
3099
3154
|
tools.Path.join(facts().gitRoot, "prettier.config.js"),
|
|
3100
3155
|
"{files}"
|
|
3101
3156
|
],
|
|
3157
|
+
batch: true,
|
|
3102
3158
|
command: "prettier",
|
|
3103
3159
|
globs: prettierGlobs,
|
|
3104
|
-
|
|
3105
|
-
|
|
3160
|
+
priority: toolPriority.prettier,
|
|
3161
|
+
scope: "per-project"
|
|
3106
3162
|
},
|
|
3107
3163
|
lint: {
|
|
3108
3164
|
args: [
|
|
@@ -3112,10 +3168,11 @@ var toolsConfig = {
|
|
|
3112
3168
|
tools.Path.join(facts().gitRoot, "prettier.config.js"),
|
|
3113
3169
|
"{files}"
|
|
3114
3170
|
],
|
|
3171
|
+
batch: true,
|
|
3115
3172
|
command: "prettier",
|
|
3116
3173
|
globs: prettierGlobs,
|
|
3117
|
-
|
|
3118
|
-
|
|
3174
|
+
priority: toolPriority.prettier,
|
|
3175
|
+
scope: "per-project"
|
|
3119
3176
|
}
|
|
3120
3177
|
},
|
|
3121
3178
|
projectTypes: ["npm-package", "typescript-project"]
|
|
@@ -3154,19 +3211,19 @@ var toolsConfig = {
|
|
|
3154
3211
|
operations: {
|
|
3155
3212
|
fix: {
|
|
3156
3213
|
args: ["--quiet"],
|
|
3214
|
+
batch: false,
|
|
3157
3215
|
command: "sort-package-json",
|
|
3158
3216
|
globs: ["**/package.json"],
|
|
3159
|
-
mode: "per-file",
|
|
3160
3217
|
priority: toolPriority["sort-package-json"],
|
|
3161
|
-
|
|
3218
|
+
scope: "per-file"
|
|
3162
3219
|
},
|
|
3163
3220
|
lint: {
|
|
3164
3221
|
args: ["--check", "--quiet"],
|
|
3222
|
+
batch: false,
|
|
3165
3223
|
command: "sort-package-json",
|
|
3166
3224
|
globs: ["**/package.json"],
|
|
3167
|
-
mode: "per-file",
|
|
3168
3225
|
priority: toolPriority["sort-package-json"],
|
|
3169
|
-
|
|
3226
|
+
scope: "per-file"
|
|
3170
3227
|
}
|
|
3171
3228
|
},
|
|
3172
3229
|
projectTypes: ["npm-package", "typescript-project"]
|
|
@@ -3178,15 +3235,15 @@ var toolsConfig = {
|
|
|
3178
3235
|
args: ["fix", "--config", tools.Path.join(facts().gitRoot, ".syncpackrc.json")],
|
|
3179
3236
|
command: "syncpack",
|
|
3180
3237
|
globs: ["**/package.json"],
|
|
3181
|
-
|
|
3182
|
-
|
|
3238
|
+
priority: toolPriority.syncpack,
|
|
3239
|
+
scope: "repository"
|
|
3183
3240
|
},
|
|
3184
3241
|
lint: {
|
|
3185
3242
|
args: ["lint", "--config", tools.Path.join(facts().gitRoot, ".syncpackrc.json")],
|
|
3186
3243
|
command: "syncpack",
|
|
3187
3244
|
globs: ["**/package.json"],
|
|
3188
|
-
|
|
3189
|
-
|
|
3245
|
+
priority: toolPriority.syncpack,
|
|
3246
|
+
scope: "repository"
|
|
3190
3247
|
}
|
|
3191
3248
|
},
|
|
3192
3249
|
projectTypes: ["npm-package", "typescript-project"]
|
|
@@ -3203,9 +3260,8 @@ var toolsConfig = {
|
|
|
3203
3260
|
],
|
|
3204
3261
|
command: "tsc",
|
|
3205
3262
|
globs: ["**/*.d.ts", "**/*.ts", "**/*.mts", "**/*.cts", "**/*.tsx"],
|
|
3206
|
-
mode: "whole-project",
|
|
3207
3263
|
priority: toolPriority.tsc,
|
|
3208
|
-
|
|
3264
|
+
scope: "per-project"
|
|
3209
3265
|
}
|
|
3210
3266
|
},
|
|
3211
3267
|
projectTypes: ["typescript-project"]
|
|
@@ -3225,8 +3281,8 @@ var toolsConfig = {
|
|
|
3225
3281
|
],
|
|
3226
3282
|
command: "typstyle",
|
|
3227
3283
|
globs: ["**/*.typ"],
|
|
3228
|
-
|
|
3229
|
-
|
|
3284
|
+
priority: toolPriority.typstyle,
|
|
3285
|
+
scope: "per-file"
|
|
3230
3286
|
},
|
|
3231
3287
|
lint: {
|
|
3232
3288
|
args: [
|
|
@@ -3240,8 +3296,8 @@ var toolsConfig = {
|
|
|
3240
3296
|
],
|
|
3241
3297
|
command: "typstyle",
|
|
3242
3298
|
globs: ["**/*.typ"],
|
|
3243
|
-
|
|
3244
|
-
|
|
3299
|
+
priority: toolPriority.typstyle,
|
|
3300
|
+
scope: "per-file"
|
|
3245
3301
|
}
|
|
3246
3302
|
}
|
|
3247
3303
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// src/eslint/plugins/boundaries.ts
|
|
2
|
+
async function boundaries() {
|
|
3
|
+
const plugin = await import("eslint-plugin-boundaries");
|
|
4
|
+
return [
|
|
5
|
+
{
|
|
6
|
+
plugins: { boundaries: plugin.default },
|
|
7
|
+
settings: {
|
|
8
|
+
// "boundaries/elements": [
|
|
9
|
+
// { type: "controllers", pattern: "controllers/*" },
|
|
10
|
+
// { type: "models", pattern: "models/*" },
|
|
11
|
+
// { type: "views", pattern: "views/*" }
|
|
12
|
+
// ]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
];
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
boundaries
|
|
19
|
+
};
|