@elliemae/pui-cli 7.0.0-beta.9 → 7.2.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/README.md +4 -0
- package/{lib/babel/babel.config.js → dist/cjs/babel.config.cjs} +3 -7
- package/dist/cjs/cli.js +53 -0
- package/dist/cjs/commands/build.js +81 -0
- package/dist/cjs/commands/codemod.js +55 -0
- package/dist/cjs/commands/gendoc.js +53 -0
- package/dist/cjs/commands/lint.js +95 -0
- package/dist/cjs/commands/pack.js +98 -0
- package/dist/cjs/commands/start.js +76 -0
- package/dist/cjs/commands/storybook.js +71 -0
- package/dist/cjs/commands/test.js +100 -0
- package/dist/cjs/commands/tscheck.js +82 -0
- package/dist/cjs/commands/utils.js +157 -0
- package/dist/cjs/commands/version.js +77 -0
- package/dist/cjs/commands/vitest.js +93 -0
- package/dist/cjs/dummy.js +1 -0
- package/dist/cjs/index.cjs +25 -0
- package/dist/cjs/index.js +42 -0
- package/dist/cjs/jsdoc.conf.json +17 -0
- package/dist/cjs/lint-config/commitlint.config.cjs +1 -0
- package/{lib/lint/eslint/common.js → dist/cjs/lint-config/eslint/common.cjs} +5 -5
- package/{lib/lint/eslint/non-react.js → dist/cjs/lint-config/eslint/non-react.cjs} +2 -2
- package/{lib/lint/eslint/react.js → dist/cjs/lint-config/eslint/react.cjs} +2 -2
- package/{lib/lint/eslint/typescript/common.js → dist/cjs/lint-config/eslint/typescript/common.cjs} +1 -1
- package/{lib/lint/eslint/typescript/non-react.js → dist/cjs/lint-config/eslint/typescript/non-react.cjs} +2 -2
- package/{lib/lint/eslint/typescript/react.js → dist/cjs/lint-config/eslint/typescript/react.cjs} +2 -2
- package/dist/cjs/lint-config/lint-staged.config.js +40 -0
- package/{lib/lint/prettier.config.js → dist/cjs/lint-config/prettier.config.cjs} +1 -1
- package/{lib/lint/stylelint.config.js → dist/cjs/lint-config/stylelint.config.cjs} +2 -2
- package/dist/cjs/monorepo/delete-merged-tags.js +58 -0
- package/dist/cjs/monorepo/set-registry-version.js +49 -0
- package/dist/cjs/monorepo/set-workspace-version.js +56 -0
- package/{lib/monorepo/utils.js → dist/cjs/monorepo/utils.cjs} +17 -2
- package/dist/cjs/package.json +4 -0
- package/dist/cjs/pui-config.js +44 -0
- package/{lib/release/release.config.js → dist/cjs/release.config.cjs} +0 -0
- package/{lib/server/util/index.js → dist/cjs/server/app-routes.cjs} +5 -15
- package/dist/cjs/server/csp.js +94 -0
- package/dist/cjs/server/index.js +34 -0
- package/dist/cjs/server/logger.js +58 -0
- package/dist/cjs/server/middlewares.js +75 -0
- package/dist/cjs/server/utils.js +39 -0
- package/{lib/testing/jest.config.js → dist/cjs/testing/jest.config.cjs} +10 -10
- package/{lib/testing/jest.node.config.js → dist/cjs/testing/jest.node.config.cjs} +1 -1
- package/dist/cjs/testing/mocks/axios.js +38 -0
- package/dist/cjs/testing/mocks/cssModule.js +24 -0
- package/dist/cjs/testing/mocks/html.js +24 -0
- package/dist/cjs/testing/mocks/image.js +24 -0
- package/dist/cjs/testing/mocks/matchMedia.js +44 -0
- package/dist/cjs/testing/mocks/pui-app-loader.js +25 -0
- package/dist/cjs/testing/mocks/pui-diagnostics.js +69 -0
- package/dist/cjs/testing/mocks/pui-user-monitoring.js +31 -0
- package/dist/cjs/testing/mocks/retry-axios.js +28 -0
- package/dist/cjs/testing/mocks/svg.js +33 -0
- package/dist/cjs/testing/mocks/webpack-hmr.js +25 -0
- package/{lib/testing/resolver.js → dist/cjs/testing/resolver.cjs} +0 -0
- package/dist/cjs/testing/setup-react-env.js +22 -0
- package/dist/cjs/testing/setup-test-env.js +23 -0
- package/dist/cjs/testing/setup-tests.js +69 -0
- package/dist/cjs/testing/vitest.config.js +52 -0
- package/{lib → dist/cjs}/transpile/.swcrc +0 -0
- package/dist/cjs/transpile/esbuild.js +134 -0
- package/dist/cjs/transpile/react-shim.js +30 -0
- package/{lib/transpile/swcrc.config.js → dist/cjs/transpile/swcrc.config.cjs} +1 -1
- package/dist/cjs/typedoc.cjs +12 -0
- package/{lib → dist/cjs}/typescript/app.tsconfig.json +0 -0
- package/{lib → dist/cjs}/typescript/library.tsconfig.json +0 -0
- package/dist/cjs/update-notifier.js +37 -0
- package/dist/cjs/utils.cjs +23 -0
- package/dist/cjs/webpack/helpers.js +237 -0
- package/dist/cjs/webpack/webpack.base.babel.js +280 -0
- package/dist/cjs/webpack/webpack.dev.babel.js +144 -0
- package/dist/cjs/webpack/webpack.lib.base.babel.js +212 -0
- package/dist/cjs/webpack/webpack.lib.dev.babel.js +93 -0
- package/dist/cjs/webpack/webpack.lib.prod.babel.js +95 -0
- package/dist/cjs/webpack/webpack.prod.babel.js +145 -0
- package/dist/cjs/webpack/webpack.storybook.js +111 -0
- package/dist/esm/babel.config.cjs +97 -0
- package/dist/esm/cli.js +33 -0
- package/dist/esm/commands/build.js +61 -0
- package/dist/esm/commands/codemod.js +29 -0
- package/dist/esm/commands/gendoc.js +26 -0
- package/dist/esm/commands/lint.js +69 -0
- package/dist/esm/commands/pack.js +71 -0
- package/dist/esm/commands/start.js +49 -0
- package/dist/esm/commands/storybook.js +45 -0
- package/dist/esm/commands/test.js +74 -0
- package/dist/esm/commands/tscheck.js +56 -0
- package/dist/esm/commands/utils.js +143 -0
- package/dist/esm/commands/version.js +51 -0
- package/dist/esm/commands/vitest.js +66 -0
- package/{lib/dummy.ts → dist/esm/dummy.js} +0 -0
- package/dist/esm/index.cjs +25 -0
- package/dist/esm/index.js +22 -0
- package/dist/esm/jsdoc.conf.json +17 -0
- package/dist/esm/lint-config/commitlint.config.cjs +1 -0
- package/dist/esm/lint-config/eslint/common.cjs +160 -0
- package/dist/esm/lint-config/eslint/non-react.cjs +14 -0
- package/dist/esm/lint-config/eslint/react.cjs +26 -0
- package/dist/esm/lint-config/eslint/typescript/common.cjs +43 -0
- package/dist/esm/lint-config/eslint/typescript/non-react.cjs +12 -0
- package/dist/esm/lint-config/eslint/typescript/react.cjs +19 -0
- package/dist/esm/lint-config/lint-staged.config.js +14 -0
- package/dist/esm/lint-config/prettier.config.cjs +8 -0
- package/dist/esm/lint-config/stylelint.config.cjs +19 -0
- package/dist/esm/monorepo/delete-merged-tags.js +38 -0
- package/dist/esm/monorepo/set-registry-version.js +23 -0
- package/dist/esm/monorepo/set-workspace-version.js +30 -0
- package/dist/esm/monorepo/utils.cjs +30 -0
- package/dist/esm/package.json +4 -0
- package/dist/esm/pui-config.js +18 -0
- package/dist/esm/release.config.cjs +31 -0
- package/dist/esm/server/app-routes.cjs +42 -0
- package/dist/esm/server/csp.js +68 -0
- package/dist/esm/server/index.js +18 -0
- package/dist/esm/server/logger.js +32 -0
- package/dist/esm/server/middlewares.js +49 -0
- package/dist/esm/server/utils.js +13 -0
- package/dist/esm/testing/jest.config.cjs +103 -0
- package/dist/esm/testing/jest.node.config.cjs +8 -0
- package/{lib → dist/esm}/testing/mocks/axios.js +8 -5
- package/dist/esm/testing/mocks/cssModule.js +4 -0
- package/dist/esm/testing/mocks/html.js +4 -0
- package/dist/esm/testing/mocks/image.js +4 -0
- package/dist/esm/testing/mocks/matchMedia.js +24 -0
- package/dist/esm/testing/mocks/pui-app-loader.js +5 -0
- package/dist/esm/testing/mocks/pui-diagnostics.js +49 -0
- package/dist/esm/testing/mocks/pui-user-monitoring.js +11 -0
- package/dist/esm/testing/mocks/retry-axios.js +8 -0
- package/dist/esm/testing/mocks/svg.js +7 -0
- package/dist/esm/testing/mocks/webpack-hmr.js +5 -0
- package/dist/esm/testing/resolver.cjs +47 -0
- package/dist/esm/testing/setup-react-env.js +3 -0
- package/dist/esm/testing/setup-test-env.js +4 -0
- package/dist/esm/testing/setup-tests.js +50 -0
- package/dist/esm/testing/vitest.config.js +25 -0
- package/dist/esm/transpile/.swcrc +11 -0
- package/{lib → dist/esm}/transpile/esbuild.js +35 -44
- package/dist/esm/transpile/react-shim.js +4 -0
- package/dist/esm/transpile/swcrc.config.cjs +13 -0
- package/dist/esm/typedoc.cjs +12 -0
- package/dist/esm/typescript/app.tsconfig.json +23 -0
- package/dist/esm/typescript/library.tsconfig.json +23 -0
- package/dist/esm/update-notifier.js +11 -0
- package/dist/esm/utils.cjs +23 -0
- package/dist/esm/webpack/helpers.js +211 -0
- package/dist/esm/webpack/webpack.base.babel.js +260 -0
- package/dist/esm/webpack/webpack.dev.babel.js +121 -0
- package/dist/esm/webpack/webpack.lib.base.babel.js +192 -0
- package/dist/esm/webpack/webpack.lib.dev.babel.js +67 -0
- package/dist/esm/webpack/webpack.lib.prod.babel.js +69 -0
- package/dist/esm/webpack/webpack.prod.babel.js +124 -0
- package/dist/esm/webpack/webpack.storybook.js +85 -0
- package/dist/types/babel.config.d.cts +59 -0
- package/dist/types/cli.d.ts +2 -0
- package/dist/types/commands/build.d.ts +14 -0
- package/dist/types/commands/codemod.d.ts +6 -0
- package/dist/types/commands/gendoc.d.ts +6 -0
- package/dist/types/commands/lint.d.ts +29 -0
- package/dist/types/commands/pack.d.ts +26 -0
- package/dist/types/commands/start.d.ts +13 -0
- package/dist/types/commands/storybook.d.ts +19 -0
- package/dist/types/commands/test.d.ts +39 -0
- package/dist/types/commands/tscheck.d.ts +14 -0
- package/dist/types/commands/utils.d.ts +16 -0
- package/dist/types/commands/version.d.ts +30 -0
- package/dist/types/commands/vitest.d.ts +35 -0
- package/{lib/testing/vitest.setup.ts → dist/types/dummy.d.ts} +0 -0
- package/dist/types/index.d.cts +10 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/lint-config/commitlint.config.d.cts +4 -0
- package/dist/types/lint-config/eslint/common.d.cts +127 -0
- package/dist/types/lint-config/eslint/non-react.d.cts +93 -0
- package/dist/types/lint-config/eslint/react.d.cts +123 -0
- package/dist/types/lint-config/eslint/typescript/common.d.cts +37 -0
- package/dist/types/lint-config/eslint/typescript/non-react.d.cts +87 -0
- package/dist/types/lint-config/eslint/typescript/react.d.cts +118 -0
- package/dist/types/lint-config/lint-staged.config.d.ts +5 -0
- package/dist/types/lint-config/prettier.config.d.cts +8 -0
- package/dist/types/lint-config/stylelint.config.d.cts +11 -0
- package/dist/types/monorepo/delete-merged-tags.d.ts +1 -0
- package/dist/types/monorepo/set-registry-version.d.ts +1 -0
- package/dist/types/monorepo/set-workspace-version.d.ts +1 -0
- package/dist/types/monorepo/utils.d.cts +1 -0
- package/dist/types/pui-config.d.ts +1 -0
- package/dist/types/release.config.d.cts +9 -0
- package/dist/types/server/app-routes.d.cts +1 -0
- package/dist/types/server/csp.d.ts +10 -0
- package/dist/types/server/index.d.ts +1 -0
- package/dist/types/server/logger.d.ts +4 -0
- package/dist/types/server/middlewares.d.ts +2 -0
- package/dist/types/server/utils.d.ts +3 -0
- package/dist/types/testing/jest.config.d.cts +39 -0
- package/dist/types/testing/jest.node.config.d.cts +39 -0
- package/dist/types/testing/mocks/axios.d.ts +17 -0
- package/dist/types/testing/mocks/cssModule.d.ts +2 -0
- package/dist/types/testing/mocks/html.d.ts +2 -0
- package/dist/types/testing/mocks/image.d.ts +2 -0
- package/dist/types/testing/mocks/matchMedia.d.ts +1 -0
- package/dist/types/testing/mocks/pui-app-loader.d.ts +1 -0
- package/dist/types/testing/mocks/pui-diagnostics.d.ts +28 -0
- package/dist/types/testing/mocks/pui-user-monitoring.d.ts +3 -0
- package/dist/types/testing/mocks/retry-axios.d.ts +3 -0
- package/dist/types/testing/mocks/svg.d.ts +3 -0
- package/dist/types/testing/mocks/webpack-hmr.d.ts +1 -0
- package/dist/types/testing/resolver.d.cts +2 -0
- package/dist/types/testing/setup-react-env.d.ts +1 -0
- package/dist/types/testing/setup-test-env.d.ts +2 -0
- package/dist/types/testing/setup-tests.d.ts +1 -0
- package/dist/types/testing/vitest.config.d.ts +2 -0
- package/dist/types/transpile/esbuild.d.ts +13 -0
- package/dist/types/transpile/react-shim.d.ts +2 -0
- package/dist/types/transpile/swcrc.config.d.cts +1 -0
- package/dist/types/typedoc.d.cts +3 -0
- package/dist/types/update-notifier.d.ts +1 -0
- package/dist/types/utils.d.cts +4 -0
- package/dist/types/webpack/helpers.d.ts +28 -0
- package/dist/types/webpack/webpack.base.babel.d.ts +90 -0
- package/dist/types/webpack/webpack.dev.babel.d.ts +2 -0
- package/dist/types/webpack/webpack.lib.base.babel.d.ts +110 -0
- package/dist/types/webpack/webpack.lib.dev.babel.d.ts +110 -0
- package/dist/types/webpack/webpack.lib.prod.babel.d.ts +110 -0
- package/dist/types/webpack/webpack.prod.babel.d.ts +2 -0
- package/dist/types/webpack/webpack.storybook.d.ts +4 -0
- package/package.json +159 -144
- package/lib/cli-commands/build.js +0 -60
- package/lib/cli-commands/codemod.js +0 -31
- package/lib/cli-commands/gendoc.js +0 -36
- package/lib/cli-commands/lint.js +0 -75
- package/lib/cli-commands/pack.js +0 -67
- package/lib/cli-commands/start.js +0 -49
- package/lib/cli-commands/storybook.js +0 -53
- package/lib/cli-commands/test.js +0 -63
- package/lib/cli-commands/tsc.js +0 -103
- package/lib/cli-commands/utils.js +0 -135
- package/lib/cli-commands/version.js +0 -53
- package/lib/cli-commands/vitest.js +0 -66
- package/lib/cli.js +0 -33
- package/lib/docgen/jsdoc.config.js +0 -17
- package/lib/index.js +0 -25
- package/lib/lint/commitlint.config.js +0 -1
- package/lib/lint/lint-staged.config.js +0 -16
- package/lib/monorepo/delete-merged-tags.js +0 -48
- package/lib/monorepo/set-registry-version.js +0 -22
- package/lib/monorepo/set-workspace-version.js +0 -29
- package/lib/pui-config/index.js +0 -18
- package/lib/scripts/helpers/checkmark.js +0 -15
- package/lib/scripts/helpers/get-npm-config.js +0 -3
- package/lib/scripts/helpers/progress.js +0 -19
- package/lib/scripts/helpers/xmark.js +0 -13
- package/lib/scripts/npmcheckversion.js +0 -8
- package/lib/scripts/update-notifier.js +0 -7
- package/lib/server/csp.js +0 -74
- package/lib/server/index.js +0 -37
- package/lib/server/logger.js +0 -42
- package/lib/server/middlewares/addDevMiddlewares.js +0 -39
- package/lib/server/middlewares/addProdMiddlewares.js +0 -30
- package/lib/server/middlewares/index.js +0 -37
- package/lib/testing/mocks/cssModule.js +0 -1
- package/lib/testing/mocks/html.js +0 -1
- package/lib/testing/mocks/image.js +0 -1
- package/lib/testing/mocks/matchMedia.js +0 -24
- package/lib/testing/mocks/pui-app-loader.js +0 -1
- package/lib/testing/mocks/pui-diagnostics.js +0 -28
- package/lib/testing/mocks/pui-user-monitoring.js +0 -3
- package/lib/testing/mocks/retry-axios.js +0 -3
- package/lib/testing/mocks/svg.js +0 -5
- package/lib/testing/mocks/webpack-hmr.js +0 -1
- package/lib/testing/setup-react-env.js +0 -3
- package/lib/testing/setup-tests.js +0 -58
- package/lib/testing/vitest.config.ts +0 -16
- package/lib/transpile/react-shim.js +0 -2
- package/lib/typescript/tsc-files/index.js +0 -66
- package/lib/typescript/tsc-files/utils.js +0 -16
- package/lib/typescript/util.js +0 -5
- package/lib/webpack/helpers.js +0 -252
- package/lib/webpack/webpack.base.babel.js +0 -242
- package/lib/webpack/webpack.dev.babel.js +0 -139
- package/lib/webpack/webpack.lib.base.babel.js +0 -205
- package/lib/webpack/webpack.lib.dev.babel.js +0 -49
- package/lib/webpack/webpack.lib.prod.babel.js +0 -77
- package/lib/webpack/webpack.prod.babel.js +0 -142
- package/lib/webpack/webpack.storybook.js +0 -87
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export namespace startCmd {
|
|
2
|
+
function handler(argv: any): Promise<void>;
|
|
3
|
+
const command: string;
|
|
4
|
+
const describe: string;
|
|
5
|
+
namespace builder {
|
|
6
|
+
namespace prod {
|
|
7
|
+
export const alias: string;
|
|
8
|
+
const _default: boolean;
|
|
9
|
+
export { _default as default };
|
|
10
|
+
export const type: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export namespace storybookCmd {
|
|
2
|
+
function handler(argv: any): Promise<void>;
|
|
3
|
+
const command: string;
|
|
4
|
+
const describe: string;
|
|
5
|
+
namespace builder {
|
|
6
|
+
namespace build {
|
|
7
|
+
export const alias: string;
|
|
8
|
+
export const type: string;
|
|
9
|
+
const _default: boolean;
|
|
10
|
+
export { _default as default };
|
|
11
|
+
}
|
|
12
|
+
namespace docs {
|
|
13
|
+
const type_1: string;
|
|
14
|
+
export { type_1 as type };
|
|
15
|
+
const _default_1: boolean;
|
|
16
|
+
export { _default_1 as default };
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export namespace testCmd {
|
|
2
|
+
function handler(argv: any): Promise<0 | -1>;
|
|
3
|
+
const command: string;
|
|
4
|
+
const describe: string;
|
|
5
|
+
namespace builder {
|
|
6
|
+
namespace fix {
|
|
7
|
+
const alias: string;
|
|
8
|
+
const type: string;
|
|
9
|
+
}
|
|
10
|
+
namespace watch {
|
|
11
|
+
const alias_1: string;
|
|
12
|
+
export { alias_1 as alias };
|
|
13
|
+
const type_1: string;
|
|
14
|
+
export { type_1 as type };
|
|
15
|
+
}
|
|
16
|
+
namespace debug {
|
|
17
|
+
const type_2: string;
|
|
18
|
+
export { type_2 as type };
|
|
19
|
+
}
|
|
20
|
+
namespace passWithNoTests {
|
|
21
|
+
const alias_2: string;
|
|
22
|
+
export { alias_2 as alias };
|
|
23
|
+
const type_3: string;
|
|
24
|
+
export { type_3 as type };
|
|
25
|
+
}
|
|
26
|
+
namespace findReleatedTests {
|
|
27
|
+
const alias_3: string;
|
|
28
|
+
export { alias_3 as alias };
|
|
29
|
+
const type_4: string;
|
|
30
|
+
export { type_4 as type };
|
|
31
|
+
}
|
|
32
|
+
namespace silent {
|
|
33
|
+
const alias_4: string;
|
|
34
|
+
export { alias_4 as alias };
|
|
35
|
+
const type_5: string;
|
|
36
|
+
export { type_5 as type };
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export namespace tscheckCmd {
|
|
2
|
+
function handler({ files }: {
|
|
3
|
+
files: any;
|
|
4
|
+
}): Promise<void>;
|
|
5
|
+
const command: string;
|
|
6
|
+
const describe: string;
|
|
7
|
+
namespace builder {
|
|
8
|
+
namespace files {
|
|
9
|
+
export const type: string;
|
|
10
|
+
const _default: never[];
|
|
11
|
+
export { _default as default };
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export function exec(command: any, options?: {
|
|
2
|
+
stdio: string;
|
|
3
|
+
}): Promise<import("execa").ExecaReturnValue<string> & import("execa").ExecaReturnValue<Buffer>>;
|
|
4
|
+
export const logInfo: {
|
|
5
|
+
(...data: any[]): void;
|
|
6
|
+
(message?: any, ...optionalParams: any[]): void;
|
|
7
|
+
};
|
|
8
|
+
export function logSuccess(...args: any[]): void;
|
|
9
|
+
export const logError: {
|
|
10
|
+
(...data: any[]): void;
|
|
11
|
+
(message?: any, ...optionalParams: any[]): void;
|
|
12
|
+
};
|
|
13
|
+
export function writeAppInfo(): Promise<void>;
|
|
14
|
+
export function copyBuildAssetsToVersionedFolder(): Promise<void>;
|
|
15
|
+
export function isPathExist(pathToCheck: any): Promise<boolean>;
|
|
16
|
+
export function isApp(): Promise<boolean>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export namespace versionCmd {
|
|
2
|
+
function handler(argv: any): Promise<void>;
|
|
3
|
+
const command: string;
|
|
4
|
+
const describe: string;
|
|
5
|
+
namespace builder {
|
|
6
|
+
namespace deleteTags {
|
|
7
|
+
export const type: string;
|
|
8
|
+
const _default: boolean;
|
|
9
|
+
export { _default as default };
|
|
10
|
+
}
|
|
11
|
+
namespace useRegistry {
|
|
12
|
+
const type_1: string;
|
|
13
|
+
export { type_1 as type };
|
|
14
|
+
const _default_1: boolean;
|
|
15
|
+
export { _default_1 as default };
|
|
16
|
+
}
|
|
17
|
+
namespace useWorkspace {
|
|
18
|
+
const type_2: string;
|
|
19
|
+
export { type_2 as type };
|
|
20
|
+
const _default_2: boolean;
|
|
21
|
+
export { _default_2 as default };
|
|
22
|
+
}
|
|
23
|
+
namespace lernaOptions {
|
|
24
|
+
const type_3: string;
|
|
25
|
+
export { type_3 as type };
|
|
26
|
+
const _default_3: boolean;
|
|
27
|
+
export { _default_3 as default };
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export namespace vitestCmd {
|
|
2
|
+
function handler(argv: any): Promise<0 | -1>;
|
|
3
|
+
const command: string;
|
|
4
|
+
const describe: string;
|
|
5
|
+
namespace builder {
|
|
6
|
+
namespace fix {
|
|
7
|
+
const alias: string;
|
|
8
|
+
const type: string;
|
|
9
|
+
}
|
|
10
|
+
namespace watch {
|
|
11
|
+
const alias_1: string;
|
|
12
|
+
export { alias_1 as alias };
|
|
13
|
+
const type_1: string;
|
|
14
|
+
export { type_1 as type };
|
|
15
|
+
}
|
|
16
|
+
namespace passWithNoTests {
|
|
17
|
+
const alias_2: string;
|
|
18
|
+
export { alias_2 as alias };
|
|
19
|
+
const type_2: string;
|
|
20
|
+
export { type_2 as type };
|
|
21
|
+
}
|
|
22
|
+
namespace related {
|
|
23
|
+
const alias_3: string;
|
|
24
|
+
export { alias_3 as alias };
|
|
25
|
+
const type_3: string;
|
|
26
|
+
export { type_3 as type };
|
|
27
|
+
}
|
|
28
|
+
namespace silent {
|
|
29
|
+
const alias_4: string;
|
|
30
|
+
export { alias_4 as alias };
|
|
31
|
+
const type_4: string;
|
|
32
|
+
export { type_4 as type };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { babelConfig } from "./babel.config.cjs";
|
|
2
|
+
import { esConfig as eslintBaseConfig } from "./lint-config/eslint/non-react.cjs";
|
|
3
|
+
import { esReactConfig as eslintConfig } from "./lint-config/eslint/react.cjs";
|
|
4
|
+
import { stylelintConfig } from "./lint-config/stylelint.config.cjs";
|
|
5
|
+
import { prettierConfig } from "./lint-config/prettier.config.cjs";
|
|
6
|
+
import { commitlintConfig } from "./lint-config/commitlint.config.cjs";
|
|
7
|
+
import { jestConfig } from "./testing/jest.config.cjs";
|
|
8
|
+
import { jestNodeConfig } from "./testing/jest.node.config.cjs";
|
|
9
|
+
import { loadRoutes } from "./server/app-routes.cjs";
|
|
10
|
+
export { babelConfig, eslintBaseConfig, eslintConfig, stylelintConfig, prettierConfig, commitlintConfig, jestConfig, jestNodeConfig, loadRoutes };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { babelConfig } from "./babel.config.cjs";
|
|
2
|
+
export { esConfig as eslintBaseConfig } from "./lint-config/eslint/non-react.cjs";
|
|
3
|
+
export { esReactConfig as eslintConfig } from "./lint-config/eslint/react.cjs";
|
|
4
|
+
export { stylelintConfig } from "./lint-config/stylelint.config.cjs";
|
|
5
|
+
export { prettierConfig } from "./lint-config/prettier.config.cjs";
|
|
6
|
+
export { commitlintConfig } from "./lint-config/commitlint.config.cjs";
|
|
7
|
+
export { jestConfig } from "./testing/jest.config.cjs";
|
|
8
|
+
export { jestNodeConfig } from "./testing/jest.node.config.cjs";
|
|
9
|
+
export { lintStagedConfig } from "./lint-config/lint-staged.config.js";
|
|
10
|
+
export { loadRoutes } from "./server/app-routes.cjs";
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
export const baseExtends: string[];
|
|
2
|
+
export const baseOverrides: {
|
|
3
|
+
files: string[];
|
|
4
|
+
rules: {
|
|
5
|
+
'jest/valid-expect': string;
|
|
6
|
+
};
|
|
7
|
+
}[];
|
|
8
|
+
export namespace baseConfig {
|
|
9
|
+
export const parser: string;
|
|
10
|
+
export { basePlugins as plugins };
|
|
11
|
+
export namespace env {
|
|
12
|
+
const jest: boolean;
|
|
13
|
+
const browser: boolean;
|
|
14
|
+
const node: boolean;
|
|
15
|
+
const es2021: boolean;
|
|
16
|
+
}
|
|
17
|
+
export namespace parserOptions {
|
|
18
|
+
const sourceType: string;
|
|
19
|
+
namespace ecmaFeatures {
|
|
20
|
+
const jsx: boolean;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export const settings: {
|
|
24
|
+
react: {
|
|
25
|
+
version: string;
|
|
26
|
+
};
|
|
27
|
+
jest: {
|
|
28
|
+
version: number;
|
|
29
|
+
};
|
|
30
|
+
'import/resolver': {
|
|
31
|
+
node: {
|
|
32
|
+
extensions: string[];
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
export const ignorePatterns: string[];
|
|
37
|
+
}
|
|
38
|
+
export const basePlugins: string[];
|
|
39
|
+
export const baseRules: {
|
|
40
|
+
'prettier/prettier': (string | typeof prettierOptions)[];
|
|
41
|
+
'arrow-body-style': (string | number)[];
|
|
42
|
+
'class-methods-use-this': number;
|
|
43
|
+
'import/imports-first': number;
|
|
44
|
+
'import/newline-after-import': number;
|
|
45
|
+
'import/no-dynamic-require': number;
|
|
46
|
+
'import/no-extraneous-dependencies': number;
|
|
47
|
+
'import/no-named-as-default': number;
|
|
48
|
+
'import/no-unresolved': (number | {
|
|
49
|
+
caseSensitive: boolean;
|
|
50
|
+
caseSensitiveStrict: boolean;
|
|
51
|
+
})[];
|
|
52
|
+
'import/no-webpack-loader-syntax': number;
|
|
53
|
+
'import/prefer-default-export': number;
|
|
54
|
+
'import/extensions': (string | number | {
|
|
55
|
+
json: string;
|
|
56
|
+
js: string;
|
|
57
|
+
})[];
|
|
58
|
+
indent: (number | {
|
|
59
|
+
SwitchCase: number;
|
|
60
|
+
})[];
|
|
61
|
+
'max-lines': (string | {
|
|
62
|
+
max: number;
|
|
63
|
+
skipComments: boolean;
|
|
64
|
+
})[];
|
|
65
|
+
complexity: (string | {
|
|
66
|
+
max: number;
|
|
67
|
+
})[];
|
|
68
|
+
'max-depth': (string | {
|
|
69
|
+
max: number;
|
|
70
|
+
})[];
|
|
71
|
+
'max-lines-per-function': number;
|
|
72
|
+
'max-nested-callbacks': (string | {
|
|
73
|
+
max: number;
|
|
74
|
+
})[];
|
|
75
|
+
'max-params': (string | {
|
|
76
|
+
max: number;
|
|
77
|
+
})[];
|
|
78
|
+
'max-statements': (string | {
|
|
79
|
+
max: number;
|
|
80
|
+
})[];
|
|
81
|
+
'max-len': number;
|
|
82
|
+
'newline-per-chained-call': number;
|
|
83
|
+
'no-confusing-arrow': number;
|
|
84
|
+
'no-console': number;
|
|
85
|
+
'no-param-reassign': (string | {
|
|
86
|
+
props: boolean;
|
|
87
|
+
})[];
|
|
88
|
+
'no-unused-vars': number;
|
|
89
|
+
'no-use-before-define': number;
|
|
90
|
+
'prefer-template': number;
|
|
91
|
+
'require-yield': number;
|
|
92
|
+
'jsdoc/require-jsdoc': number;
|
|
93
|
+
'eslint-comments/disable-enable-pair': number;
|
|
94
|
+
};
|
|
95
|
+
export const reactRules: {
|
|
96
|
+
'jsx-a11y/aria-props': number;
|
|
97
|
+
'jsx-a11y/heading-has-content': number;
|
|
98
|
+
'jsx-a11y/label-has-associated-control': (number | {
|
|
99
|
+
controlComponents: string[];
|
|
100
|
+
})[];
|
|
101
|
+
'jsx-a11y/label-has-for': number;
|
|
102
|
+
'jsx-a11y/mouse-events-have-key-events': number;
|
|
103
|
+
'jsx-a11y/role-has-required-aria-props': number;
|
|
104
|
+
'jsx-a11y/role-supports-aria-props': number;
|
|
105
|
+
'react/destructuring-assignment': number;
|
|
106
|
+
'react-hooks/rules-of-hooks': string;
|
|
107
|
+
'react/jsx-closing-tag-location': number;
|
|
108
|
+
'react/forbid-prop-types': number;
|
|
109
|
+
'react/jsx-first-prop-new-line': (string | number)[];
|
|
110
|
+
'react/jsx-no-target-blank': number;
|
|
111
|
+
'react/jsx-props-no-spreading': number;
|
|
112
|
+
'react/jsx-uses-vars': number;
|
|
113
|
+
'react/require-default-props': number;
|
|
114
|
+
'react/require-extension': number;
|
|
115
|
+
'react/self-closing-comp': number;
|
|
116
|
+
'react/sort-comp': number;
|
|
117
|
+
'react/react-in-jsx-scope': number;
|
|
118
|
+
'react/jsx-filename-extension': (number | {
|
|
119
|
+
extensions: string[];
|
|
120
|
+
})[];
|
|
121
|
+
'react/function-component-definition': (number | {
|
|
122
|
+
namedComponents: string;
|
|
123
|
+
})[];
|
|
124
|
+
'redux-saga/no-yield-in-race': number;
|
|
125
|
+
'redux-saga/yield-effects': number;
|
|
126
|
+
};
|
|
127
|
+
import prettierOptions = require("../prettier.config.cjs");
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
export const esConfig: {
|
|
2
|
+
extends: string[];
|
|
3
|
+
rules: {
|
|
4
|
+
'prettier/prettier': (string | typeof import("../prettier.config.cjs"))[];
|
|
5
|
+
'arrow-body-style': (string | number)[];
|
|
6
|
+
'class-methods-use-this': number;
|
|
7
|
+
'import/imports-first': number;
|
|
8
|
+
'import/newline-after-import': number;
|
|
9
|
+
'import/no-dynamic-require': number;
|
|
10
|
+
'import/no-extraneous-dependencies': number;
|
|
11
|
+
'import/no-named-as-default': number;
|
|
12
|
+
'import/no-unresolved': (number | {
|
|
13
|
+
caseSensitive: boolean;
|
|
14
|
+
caseSensitiveStrict: boolean;
|
|
15
|
+
})[];
|
|
16
|
+
'import/no-webpack-loader-syntax': number;
|
|
17
|
+
'import/prefer-default-export': number;
|
|
18
|
+
'import/extensions': (string | number | {
|
|
19
|
+
json: string;
|
|
20
|
+
js: string;
|
|
21
|
+
})[];
|
|
22
|
+
indent: (number | {
|
|
23
|
+
SwitchCase: number;
|
|
24
|
+
})[];
|
|
25
|
+
'max-lines': (string | {
|
|
26
|
+
max: number;
|
|
27
|
+
skipComments: boolean;
|
|
28
|
+
})[];
|
|
29
|
+
complexity: (string | {
|
|
30
|
+
max: number;
|
|
31
|
+
})[];
|
|
32
|
+
'max-depth': (string | {
|
|
33
|
+
max: number;
|
|
34
|
+
})[];
|
|
35
|
+
'max-lines-per-function': number;
|
|
36
|
+
'max-nested-callbacks': (string | {
|
|
37
|
+
max: number;
|
|
38
|
+
})[];
|
|
39
|
+
'max-params': (string | {
|
|
40
|
+
max: number;
|
|
41
|
+
})[];
|
|
42
|
+
'max-statements': (string | {
|
|
43
|
+
max: number;
|
|
44
|
+
})[];
|
|
45
|
+
'max-len': number;
|
|
46
|
+
'newline-per-chained-call': number;
|
|
47
|
+
'no-confusing-arrow': number;
|
|
48
|
+
'no-console': number;
|
|
49
|
+
'no-param-reassign': (string | {
|
|
50
|
+
props: boolean;
|
|
51
|
+
})[];
|
|
52
|
+
'no-unused-vars': number;
|
|
53
|
+
'no-use-before-define': number;
|
|
54
|
+
'prefer-template': number;
|
|
55
|
+
'require-yield': number;
|
|
56
|
+
'jsdoc/require-jsdoc': number;
|
|
57
|
+
'eslint-comments/disable-enable-pair': number;
|
|
58
|
+
};
|
|
59
|
+
overrides: {
|
|
60
|
+
files: string[];
|
|
61
|
+
rules: {
|
|
62
|
+
'jest/valid-expect': string;
|
|
63
|
+
};
|
|
64
|
+
}[];
|
|
65
|
+
parser: string;
|
|
66
|
+
plugins: string[];
|
|
67
|
+
env: {
|
|
68
|
+
jest: boolean;
|
|
69
|
+
browser: boolean;
|
|
70
|
+
node: boolean;
|
|
71
|
+
es2021: boolean;
|
|
72
|
+
};
|
|
73
|
+
parserOptions: {
|
|
74
|
+
sourceType: string;
|
|
75
|
+
ecmaFeatures: {
|
|
76
|
+
jsx: boolean;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
settings: {
|
|
80
|
+
react: {
|
|
81
|
+
version: string;
|
|
82
|
+
};
|
|
83
|
+
jest: {
|
|
84
|
+
version: number;
|
|
85
|
+
};
|
|
86
|
+
'import/resolver': {
|
|
87
|
+
node: {
|
|
88
|
+
extensions: string[];
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
ignorePatterns: string[];
|
|
93
|
+
};
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
export const esReactConfig: {
|
|
2
|
+
extends: string[];
|
|
3
|
+
rules: {
|
|
4
|
+
'jsx-a11y/aria-props': number;
|
|
5
|
+
'jsx-a11y/heading-has-content': number;
|
|
6
|
+
'jsx-a11y/label-has-associated-control': (number | {
|
|
7
|
+
controlComponents: string[];
|
|
8
|
+
})[];
|
|
9
|
+
'jsx-a11y/label-has-for': number;
|
|
10
|
+
'jsx-a11y/mouse-events-have-key-events': number;
|
|
11
|
+
'jsx-a11y/role-has-required-aria-props': number;
|
|
12
|
+
'jsx-a11y/role-supports-aria-props': number;
|
|
13
|
+
'react/destructuring-assignment': number;
|
|
14
|
+
'react-hooks/rules-of-hooks': string;
|
|
15
|
+
'react/jsx-closing-tag-location': number;
|
|
16
|
+
'react/forbid-prop-types': number;
|
|
17
|
+
'react/jsx-first-prop-new-line': (string | number)[];
|
|
18
|
+
'react/jsx-no-target-blank': number;
|
|
19
|
+
'react/jsx-props-no-spreading': number;
|
|
20
|
+
'react/jsx-uses-vars': number;
|
|
21
|
+
'react/require-default-props': number;
|
|
22
|
+
'react/require-extension': number;
|
|
23
|
+
'react/self-closing-comp': number;
|
|
24
|
+
'react/sort-comp': number;
|
|
25
|
+
'react/react-in-jsx-scope': number;
|
|
26
|
+
'react/jsx-filename-extension': (number | {
|
|
27
|
+
extensions: string[];
|
|
28
|
+
})[];
|
|
29
|
+
'react/function-component-definition': (number | {
|
|
30
|
+
namedComponents: string;
|
|
31
|
+
})[];
|
|
32
|
+
'redux-saga/no-yield-in-race': number;
|
|
33
|
+
'redux-saga/yield-effects': number;
|
|
34
|
+
'prettier/prettier': (string | typeof import("../prettier.config.cjs"))[];
|
|
35
|
+
'arrow-body-style': (string | number)[];
|
|
36
|
+
'class-methods-use-this': number;
|
|
37
|
+
'import/imports-first': number;
|
|
38
|
+
'import/newline-after-import': number;
|
|
39
|
+
'import/no-dynamic-require': number;
|
|
40
|
+
'import/no-extraneous-dependencies': number;
|
|
41
|
+
'import/no-named-as-default': number;
|
|
42
|
+
'import/no-unresolved': (number | {
|
|
43
|
+
caseSensitive: boolean;
|
|
44
|
+
caseSensitiveStrict: boolean;
|
|
45
|
+
})[];
|
|
46
|
+
'import/no-webpack-loader-syntax': number;
|
|
47
|
+
'import/prefer-default-export': number;
|
|
48
|
+
'import/extensions': (string | number | {
|
|
49
|
+
json: string;
|
|
50
|
+
js: string;
|
|
51
|
+
})[];
|
|
52
|
+
indent: (number | {
|
|
53
|
+
SwitchCase: number;
|
|
54
|
+
})[];
|
|
55
|
+
'max-lines': (string | {
|
|
56
|
+
max: number;
|
|
57
|
+
skipComments: boolean;
|
|
58
|
+
})[];
|
|
59
|
+
complexity: (string | {
|
|
60
|
+
max: number;
|
|
61
|
+
})[];
|
|
62
|
+
'max-depth': (string | {
|
|
63
|
+
max: number;
|
|
64
|
+
})[];
|
|
65
|
+
'max-lines-per-function': number;
|
|
66
|
+
'max-nested-callbacks': (string | {
|
|
67
|
+
max: number;
|
|
68
|
+
})[];
|
|
69
|
+
'max-params': (string | {
|
|
70
|
+
max: number;
|
|
71
|
+
})[];
|
|
72
|
+
'max-statements': (string | {
|
|
73
|
+
max: number;
|
|
74
|
+
})[];
|
|
75
|
+
'max-len': number;
|
|
76
|
+
'newline-per-chained-call': number;
|
|
77
|
+
'no-confusing-arrow': number;
|
|
78
|
+
'no-console': number;
|
|
79
|
+
'no-param-reassign': (string | {
|
|
80
|
+
props: boolean;
|
|
81
|
+
})[];
|
|
82
|
+
'no-unused-vars': number;
|
|
83
|
+
'no-use-before-define': number;
|
|
84
|
+
'prefer-template': number;
|
|
85
|
+
'require-yield': number;
|
|
86
|
+
'jsdoc/require-jsdoc': number;
|
|
87
|
+
'eslint-comments/disable-enable-pair': number;
|
|
88
|
+
};
|
|
89
|
+
overrides: {
|
|
90
|
+
files: string[];
|
|
91
|
+
rules: {
|
|
92
|
+
'jest/valid-expect': string;
|
|
93
|
+
};
|
|
94
|
+
}[];
|
|
95
|
+
parser: string;
|
|
96
|
+
plugins: string[];
|
|
97
|
+
env: {
|
|
98
|
+
jest: boolean;
|
|
99
|
+
browser: boolean;
|
|
100
|
+
node: boolean;
|
|
101
|
+
es2021: boolean;
|
|
102
|
+
};
|
|
103
|
+
parserOptions: {
|
|
104
|
+
sourceType: string;
|
|
105
|
+
ecmaFeatures: {
|
|
106
|
+
jsx: boolean;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
settings: {
|
|
110
|
+
react: {
|
|
111
|
+
version: string;
|
|
112
|
+
};
|
|
113
|
+
jest: {
|
|
114
|
+
version: number;
|
|
115
|
+
};
|
|
116
|
+
'import/resolver': {
|
|
117
|
+
node: {
|
|
118
|
+
extensions: string[];
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
ignorePatterns: string[];
|
|
123
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export const tsBaseExtends: string[];
|
|
2
|
+
export const tsBaseRules: {
|
|
3
|
+
'@typescript-eslint/explicit-module-boundary-types': string;
|
|
4
|
+
'@typescript-eslint/explicit-function-return-type': string;
|
|
5
|
+
'@typescript-eslint/no-use-before-define': (string | {
|
|
6
|
+
functions: boolean;
|
|
7
|
+
classes: boolean;
|
|
8
|
+
variables: boolean;
|
|
9
|
+
typedefs: boolean;
|
|
10
|
+
})[];
|
|
11
|
+
'max-lines': (string | {
|
|
12
|
+
max: number;
|
|
13
|
+
skipComments: boolean;
|
|
14
|
+
})[];
|
|
15
|
+
'@typescript-eslint/unbound-method': (string | {
|
|
16
|
+
ignoreStatic: boolean;
|
|
17
|
+
})[];
|
|
18
|
+
};
|
|
19
|
+
export namespace tsBaseConfig {
|
|
20
|
+
const files: string[];
|
|
21
|
+
const parser: string;
|
|
22
|
+
const plugins: string[];
|
|
23
|
+
namespace parserOptions {
|
|
24
|
+
const tsconfigRootDir: string;
|
|
25
|
+
const project: string;
|
|
26
|
+
}
|
|
27
|
+
const settings: {
|
|
28
|
+
'import/resolver': {
|
|
29
|
+
typescript: {
|
|
30
|
+
alwaysTryTypes: boolean;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
'import/parsers': {
|
|
34
|
+
'@typescript-eslint/parser': string[];
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
export const tsConfig: {
|
|
2
|
+
extends: string[];
|
|
3
|
+
rules: {
|
|
4
|
+
'@typescript-eslint/explicit-module-boundary-types': string;
|
|
5
|
+
'@typescript-eslint/explicit-function-return-type': string;
|
|
6
|
+
'@typescript-eslint/no-use-before-define': (string | {
|
|
7
|
+
functions: boolean;
|
|
8
|
+
classes: boolean;
|
|
9
|
+
variables: boolean;
|
|
10
|
+
typedefs: boolean;
|
|
11
|
+
})[];
|
|
12
|
+
'max-lines': (string | {
|
|
13
|
+
max: number;
|
|
14
|
+
skipComments: boolean;
|
|
15
|
+
})[];
|
|
16
|
+
'@typescript-eslint/unbound-method': (string | {
|
|
17
|
+
ignoreStatic: boolean;
|
|
18
|
+
})[];
|
|
19
|
+
'prettier/prettier': (string | typeof import("../../prettier.config.cjs"))[];
|
|
20
|
+
'arrow-body-style': (string | number)[];
|
|
21
|
+
'class-methods-use-this': number;
|
|
22
|
+
'import/imports-first': number;
|
|
23
|
+
'import/newline-after-import': number;
|
|
24
|
+
'import/no-dynamic-require': number;
|
|
25
|
+
'import/no-extraneous-dependencies': number;
|
|
26
|
+
'import/no-named-as-default': number;
|
|
27
|
+
'import/no-unresolved': (number | {
|
|
28
|
+
caseSensitive: boolean;
|
|
29
|
+
caseSensitiveStrict: boolean;
|
|
30
|
+
})[];
|
|
31
|
+
'import/no-webpack-loader-syntax': number;
|
|
32
|
+
'import/prefer-default-export': number;
|
|
33
|
+
'import/extensions': (string | number | {
|
|
34
|
+
json: string;
|
|
35
|
+
js: string;
|
|
36
|
+
})[];
|
|
37
|
+
indent: (number | {
|
|
38
|
+
SwitchCase: number;
|
|
39
|
+
})[];
|
|
40
|
+
complexity: (string | {
|
|
41
|
+
max: number;
|
|
42
|
+
})[];
|
|
43
|
+
'max-depth': (string | {
|
|
44
|
+
max: number;
|
|
45
|
+
})[];
|
|
46
|
+
'max-lines-per-function': number;
|
|
47
|
+
'max-nested-callbacks': (string | {
|
|
48
|
+
max: number;
|
|
49
|
+
})[];
|
|
50
|
+
'max-params': (string | {
|
|
51
|
+
max: number;
|
|
52
|
+
})[];
|
|
53
|
+
'max-statements': (string | {
|
|
54
|
+
max: number;
|
|
55
|
+
})[];
|
|
56
|
+
'max-len': number;
|
|
57
|
+
'newline-per-chained-call': number;
|
|
58
|
+
'no-confusing-arrow': number;
|
|
59
|
+
'no-console': number;
|
|
60
|
+
'no-param-reassign': (string | {
|
|
61
|
+
props: boolean;
|
|
62
|
+
})[];
|
|
63
|
+
'no-unused-vars': number;
|
|
64
|
+
'no-use-before-define': number;
|
|
65
|
+
'prefer-template': number;
|
|
66
|
+
'require-yield': number;
|
|
67
|
+
'jsdoc/require-jsdoc': number;
|
|
68
|
+
'eslint-comments/disable-enable-pair': number;
|
|
69
|
+
};
|
|
70
|
+
files: string[];
|
|
71
|
+
parser: string;
|
|
72
|
+
plugins: string[];
|
|
73
|
+
parserOptions: {
|
|
74
|
+
tsconfigRootDir: string;
|
|
75
|
+
project: string;
|
|
76
|
+
};
|
|
77
|
+
settings: {
|
|
78
|
+
'import/resolver': {
|
|
79
|
+
typescript: {
|
|
80
|
+
alwaysTryTypes: boolean;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
'import/parsers': {
|
|
84
|
+
'@typescript-eslint/parser': string[];
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|