Update checked-in dependencies
This commit is contained in:
parent
49f7b34c3d
commit
5261a1223f
1640 changed files with 174830 additions and 182292 deletions
21
node_modules/typescript-eslint/LICENSE
generated
vendored
Normal file
21
node_modules/typescript-eslint/LICENSE
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2019 typescript-eslint and other contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
12
node_modules/typescript-eslint/README.md
generated
vendored
Normal file
12
node_modules/typescript-eslint/README.md
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# `typescript-eslint`
|
||||
|
||||
> Tooling which enables you to use TypeScript with ESLint
|
||||
|
||||
[](https://www.npmjs.com/package/typescript-eslint)
|
||||
[](https://www.npmjs.com/package/typescript-eslint)
|
||||
|
||||
👉 See **https://typescript-eslint.io/packages/typescript-eslint** for documentation on this package.
|
||||
|
||||
> See https://typescript-eslint.io for general documentation on typescript-eslint, the tooling that allows you to run ESLint and Prettier on TypeScript code.
|
||||
|
||||
<!-- Local path for docs: docs/packages/typescript-eslint.mdx -->
|
||||
67
node_modules/typescript-eslint/dist/config-helper.d.ts
generated
vendored
Normal file
67
node_modules/typescript-eslint/dist/config-helper.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
import type { TSESLint } from '@typescript-eslint/utils';
|
||||
export type InfiniteDepthConfigWithExtends = ConfigWithExtends | InfiniteDepthConfigWithExtends[];
|
||||
export interface ConfigWithExtends extends TSESLint.FlatConfig.Config {
|
||||
/**
|
||||
* Allows you to "extend" a set of configs similar to `extends` from the
|
||||
* classic configs.
|
||||
*
|
||||
* This is just a convenience short-hand to help reduce duplication.
|
||||
*
|
||||
* ```js
|
||||
* export default tseslint.config({
|
||||
* files: ['** /*.ts'],
|
||||
* extends: [
|
||||
* eslint.configs.recommended,
|
||||
* ...tseslint.configs.recommended,
|
||||
* ],
|
||||
* rules: {
|
||||
* '@typescript-eslint/array-type': 'error',
|
||||
* '@typescript-eslint/consistent-type-imports': 'error',
|
||||
* },
|
||||
* })
|
||||
*
|
||||
* // expands to
|
||||
*
|
||||
* export default [
|
||||
* {
|
||||
* ...eslint.configs.recommended,
|
||||
* files: ['** /*.ts'],
|
||||
* },
|
||||
* ...tseslint.configs.recommended.map(conf => ({
|
||||
* ...conf,
|
||||
* files: ['** /*.ts'],
|
||||
* })),
|
||||
* {
|
||||
* files: ['** /*.ts'],
|
||||
* rules: {
|
||||
* '@typescript-eslint/array-type': 'error',
|
||||
* '@typescript-eslint/consistent-type-imports': 'error',
|
||||
* },
|
||||
* },
|
||||
* ]
|
||||
* ```
|
||||
*/
|
||||
extends?: InfiniteDepthConfigWithExtends[];
|
||||
}
|
||||
/**
|
||||
* Utility function to make it easy to strictly type your "Flat" config file
|
||||
* @example
|
||||
* ```js
|
||||
* // @ts-check
|
||||
*
|
||||
* import eslint from '@eslint/js';
|
||||
* import tseslint from 'typescript-eslint';
|
||||
*
|
||||
* export default tseslint.config(
|
||||
* eslint.configs.recommended,
|
||||
* ...tseslint.configs.recommended,
|
||||
* {
|
||||
* rules: {
|
||||
* '@typescript-eslint/array-type': 'error',
|
||||
* },
|
||||
* },
|
||||
* );
|
||||
* ```
|
||||
*/
|
||||
export declare function config(...configs: InfiniteDepthConfigWithExtends[]): TSESLint.FlatConfig.ConfigArray;
|
||||
//# sourceMappingURL=config-helper.d.ts.map
|
||||
1
node_modules/typescript-eslint/dist/config-helper.d.ts.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/config-helper.d.ts.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"config-helper.d.ts","sourceRoot":"","sources":["../src/config-helper.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,MAAM,MAAM,8BAA8B,GACtC,iBAAiB,GACjB,8BAA8B,EAAE,CAAC;AAErC,MAAM,WAAW,iBAAkB,SAAQ,QAAQ,CAAC,UAAU,CAAC,MAAM;IACnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IACH,OAAO,CAAC,EAAE,8BAA8B,EAAE,CAAC;CAC5C;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,MAAM,CACpB,GAAG,OAAO,EAAE,8BAA8B,EAAE,GAC3C,QAAQ,CAAC,UAAU,CAAC,WAAW,CAkDjC"}
|
||||
63
node_modules/typescript-eslint/dist/config-helper.js
generated
vendored
Normal file
63
node_modules/typescript-eslint/dist/config-helper.js
generated
vendored
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.config = config;
|
||||
/**
|
||||
* Utility function to make it easy to strictly type your "Flat" config file
|
||||
* @example
|
||||
* ```js
|
||||
* // @ts-check
|
||||
*
|
||||
* import eslint from '@eslint/js';
|
||||
* import tseslint from 'typescript-eslint';
|
||||
*
|
||||
* export default tseslint.config(
|
||||
* eslint.configs.recommended,
|
||||
* ...tseslint.configs.recommended,
|
||||
* {
|
||||
* rules: {
|
||||
* '@typescript-eslint/array-type': 'error',
|
||||
* },
|
||||
* },
|
||||
* );
|
||||
* ```
|
||||
*/
|
||||
function config(...configs) {
|
||||
const flattened =
|
||||
// @ts-expect-error -- intentionally an infinite type
|
||||
configs.flat(Infinity);
|
||||
return flattened.flatMap((configWithExtends, configIndex) => {
|
||||
const { extends: extendsArr, ...config } = configWithExtends;
|
||||
if (extendsArr == null || extendsArr.length === 0) {
|
||||
return config;
|
||||
}
|
||||
const extendsArrFlattened = extendsArr.flat(Infinity);
|
||||
const undefinedExtensions = extendsArrFlattened.reduce((acc, extension, extensionIndex) => {
|
||||
const maybeExtension = extension;
|
||||
if (maybeExtension == null) {
|
||||
acc.push(extensionIndex);
|
||||
}
|
||||
return acc;
|
||||
}, []);
|
||||
if (undefinedExtensions.length) {
|
||||
const configName = configWithExtends.name != null
|
||||
? `, named "${configWithExtends.name}",`
|
||||
: ' (anonymous)';
|
||||
const extensionIndices = undefinedExtensions.join(', ');
|
||||
throw new Error(`Your config at index ${configIndex}${configName} contains undefined` +
|
||||
` extensions at the following indices: ${extensionIndices}.`);
|
||||
}
|
||||
return [
|
||||
...extendsArrFlattened.map(extension => {
|
||||
const name = [config.name, extension.name].filter(Boolean).join('__');
|
||||
return {
|
||||
...extension,
|
||||
...(config.files && { files: config.files }),
|
||||
...(config.ignores && { ignores: config.ignores }),
|
||||
...(name && { name }),
|
||||
};
|
||||
}),
|
||||
config,
|
||||
];
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=config-helper.js.map
|
||||
1
node_modules/typescript-eslint/dist/config-helper.js.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/config-helper.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"config-helper.js","sourceRoot":"","sources":["../src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BAAmB,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE;gBACrC,MAAM,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBACtE,OAAO;oBACL,GAAG,SAAS;oBACZ,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,CAAC;oBAC5C,GAAG,CAAC,MAAM,CAAC,OAAO,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC;oBAClD,GAAG,CAAC,IAAI,IAAI,EAAE,IAAI,EAAE,CAAC;iBACtB,CAAC;YACJ,CAAC,CAAC;YACF,MAAM;SACP,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC"}
|
||||
8
node_modules/typescript-eslint/dist/configs/all.d.ts
generated
vendored
Normal file
8
node_modules/typescript-eslint/dist/configs/all.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
||||
/**
|
||||
* Enables each the rules provided as a part of typescript-eslint. Note that many rules are not applicable in all codebases, or are meant to be configured.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#all}
|
||||
*/
|
||||
declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray;
|
||||
export default _default;
|
||||
//# sourceMappingURL=all.d.ts.map
|
||||
1
node_modules/typescript-eslint/dist/configs/all.d.ts.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/all.d.ts.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"all.d.ts","sourceRoot":"","sources":["../../src/configs/all.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBAgKE"}
|
||||
175
node_modules/typescript-eslint/dist/configs/all.js
generated
vendored
Normal file
175
node_modules/typescript-eslint/dist/configs/all.js
generated
vendored
Normal file
|
|
@ -0,0 +1,175 @@
|
|||
"use strict";
|
||||
// THIS CODE WAS AUTOMATICALLY GENERATED
|
||||
// DO NOT EDIT THIS CODE BY HAND
|
||||
// SEE https://typescript-eslint.io/users/configs
|
||||
//
|
||||
// For developers working in the typescript-eslint monorepo:
|
||||
// You can regenerate it using `yarn generate:configs`
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const base_1 = __importDefault(require("./base"));
|
||||
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
||||
/**
|
||||
* Enables each the rules provided as a part of typescript-eslint. Note that many rules are not applicable in all codebases, or are meant to be configured.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#all}
|
||||
*/
|
||||
exports.default = (plugin, parser) => [
|
||||
(0, base_1.default)(plugin, parser),
|
||||
(0, eslint_recommended_1.default)(plugin, parser),
|
||||
{
|
||||
name: 'typescript-eslint/all',
|
||||
rules: {
|
||||
'@typescript-eslint/adjacent-overload-signatures': 'error',
|
||||
'@typescript-eslint/array-type': 'error',
|
||||
'@typescript-eslint/await-thenable': 'error',
|
||||
'@typescript-eslint/ban-ts-comment': 'error',
|
||||
'@typescript-eslint/ban-tslint-comment': 'error',
|
||||
'@typescript-eslint/class-literal-property-style': 'error',
|
||||
'class-methods-use-this': 'off',
|
||||
'@typescript-eslint/class-methods-use-this': 'error',
|
||||
'@typescript-eslint/consistent-generic-constructors': 'error',
|
||||
'@typescript-eslint/consistent-indexed-object-style': 'error',
|
||||
'consistent-return': 'off',
|
||||
'@typescript-eslint/consistent-return': 'error',
|
||||
'@typescript-eslint/consistent-type-assertions': 'error',
|
||||
'@typescript-eslint/consistent-type-definitions': 'error',
|
||||
'@typescript-eslint/consistent-type-exports': 'error',
|
||||
'@typescript-eslint/consistent-type-imports': 'error',
|
||||
'default-param-last': 'off',
|
||||
'@typescript-eslint/default-param-last': 'error',
|
||||
'dot-notation': 'off',
|
||||
'@typescript-eslint/dot-notation': 'error',
|
||||
'@typescript-eslint/explicit-function-return-type': 'error',
|
||||
'@typescript-eslint/explicit-member-accessibility': 'error',
|
||||
'@typescript-eslint/explicit-module-boundary-types': 'error',
|
||||
'init-declarations': 'off',
|
||||
'@typescript-eslint/init-declarations': 'error',
|
||||
'max-params': 'off',
|
||||
'@typescript-eslint/max-params': 'error',
|
||||
'@typescript-eslint/member-ordering': 'error',
|
||||
'@typescript-eslint/method-signature-style': 'error',
|
||||
'@typescript-eslint/naming-convention': 'error',
|
||||
'no-array-constructor': 'off',
|
||||
'@typescript-eslint/no-array-constructor': 'error',
|
||||
'@typescript-eslint/no-array-delete': 'error',
|
||||
'@typescript-eslint/no-base-to-string': 'error',
|
||||
'@typescript-eslint/no-confusing-non-null-assertion': 'error',
|
||||
'@typescript-eslint/no-confusing-void-expression': 'error',
|
||||
'@typescript-eslint/no-deprecated': 'error',
|
||||
'no-dupe-class-members': 'off',
|
||||
'@typescript-eslint/no-dupe-class-members': 'error',
|
||||
'@typescript-eslint/no-duplicate-enum-values': 'error',
|
||||
'@typescript-eslint/no-duplicate-type-constituents': 'error',
|
||||
'@typescript-eslint/no-dynamic-delete': 'error',
|
||||
'no-empty-function': 'off',
|
||||
'@typescript-eslint/no-empty-function': 'error',
|
||||
'@typescript-eslint/no-empty-object-type': 'error',
|
||||
'@typescript-eslint/no-explicit-any': 'error',
|
||||
'@typescript-eslint/no-extra-non-null-assertion': 'error',
|
||||
'@typescript-eslint/no-extraneous-class': 'error',
|
||||
'@typescript-eslint/no-floating-promises': 'error',
|
||||
'@typescript-eslint/no-for-in-array': 'error',
|
||||
'no-implied-eval': 'off',
|
||||
'@typescript-eslint/no-implied-eval': 'error',
|
||||
'@typescript-eslint/no-import-type-side-effects': 'error',
|
||||
'@typescript-eslint/no-inferrable-types': 'error',
|
||||
'no-invalid-this': 'off',
|
||||
'@typescript-eslint/no-invalid-this': 'error',
|
||||
'@typescript-eslint/no-invalid-void-type': 'error',
|
||||
'no-loop-func': 'off',
|
||||
'@typescript-eslint/no-loop-func': 'error',
|
||||
'no-magic-numbers': 'off',
|
||||
'@typescript-eslint/no-magic-numbers': 'error',
|
||||
'@typescript-eslint/no-meaningless-void-operator': 'error',
|
||||
'@typescript-eslint/no-misused-new': 'error',
|
||||
'@typescript-eslint/no-misused-promises': 'error',
|
||||
'@typescript-eslint/no-mixed-enums': 'error',
|
||||
'@typescript-eslint/no-namespace': 'error',
|
||||
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
|
||||
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
|
||||
'@typescript-eslint/no-non-null-assertion': 'error',
|
||||
'no-redeclare': 'off',
|
||||
'@typescript-eslint/no-redeclare': 'error',
|
||||
'@typescript-eslint/no-redundant-type-constituents': 'error',
|
||||
'@typescript-eslint/no-require-imports': 'error',
|
||||
'no-restricted-imports': 'off',
|
||||
'@typescript-eslint/no-restricted-imports': 'error',
|
||||
'@typescript-eslint/no-restricted-types': 'error',
|
||||
'no-shadow': 'off',
|
||||
'@typescript-eslint/no-shadow': 'error',
|
||||
'@typescript-eslint/no-this-alias': 'error',
|
||||
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',
|
||||
'@typescript-eslint/no-unnecessary-condition': 'error',
|
||||
'@typescript-eslint/no-unnecessary-parameter-property-assignment': 'error',
|
||||
'@typescript-eslint/no-unnecessary-qualifier': 'error',
|
||||
'@typescript-eslint/no-unnecessary-template-expression': 'error',
|
||||
'@typescript-eslint/no-unnecessary-type-arguments': 'error',
|
||||
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
|
||||
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
|
||||
'@typescript-eslint/no-unnecessary-type-parameters': 'error',
|
||||
'@typescript-eslint/no-unsafe-argument': 'error',
|
||||
'@typescript-eslint/no-unsafe-assignment': 'error',
|
||||
'@typescript-eslint/no-unsafe-call': 'error',
|
||||
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
|
||||
'@typescript-eslint/no-unsafe-enum-comparison': 'error',
|
||||
'@typescript-eslint/no-unsafe-function-type': 'error',
|
||||
'@typescript-eslint/no-unsafe-member-access': 'error',
|
||||
'@typescript-eslint/no-unsafe-return': 'error',
|
||||
'@typescript-eslint/no-unsafe-type-assertion': 'error',
|
||||
'@typescript-eslint/no-unsafe-unary-minus': 'error',
|
||||
'no-unused-expressions': 'off',
|
||||
'@typescript-eslint/no-unused-expressions': 'error',
|
||||
'no-unused-vars': 'off',
|
||||
'@typescript-eslint/no-unused-vars': 'error',
|
||||
'no-use-before-define': 'off',
|
||||
'@typescript-eslint/no-use-before-define': 'error',
|
||||
'no-useless-constructor': 'off',
|
||||
'@typescript-eslint/no-useless-constructor': 'error',
|
||||
'@typescript-eslint/no-useless-empty-export': 'error',
|
||||
'@typescript-eslint/no-wrapper-object-types': 'error',
|
||||
'@typescript-eslint/non-nullable-type-assertion-style': 'error',
|
||||
'no-throw-literal': 'off',
|
||||
'@typescript-eslint/only-throw-error': 'error',
|
||||
'@typescript-eslint/parameter-properties': 'error',
|
||||
'@typescript-eslint/prefer-as-const': 'error',
|
||||
'prefer-destructuring': 'off',
|
||||
'@typescript-eslint/prefer-destructuring': 'error',
|
||||
'@typescript-eslint/prefer-enum-initializers': 'error',
|
||||
'@typescript-eslint/prefer-find': 'error',
|
||||
'@typescript-eslint/prefer-for-of': 'error',
|
||||
'@typescript-eslint/prefer-function-type': 'error',
|
||||
'@typescript-eslint/prefer-includes': 'error',
|
||||
'@typescript-eslint/prefer-literal-enum-member': 'error',
|
||||
'@typescript-eslint/prefer-namespace-keyword': 'error',
|
||||
'@typescript-eslint/prefer-nullish-coalescing': 'error',
|
||||
'@typescript-eslint/prefer-optional-chain': 'error',
|
||||
'prefer-promise-reject-errors': 'off',
|
||||
'@typescript-eslint/prefer-promise-reject-errors': 'error',
|
||||
'@typescript-eslint/prefer-readonly': 'error',
|
||||
'@typescript-eslint/prefer-readonly-parameter-types': 'error',
|
||||
'@typescript-eslint/prefer-reduce-type-parameter': 'error',
|
||||
'@typescript-eslint/prefer-regexp-exec': 'error',
|
||||
'@typescript-eslint/prefer-return-this-type': 'error',
|
||||
'@typescript-eslint/prefer-string-starts-ends-with': 'error',
|
||||
'@typescript-eslint/promise-function-async': 'error',
|
||||
'@typescript-eslint/related-getter-setter-pairs': 'error',
|
||||
'@typescript-eslint/require-array-sort-compare': 'error',
|
||||
'require-await': 'off',
|
||||
'@typescript-eslint/require-await': 'error',
|
||||
'@typescript-eslint/restrict-plus-operands': 'error',
|
||||
'@typescript-eslint/restrict-template-expressions': 'error',
|
||||
'no-return-await': 'off',
|
||||
'@typescript-eslint/return-await': 'error',
|
||||
'@typescript-eslint/strict-boolean-expressions': 'error',
|
||||
'@typescript-eslint/switch-exhaustiveness-check': 'error',
|
||||
'@typescript-eslint/triple-slash-reference': 'error',
|
||||
'@typescript-eslint/typedef': 'error',
|
||||
'@typescript-eslint/unbound-method': 'error',
|
||||
'@typescript-eslint/unified-signatures': 'error',
|
||||
'@typescript-eslint/use-unknown-in-catch-callback-variable': 'error',
|
||||
},
|
||||
},
|
||||
];
|
||||
//# sourceMappingURL=all.js.map
|
||||
1
node_modules/typescript-eslint/dist/configs/all.js.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/all.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"all.js","sourceRoot":"","sources":["../../src/configs/all.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE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AC1D,uCAAuC,EAAE,OAAO;YAChD,4CAA4C,EAAE,OAAO;YACrD,mDAAmD,EAAE,OAAO;YAC5D,2CAA2C,EAAE,OAAO;YACpD,gDAAgD,EAAE,OAAO;YACzD,+CAA+C,EAAE,OAAO;YACxD,eAAe,EAAE,KAAK;YACtB,kCAAkC,EAAE,OAAO;YAC3C,2CAA2C,EAAE,OAAO;YACpD,kDAAkD,EAAE,OAAO;YAC3D,iBAAiB,EAAE,KAAK;YACxB,iCAAiC,EAAE,OAAO;YAC1C,+CAA+C,EAAE,OAAO;YACxD,gDAAgD,EAAE,OAAO;YACzD,2CAA2C,EAAE,OAAO;YACpD,4BAA4B,EAAE,OAAO;YACrC,mCAAmC,EAAE,OAAO;YAC5C,uCAAuC,EAAE,OAAO;YAChD,2DAA2D,EAAE,OAAO;SACrE;KACF;CACF,CAAC"}
|
||||
9
node_modules/typescript-eslint/dist/configs/base.d.ts
generated
vendored
Normal file
9
node_modules/typescript-eslint/dist/configs/base.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
||||
/**
|
||||
* A minimal ruleset that sets only the required parser and plugin options needed to run typescript-eslint.
|
||||
* We don't recommend using this directly; instead, extend from an earlier recommended rule.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#base}
|
||||
*/
|
||||
declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.Config;
|
||||
export default _default;
|
||||
//# sourceMappingURL=base.d.ts.map
|
||||
1
node_modules/typescript-eslint/dist/configs/base.d.ts.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/base.d.ts.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/configs/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAErE;;;;GAIG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,MAAM;AAHpB,wBAYG"}
|
||||
18
node_modules/typescript-eslint/dist/configs/base.js
generated
vendored
Normal file
18
node_modules/typescript-eslint/dist/configs/base.js
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
/**
|
||||
* A minimal ruleset that sets only the required parser and plugin options needed to run typescript-eslint.
|
||||
* We don't recommend using this directly; instead, extend from an earlier recommended rule.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#base}
|
||||
*/
|
||||
exports.default = (plugin, parser) => ({
|
||||
name: 'typescript-eslint/base',
|
||||
languageOptions: {
|
||||
parser,
|
||||
sourceType: 'module',
|
||||
},
|
||||
plugins: {
|
||||
'@typescript-eslint': plugin,
|
||||
},
|
||||
});
|
||||
//# sourceMappingURL=base.js.map
|
||||
1
node_modules/typescript-eslint/dist/configs/base.js.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/base.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../src/configs/base.ts"],"names":[],"mappings":";;AAEA;;;;GAIG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACN,EAAE,CAAC,CAAC;IACvB,IAAI,EAAE,wBAAwB;IAC9B,eAAe,EAAE;QACf,MAAM;QACN,UAAU,EAAE,QAAQ;KACrB;IACD,OAAO,EAAE;QACP,oBAAoB,EAAE,MAAM;KAC7B;CACF,CAAC,CAAC"}
|
||||
8
node_modules/typescript-eslint/dist/configs/disable-type-checked.d.ts
generated
vendored
Normal file
8
node_modules/typescript-eslint/dist/configs/disable-type-checked.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
||||
/**
|
||||
* A utility ruleset that will disable type-aware linting and all type-aware rules available in our project.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#disable-type-checked}
|
||||
*/
|
||||
declare const _default: (_plugin: FlatConfig.Plugin, _parser: FlatConfig.Parser) => FlatConfig.Config;
|
||||
export default _default;
|
||||
//# sourceMappingURL=disable-type-checked.d.ts.map
|
||||
1
node_modules/typescript-eslint/dist/configs/disable-type-checked.d.ts.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/disable-type-checked.d.ts.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"disable-type-checked.d.ts","sourceRoot":"","sources":["../../src/configs/disable-type-checked.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAErE;;;GAGG;kCAEQ,UAAU,CAAC,MAAM,WACjB,UAAU,CAAC,MAAM,KACzB,UAAU,CAAC,MAAM;AAHpB,wBAmEG"}
|
||||
78
node_modules/typescript-eslint/dist/configs/disable-type-checked.js
generated
vendored
Normal file
78
node_modules/typescript-eslint/dist/configs/disable-type-checked.js
generated
vendored
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
"use strict";
|
||||
// THIS CODE WAS AUTOMATICALLY GENERATED
|
||||
// DO NOT EDIT THIS CODE BY HAND
|
||||
// SEE https://typescript-eslint.io/users/configs
|
||||
//
|
||||
// For developers working in the typescript-eslint monorepo:
|
||||
// You can regenerate it using `yarn generate:configs`
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
/**
|
||||
* A utility ruleset that will disable type-aware linting and all type-aware rules available in our project.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#disable-type-checked}
|
||||
*/
|
||||
exports.default = (_plugin, _parser) => ({
|
||||
name: 'typescript-eslint/disable-type-checked',
|
||||
rules: {
|
||||
'@typescript-eslint/await-thenable': 'off',
|
||||
'@typescript-eslint/consistent-return': 'off',
|
||||
'@typescript-eslint/consistent-type-exports': 'off',
|
||||
'@typescript-eslint/dot-notation': 'off',
|
||||
'@typescript-eslint/naming-convention': 'off',
|
||||
'@typescript-eslint/no-array-delete': 'off',
|
||||
'@typescript-eslint/no-base-to-string': 'off',
|
||||
'@typescript-eslint/no-confusing-void-expression': 'off',
|
||||
'@typescript-eslint/no-deprecated': 'off',
|
||||
'@typescript-eslint/no-duplicate-type-constituents': 'off',
|
||||
'@typescript-eslint/no-floating-promises': 'off',
|
||||
'@typescript-eslint/no-for-in-array': 'off',
|
||||
'@typescript-eslint/no-implied-eval': 'off',
|
||||
'@typescript-eslint/no-meaningless-void-operator': 'off',
|
||||
'@typescript-eslint/no-misused-promises': 'off',
|
||||
'@typescript-eslint/no-mixed-enums': 'off',
|
||||
'@typescript-eslint/no-redundant-type-constituents': 'off',
|
||||
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'off',
|
||||
'@typescript-eslint/no-unnecessary-condition': 'off',
|
||||
'@typescript-eslint/no-unnecessary-qualifier': 'off',
|
||||
'@typescript-eslint/no-unnecessary-template-expression': 'off',
|
||||
'@typescript-eslint/no-unnecessary-type-arguments': 'off',
|
||||
'@typescript-eslint/no-unnecessary-type-assertion': 'off',
|
||||
'@typescript-eslint/no-unnecessary-type-parameters': 'off',
|
||||
'@typescript-eslint/no-unsafe-argument': 'off',
|
||||
'@typescript-eslint/no-unsafe-assignment': 'off',
|
||||
'@typescript-eslint/no-unsafe-call': 'off',
|
||||
'@typescript-eslint/no-unsafe-enum-comparison': 'off',
|
||||
'@typescript-eslint/no-unsafe-member-access': 'off',
|
||||
'@typescript-eslint/no-unsafe-return': 'off',
|
||||
'@typescript-eslint/no-unsafe-type-assertion': 'off',
|
||||
'@typescript-eslint/no-unsafe-unary-minus': 'off',
|
||||
'@typescript-eslint/non-nullable-type-assertion-style': 'off',
|
||||
'@typescript-eslint/only-throw-error': 'off',
|
||||
'@typescript-eslint/prefer-destructuring': 'off',
|
||||
'@typescript-eslint/prefer-find': 'off',
|
||||
'@typescript-eslint/prefer-includes': 'off',
|
||||
'@typescript-eslint/prefer-nullish-coalescing': 'off',
|
||||
'@typescript-eslint/prefer-optional-chain': 'off',
|
||||
'@typescript-eslint/prefer-promise-reject-errors': 'off',
|
||||
'@typescript-eslint/prefer-readonly': 'off',
|
||||
'@typescript-eslint/prefer-readonly-parameter-types': 'off',
|
||||
'@typescript-eslint/prefer-reduce-type-parameter': 'off',
|
||||
'@typescript-eslint/prefer-regexp-exec': 'off',
|
||||
'@typescript-eslint/prefer-return-this-type': 'off',
|
||||
'@typescript-eslint/prefer-string-starts-ends-with': 'off',
|
||||
'@typescript-eslint/promise-function-async': 'off',
|
||||
'@typescript-eslint/related-getter-setter-pairs': 'off',
|
||||
'@typescript-eslint/require-array-sort-compare': 'off',
|
||||
'@typescript-eslint/require-await': 'off',
|
||||
'@typescript-eslint/restrict-plus-operands': 'off',
|
||||
'@typescript-eslint/restrict-template-expressions': 'off',
|
||||
'@typescript-eslint/return-await': 'off',
|
||||
'@typescript-eslint/strict-boolean-expressions': 'off',
|
||||
'@typescript-eslint/switch-exhaustiveness-check': 'off',
|
||||
'@typescript-eslint/unbound-method': 'off',
|
||||
'@typescript-eslint/use-unknown-in-catch-callback-variable': 'off',
|
||||
},
|
||||
languageOptions: {
|
||||
parserOptions: { project: false, program: null, projectService: false },
|
||||
},
|
||||
});
|
||||
//# sourceMappingURL=disable-type-checked.js.map
|
||||
1
node_modules/typescript-eslint/dist/configs/disable-type-checked.js.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/disable-type-checked.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"disable-type-checked.js","sourceRoot":"","sources":["../../src/configs/disable-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;AAItD;;;GAGG;AACH,kBAAe,CACb,OAA0B,EAC1B,OAA0B,EACP,EAAE,CAAC,CAAC;IACvB,IAAI,EAAE,wCAAwC;IAC9C,KAA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DAAmD,EAAE,KAAK;QAC1D,2CAA2C,EAAE,KAAK;QAClD,gDAAgD,EAAE,KAAK;QACvD,+CAA+C,EAAE,KAAK;QACtD,kCAAkC,EAAE,KAAK;QACzC,2CAA2C,EAAE,KAAK;QAClD,kDAAkD,EAAE,KAAK;QACzD,iCAAiC,EAAE,KAAK;QACxC,+CAA+C,EAAE,KAAK;QACtD,gDAAgD,EAAE,KAAK;QACvD,mCAAmC,EAAE,KAAK;QAC1C,2DAA2D,EAAE,KAAK;KACnE;IACD,eAAe,EAAE;QACf,aAAa,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE;KACxE;CACF,CAAC,CAAC"}
|
||||
10
node_modules/typescript-eslint/dist/configs/eslint-recommended.d.ts
generated
vendored
Normal file
10
node_modules/typescript-eslint/dist/configs/eslint-recommended.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
||||
/**
|
||||
* This is a compatibility ruleset that:
|
||||
* - disables rules from eslint:recommended which are already handled by TypeScript.
|
||||
* - enables rules that make sense due to TS's typechecking / transpilation.
|
||||
* @see {@link https://typescript-eslint.io/users/configs/#eslint-recommended}
|
||||
*/
|
||||
declare const _default: (_plugin: FlatConfig.Plugin, _parser: FlatConfig.Parser) => FlatConfig.Config;
|
||||
export default _default;
|
||||
//# sourceMappingURL=eslint-recommended.d.ts.map
|
||||
1
node_modules/typescript-eslint/dist/configs/eslint-recommended.d.ts.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/eslint-recommended.d.ts.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"eslint-recommended.d.ts","sourceRoot":"","sources":["../../src/configs/eslint-recommended.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAIrE;;;;;GAKG;kCAEQ,UAAU,CAAC,MAAM,WACjB,UAAU,CAAC,MAAM,KACzB,UAAU,CAAC,MAAM;AAHpB,wBAMG"}
|
||||
17
node_modules/typescript-eslint/dist/configs/eslint-recommended.js
generated
vendored
Normal file
17
node_modules/typescript-eslint/dist/configs/eslint-recommended.js
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
"use strict";
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const eslint_recommended_raw_1 = __importDefault(require("@typescript-eslint/eslint-plugin/use-at-your-own-risk/eslint-recommended-raw"));
|
||||
/**
|
||||
* This is a compatibility ruleset that:
|
||||
* - disables rules from eslint:recommended which are already handled by TypeScript.
|
||||
* - enables rules that make sense due to TS's typechecking / transpilation.
|
||||
* @see {@link https://typescript-eslint.io/users/configs/#eslint-recommended}
|
||||
*/
|
||||
exports.default = (_plugin, _parser) => ({
|
||||
...(0, eslint_recommended_raw_1.default)('minimatch'),
|
||||
name: 'typescript-eslint/eslint-recommended',
|
||||
});
|
||||
//# sourceMappingURL=eslint-recommended.js.map
|
||||
1
node_modules/typescript-eslint/dist/configs/eslint-recommended.js.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/eslint-recommended.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"eslint-recommended.js","sourceRoot":"","sources":["../../src/configs/eslint-recommended.ts"],"names":[],"mappings":";;;;;AAEA,0IAAkG;AAElG;;;;;GAKG;AACH,kBAAe,CACb,OAA0B,EAC1B,OAA0B,EACP,EAAE,CAAC,CAAC;IACvB,GAAG,IAAA,gCAAM,EAAC,WAAW,CAAC;IACtB,IAAI,EAAE,sCAAsC;CAC7C,CAAC,CAAC"}
|
||||
8
node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.d.ts
generated
vendored
Normal file
8
node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
||||
/**
|
||||
* A version of `recommended` that only contains type-checked rules and disables of any corresponding core ESLint rules.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked-only}
|
||||
*/
|
||||
declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray;
|
||||
export default _default;
|
||||
//# sourceMappingURL=recommended-type-checked-only.d.ts.map
|
||||
1
node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.d.ts.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.d.ts.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"recommended-type-checked-only.d.ts","sourceRoot":"","sources":["../../src/configs/recommended-type-checked-only.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBAsCE"}
|
||||
54
node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.js
generated
vendored
Normal file
54
node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.js
generated
vendored
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
"use strict";
|
||||
// THIS CODE WAS AUTOMATICALLY GENERATED
|
||||
// DO NOT EDIT THIS CODE BY HAND
|
||||
// SEE https://typescript-eslint.io/users/configs
|
||||
//
|
||||
// For developers working in the typescript-eslint monorepo:
|
||||
// You can regenerate it using `yarn generate:configs`
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const base_1 = __importDefault(require("./base"));
|
||||
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
||||
/**
|
||||
* A version of `recommended` that only contains type-checked rules and disables of any corresponding core ESLint rules.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked-only}
|
||||
*/
|
||||
exports.default = (plugin, parser) => [
|
||||
(0, base_1.default)(plugin, parser),
|
||||
(0, eslint_recommended_1.default)(plugin, parser),
|
||||
{
|
||||
name: 'typescript-eslint/recommended-type-checked-only',
|
||||
rules: {
|
||||
'@typescript-eslint/await-thenable': 'error',
|
||||
'@typescript-eslint/no-array-delete': 'error',
|
||||
'@typescript-eslint/no-base-to-string': 'error',
|
||||
'@typescript-eslint/no-duplicate-type-constituents': 'error',
|
||||
'@typescript-eslint/no-floating-promises': 'error',
|
||||
'@typescript-eslint/no-for-in-array': 'error',
|
||||
'no-implied-eval': 'off',
|
||||
'@typescript-eslint/no-implied-eval': 'error',
|
||||
'@typescript-eslint/no-misused-promises': 'error',
|
||||
'@typescript-eslint/no-redundant-type-constituents': 'error',
|
||||
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
|
||||
'@typescript-eslint/no-unsafe-argument': 'error',
|
||||
'@typescript-eslint/no-unsafe-assignment': 'error',
|
||||
'@typescript-eslint/no-unsafe-call': 'error',
|
||||
'@typescript-eslint/no-unsafe-enum-comparison': 'error',
|
||||
'@typescript-eslint/no-unsafe-member-access': 'error',
|
||||
'@typescript-eslint/no-unsafe-return': 'error',
|
||||
'@typescript-eslint/no-unsafe-unary-minus': 'error',
|
||||
'no-throw-literal': 'off',
|
||||
'@typescript-eslint/only-throw-error': 'error',
|
||||
'prefer-promise-reject-errors': 'off',
|
||||
'@typescript-eslint/prefer-promise-reject-errors': 'error',
|
||||
'require-await': 'off',
|
||||
'@typescript-eslint/require-await': 'error',
|
||||
'@typescript-eslint/restrict-plus-operands': 'error',
|
||||
'@typescript-eslint/restrict-template-expressions': 'error',
|
||||
'@typescript-eslint/unbound-method': 'error',
|
||||
},
|
||||
},
|
||||
];
|
||||
//# sourceMappingURL=recommended-type-checked-only.js.map
|
||||
1
node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.js.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"recommended-type-checked-only.js","sourceRoot":"","sources":["../../src/configs/recommended-type-checked-only.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D;;;GAGG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,IAAI,EAAE,iDAAiD;QACvD,KAAK,EAAE;YACL,mCAAmC,EAAE,OAAO;YAC5C,oCAAoC,EAAE,OAAO;YAC7C,sCAAsC,EAAE,OAAO;YAC/C,mDAAmD,EAAE,OAAO;YAC5D,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,iBAAiB,EAAE,KAAK;YACxB,oCAAoC,EAAE,OAAO;YAC7C,wCAAwC,EAAE,OAAO;YACjD,mDAAmD,EAAE,OAAO;YAC5D,kDAAkD,EAAE,OAAO;YAC3D,uCAAuC,EAAE,OAAO;YAChD,yCAAyC,EAAE,OAAO;YAClD,mCAAmC,EAAE,OAAO;YAC5C,8CAA8C,EAAE,OAAO;YACvD,4CAA4C,EAAE,OAAO;YACrD,qCAAqC,EAAE,OAAO;YAC9C,0CAA0C,EAAE,OAAO;YACnD,kBAAkB,EAAE,KAAK;YACzB,qCAAqC,EAAE,OAAO;YAC9C,8BAA8B,EAAE,KAAK;YACrC,iDAAiD,EAAE,OAAO;YAC1D,eAAe,EAAE,KAAK;YACtB,kCAAkC,EAAE,OAAO;YAC3C,2CAA2C,EAAE,OAAO;YACpD,kDAAkD,EAAE,OAAO;YAC3D,mCAAmC,EAAE,OAAO;SAC7C;KACF;CACF,CAAC"}
|
||||
8
node_modules/typescript-eslint/dist/configs/recommended-type-checked.d.ts
generated
vendored
Normal file
8
node_modules/typescript-eslint/dist/configs/recommended-type-checked.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
||||
/**
|
||||
* Contains all of `recommended` along with additional recommended rules that require type information.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked}
|
||||
*/
|
||||
declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray;
|
||||
export default _default;
|
||||
//# sourceMappingURL=recommended-type-checked.d.ts.map
|
||||
1
node_modules/typescript-eslint/dist/configs/recommended-type-checked.d.ts.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/recommended-type-checked.d.ts.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"recommended-type-checked.d.ts","sourceRoot":"","sources":["../../src/configs/recommended-type-checked.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBA6DE"}
|
||||
77
node_modules/typescript-eslint/dist/configs/recommended-type-checked.js
generated
vendored
Normal file
77
node_modules/typescript-eslint/dist/configs/recommended-type-checked.js
generated
vendored
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
"use strict";
|
||||
// THIS CODE WAS AUTOMATICALLY GENERATED
|
||||
// DO NOT EDIT THIS CODE BY HAND
|
||||
// SEE https://typescript-eslint.io/users/configs
|
||||
//
|
||||
// For developers working in the typescript-eslint monorepo:
|
||||
// You can regenerate it using `yarn generate:configs`
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const base_1 = __importDefault(require("./base"));
|
||||
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
||||
/**
|
||||
* Contains all of `recommended` along with additional recommended rules that require type information.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked}
|
||||
*/
|
||||
exports.default = (plugin, parser) => [
|
||||
(0, base_1.default)(plugin, parser),
|
||||
(0, eslint_recommended_1.default)(plugin, parser),
|
||||
{
|
||||
name: 'typescript-eslint/recommended-type-checked',
|
||||
rules: {
|
||||
'@typescript-eslint/await-thenable': 'error',
|
||||
'@typescript-eslint/ban-ts-comment': 'error',
|
||||
'no-array-constructor': 'off',
|
||||
'@typescript-eslint/no-array-constructor': 'error',
|
||||
'@typescript-eslint/no-array-delete': 'error',
|
||||
'@typescript-eslint/no-base-to-string': 'error',
|
||||
'@typescript-eslint/no-duplicate-enum-values': 'error',
|
||||
'@typescript-eslint/no-duplicate-type-constituents': 'error',
|
||||
'@typescript-eslint/no-empty-object-type': 'error',
|
||||
'@typescript-eslint/no-explicit-any': 'error',
|
||||
'@typescript-eslint/no-extra-non-null-assertion': 'error',
|
||||
'@typescript-eslint/no-floating-promises': 'error',
|
||||
'@typescript-eslint/no-for-in-array': 'error',
|
||||
'no-implied-eval': 'off',
|
||||
'@typescript-eslint/no-implied-eval': 'error',
|
||||
'@typescript-eslint/no-misused-new': 'error',
|
||||
'@typescript-eslint/no-misused-promises': 'error',
|
||||
'@typescript-eslint/no-namespace': 'error',
|
||||
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
|
||||
'@typescript-eslint/no-redundant-type-constituents': 'error',
|
||||
'@typescript-eslint/no-require-imports': 'error',
|
||||
'@typescript-eslint/no-this-alias': 'error',
|
||||
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
|
||||
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
|
||||
'@typescript-eslint/no-unsafe-argument': 'error',
|
||||
'@typescript-eslint/no-unsafe-assignment': 'error',
|
||||
'@typescript-eslint/no-unsafe-call': 'error',
|
||||
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
|
||||
'@typescript-eslint/no-unsafe-enum-comparison': 'error',
|
||||
'@typescript-eslint/no-unsafe-function-type': 'error',
|
||||
'@typescript-eslint/no-unsafe-member-access': 'error',
|
||||
'@typescript-eslint/no-unsafe-return': 'error',
|
||||
'@typescript-eslint/no-unsafe-unary-minus': 'error',
|
||||
'no-unused-expressions': 'off',
|
||||
'@typescript-eslint/no-unused-expressions': 'error',
|
||||
'no-unused-vars': 'off',
|
||||
'@typescript-eslint/no-unused-vars': 'error',
|
||||
'@typescript-eslint/no-wrapper-object-types': 'error',
|
||||
'no-throw-literal': 'off',
|
||||
'@typescript-eslint/only-throw-error': 'error',
|
||||
'@typescript-eslint/prefer-as-const': 'error',
|
||||
'@typescript-eslint/prefer-namespace-keyword': 'error',
|
||||
'prefer-promise-reject-errors': 'off',
|
||||
'@typescript-eslint/prefer-promise-reject-errors': 'error',
|
||||
'require-await': 'off',
|
||||
'@typescript-eslint/require-await': 'error',
|
||||
'@typescript-eslint/restrict-plus-operands': 'error',
|
||||
'@typescript-eslint/restrict-template-expressions': 'error',
|
||||
'@typescript-eslint/triple-slash-reference': 'error',
|
||||
'@typescript-eslint/unbound-method': 'error',
|
||||
},
|
||||
},
|
||||
];
|
||||
//# sourceMappingURL=recommended-type-checked.js.map
|
||||
1
node_modules/typescript-eslint/dist/configs/recommended-type-checked.js.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/recommended-type-checked.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"recommended-type-checked.js","sourceRoot":"","sources":["../../src/configs/recommended-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDA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0C,EAAE,OAAO;YACnD,gBAAgB,EAAE,KAAK;YACvB,mCAAmC,EAAE,OAAO;YAC5C,4CAA4C,EAAE,OAAO;YACrD,kBAAkB,EAAE,KAAK;YACzB,qCAAqC,EAAE,OAAO;YAC9C,oCAAoC,EAAE,OAAO;YAC7C,6CAA6C,EAAE,OAAO;YACtD,8BAA8B,EAAE,KAAK;YACrC,iDAAiD,EAAE,OAAO;YAC1D,eAAe,EAAE,KAAK;YACtB,kCAAkC,EAAE,OAAO;YAC3C,2CAA2C,EAAE,OAAO;YACpD,kDAAkD,EAAE,OAAO;YAC3D,2CAA2C,EAAE,OAAO;YACpD,mCAAmC,EAAE,OAAO;SAC7C;KACF;CACF,CAAC"}
|
||||
8
node_modules/typescript-eslint/dist/configs/recommended.d.ts
generated
vendored
Normal file
8
node_modules/typescript-eslint/dist/configs/recommended.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
||||
/**
|
||||
* Recommended rules for code correctness that you can drop in without additional configuration.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#recommended}
|
||||
*/
|
||||
declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray;
|
||||
export default _default;
|
||||
//# sourceMappingURL=recommended.d.ts.map
|
||||
1
node_modules/typescript-eslint/dist/configs/recommended.d.ts.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/recommended.d.ts.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"recommended.d.ts","sourceRoot":"","sources":["../../src/configs/recommended.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBAkCE"}
|
||||
50
node_modules/typescript-eslint/dist/configs/recommended.js
generated
vendored
Normal file
50
node_modules/typescript-eslint/dist/configs/recommended.js
generated
vendored
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
"use strict";
|
||||
// THIS CODE WAS AUTOMATICALLY GENERATED
|
||||
// DO NOT EDIT THIS CODE BY HAND
|
||||
// SEE https://typescript-eslint.io/users/configs
|
||||
//
|
||||
// For developers working in the typescript-eslint monorepo:
|
||||
// You can regenerate it using `yarn generate:configs`
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const base_1 = __importDefault(require("./base"));
|
||||
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
||||
/**
|
||||
* Recommended rules for code correctness that you can drop in without additional configuration.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#recommended}
|
||||
*/
|
||||
exports.default = (plugin, parser) => [
|
||||
(0, base_1.default)(plugin, parser),
|
||||
(0, eslint_recommended_1.default)(plugin, parser),
|
||||
{
|
||||
name: 'typescript-eslint/recommended',
|
||||
rules: {
|
||||
'@typescript-eslint/ban-ts-comment': 'error',
|
||||
'no-array-constructor': 'off',
|
||||
'@typescript-eslint/no-array-constructor': 'error',
|
||||
'@typescript-eslint/no-duplicate-enum-values': 'error',
|
||||
'@typescript-eslint/no-empty-object-type': 'error',
|
||||
'@typescript-eslint/no-explicit-any': 'error',
|
||||
'@typescript-eslint/no-extra-non-null-assertion': 'error',
|
||||
'@typescript-eslint/no-misused-new': 'error',
|
||||
'@typescript-eslint/no-namespace': 'error',
|
||||
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
|
||||
'@typescript-eslint/no-require-imports': 'error',
|
||||
'@typescript-eslint/no-this-alias': 'error',
|
||||
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
|
||||
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
|
||||
'@typescript-eslint/no-unsafe-function-type': 'error',
|
||||
'no-unused-expressions': 'off',
|
||||
'@typescript-eslint/no-unused-expressions': 'error',
|
||||
'no-unused-vars': 'off',
|
||||
'@typescript-eslint/no-unused-vars': 'error',
|
||||
'@typescript-eslint/no-wrapper-object-types': 'error',
|
||||
'@typescript-eslint/prefer-as-const': 'error',
|
||||
'@typescript-eslint/prefer-namespace-keyword': 'error',
|
||||
'@typescript-eslint/triple-slash-reference': 'error',
|
||||
},
|
||||
},
|
||||
];
|
||||
//# sourceMappingURL=recommended.js.map
|
||||
1
node_modules/typescript-eslint/dist/configs/recommended.js.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/recommended.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"recommended.js","sourceRoot":"","sources":["../../src/configs/recommended.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D;;;GAGG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,IAAI,EAAE,+BAA+B;QACrC,KAAK,EAAE;YACL,mCAAmC,EAAE,OAAO;YAC5C,sBAAsB,EAAE,KAAK;YAC7B,yCAAyC,EAAE,OAAO;YAClD,6CAA6C,EAAE,OAAO;YACtD,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,gDAAgD,EAAE,OAAO;YACzD,mCAAmC,EAAE,OAAO;YAC5C,iCAAiC,EAAE,OAAO;YAC1C,wDAAwD,EAAE,OAAO;YACjE,uCAAuC,EAAE,OAAO;YAChD,kCAAkC,EAAE,OAAO;YAC3C,mDAAmD,EAAE,OAAO;YAC5D,kDAAkD,EAAE,OAAO;YAC3D,4CAA4C,EAAE,OAAO;YACrD,uBAAuB,EAAE,KAAK;YAC9B,0CAA0C,EAAE,OAAO;YACnD,gBAAgB,EAAE,KAAK;YACvB,mCAAmC,EAAE,OAAO;YAC5C,4CAA4C,EAAE,OAAO;YACrD,oCAAoC,EAAE,OAAO;YAC7C,6CAA6C,EAAE,OAAO;YACtD,2CAA2C,EAAE,OAAO;SACrD;KACF;CACF,CAAC"}
|
||||
8
node_modules/typescript-eslint/dist/configs/strict-type-checked-only.d.ts
generated
vendored
Normal file
8
node_modules/typescript-eslint/dist/configs/strict-type-checked-only.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
||||
/**
|
||||
* A version of `strict` that only contains type-checked rules and disables of any corresponding core ESLint rules.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#strict-type-checked-only}
|
||||
*/
|
||||
declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray;
|
||||
export default _default;
|
||||
//# sourceMappingURL=strict-type-checked-only.d.ts.map
|
||||
1
node_modules/typescript-eslint/dist/configs/strict-type-checked-only.d.ts.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/strict-type-checked-only.d.ts.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"strict-type-checked-only.d.ts","sourceRoot":"","sources":["../../src/configs/strict-type-checked-only.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBA2EE"}
|
||||
91
node_modules/typescript-eslint/dist/configs/strict-type-checked-only.js
generated
vendored
Normal file
91
node_modules/typescript-eslint/dist/configs/strict-type-checked-only.js
generated
vendored
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
"use strict";
|
||||
// THIS CODE WAS AUTOMATICALLY GENERATED
|
||||
// DO NOT EDIT THIS CODE BY HAND
|
||||
// SEE https://typescript-eslint.io/users/configs
|
||||
//
|
||||
// For developers working in the typescript-eslint monorepo:
|
||||
// You can regenerate it using `yarn generate:configs`
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const base_1 = __importDefault(require("./base"));
|
||||
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
||||
/**
|
||||
* A version of `strict` that only contains type-checked rules and disables of any corresponding core ESLint rules.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#strict-type-checked-only}
|
||||
*/
|
||||
exports.default = (plugin, parser) => [
|
||||
(0, base_1.default)(plugin, parser),
|
||||
(0, eslint_recommended_1.default)(plugin, parser),
|
||||
{
|
||||
name: 'typescript-eslint/strict-type-checked-only',
|
||||
rules: {
|
||||
'@typescript-eslint/await-thenable': 'error',
|
||||
'@typescript-eslint/no-array-delete': 'error',
|
||||
'@typescript-eslint/no-base-to-string': 'error',
|
||||
'@typescript-eslint/no-confusing-void-expression': 'error',
|
||||
'@typescript-eslint/no-deprecated': 'error',
|
||||
'@typescript-eslint/no-duplicate-type-constituents': 'error',
|
||||
'@typescript-eslint/no-floating-promises': 'error',
|
||||
'@typescript-eslint/no-for-in-array': 'error',
|
||||
'no-implied-eval': 'off',
|
||||
'@typescript-eslint/no-implied-eval': 'error',
|
||||
'@typescript-eslint/no-meaningless-void-operator': 'error',
|
||||
'@typescript-eslint/no-misused-promises': 'error',
|
||||
'@typescript-eslint/no-mixed-enums': 'error',
|
||||
'@typescript-eslint/no-redundant-type-constituents': 'error',
|
||||
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',
|
||||
'@typescript-eslint/no-unnecessary-condition': 'error',
|
||||
'@typescript-eslint/no-unnecessary-template-expression': 'error',
|
||||
'@typescript-eslint/no-unnecessary-type-arguments': 'error',
|
||||
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
|
||||
'@typescript-eslint/no-unnecessary-type-parameters': 'error',
|
||||
'@typescript-eslint/no-unsafe-argument': 'error',
|
||||
'@typescript-eslint/no-unsafe-assignment': 'error',
|
||||
'@typescript-eslint/no-unsafe-call': 'error',
|
||||
'@typescript-eslint/no-unsafe-enum-comparison': 'error',
|
||||
'@typescript-eslint/no-unsafe-member-access': 'error',
|
||||
'@typescript-eslint/no-unsafe-return': 'error',
|
||||
'@typescript-eslint/no-unsafe-unary-minus': 'error',
|
||||
'no-throw-literal': 'off',
|
||||
'@typescript-eslint/only-throw-error': 'error',
|
||||
'prefer-promise-reject-errors': 'off',
|
||||
'@typescript-eslint/prefer-promise-reject-errors': 'error',
|
||||
'@typescript-eslint/prefer-reduce-type-parameter': 'error',
|
||||
'@typescript-eslint/prefer-return-this-type': 'error',
|
||||
'@typescript-eslint/related-getter-setter-pairs': 'error',
|
||||
'require-await': 'off',
|
||||
'@typescript-eslint/require-await': 'error',
|
||||
'@typescript-eslint/restrict-plus-operands': [
|
||||
'error',
|
||||
{
|
||||
allowAny: false,
|
||||
allowBoolean: false,
|
||||
allowNullish: false,
|
||||
allowNumberAndString: false,
|
||||
allowRegExp: false,
|
||||
},
|
||||
],
|
||||
'@typescript-eslint/restrict-template-expressions': [
|
||||
'error',
|
||||
{
|
||||
allowAny: false,
|
||||
allowBoolean: false,
|
||||
allowNullish: false,
|
||||
allowNumber: false,
|
||||
allowRegExp: false,
|
||||
allowNever: false,
|
||||
},
|
||||
],
|
||||
'no-return-await': 'off',
|
||||
'@typescript-eslint/return-await': [
|
||||
'error',
|
||||
'error-handling-correctness-only',
|
||||
],
|
||||
'@typescript-eslint/unbound-method': 'error',
|
||||
'@typescript-eslint/use-unknown-in-catch-callback-variable': 'error',
|
||||
},
|
||||
},
|
||||
];
|
||||
//# sourceMappingURL=strict-type-checked-only.js.map
|
||||
1
node_modules/typescript-eslint/dist/configs/strict-type-checked-only.js.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/strict-type-checked-only.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"strict-type-checked-only.js","sourceRoot":"","sources":["../../src/configs/strict-type-checked-only.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D;;;GAGG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,IAAI,EAAE,4CAA4C;QAClD,KAAK,EAAE;YACL,mCAAmC,EAAE,OAAO;YAC5C,oCAAoC,EAAE,OAAO;YAC7C,sCAAsC,EAAE,OAAO;YAC/C,iDAAiD,EAAE,OAAO;YAC1D,kCAAkC,EAAE,OAAO;YAC3C,mDAAmD,EAAE,OAAO;YAC5D,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,iBAAiB,EAAE,KAAK;YACxB,oCAAoC,EAAE,OAAO;YAC7C,iDAAiD,EAAE,OAAO;YAC1D,wCAAwC,EAAE,OAAO;YACjD,mCAAmC,EAAE,OAAO;YAC5C,mDAAmD,EAAE,OAAO;YAC5D,2DAA2D,EAAE,OAAO;YACpE,6CAA6C,EAAE,OAAO;YACtD,uDAAuD,EAAE,OAAO;YAChE,kDAAkD,EAAE,OAAO;YAC3D,kDAAkD,EAAE,OAAO;YAC3D,mDAAmD,EAAE,OAAO;YAC5D,uCAAuC,EAAE,OAAO;YAChD,yCAAyC,EAAE,OAAO;YAClD,mCAAmC,EAAE,OAAO;YAC5C,8CAA8C,EAAE,OAAO;YACvD,4CAA4C,EAAE,OAAO;YACrD,qCAAqC,EAAE,OAAO;YAC9C,0CAA0C,EAAE,OAAO;YACnD,kBAAkB,EAAE,KAAK;YACzB,qCAAqC,EAAE,OAAO;YAC9C,8BAA8B,EAAE,KAAK;YACrC,iDAAiD,EAAE,OAAO;YAC1D,iDAAiD,EAAE,OAAO;YAC1D,4CAA4C,EAAE,OAAO;YACrD,gDAAgD,EAAE,OAAO;YACzD,eAAe,EAAE,KAAK;YACtB,kCAAkC,EAAE,OAAO;YAC3C,2CAA2C,EAAE;gBAC3C,OAAO;gBACP;oBACE,QAAQ,EAAE,KAAK;oBACf,YAAY,EAAE,KAAK;oBACnB,YAAY,EAAE,KAAK;oBACnB,oBAAoB,EAAE,KAAK;oBAC3B,WAAW,EAAE,KAAK;iBACnB;aACF;YACD,kDAAkD,EAAE;gBAClD,OAAO;gBACP;oBACE,QAAQ,EAAE,KAAK;oBACf,YAAY,EAAE,KAAK;oBACnB,YAAY,EAAE,KAAK;oBACnB,WAAW,EAAE,KAAK;oBAClB,WAAW,EAAE,KAAK;oBAClB,UAAU,EAAE,KAAK;iBAClB;aACF;YACD,iBAAiB,EAAE,KAAK;YACxB,iCAAiC,EAAE;gBACjC,OAAO;gBACP,iCAAiC;aAClC;YACD,mCAAmC,EAAE,OAAO;YAC5C,2DAA2D,EAAE,OAAO;SACrE;KACF;CACF,CAAC"}
|
||||
8
node_modules/typescript-eslint/dist/configs/strict-type-checked.d.ts
generated
vendored
Normal file
8
node_modules/typescript-eslint/dist/configs/strict-type-checked.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
||||
/**
|
||||
* Contains all of `recommended`, `recommended-type-checked`, and `strict`, along with additional strict rules that require type information.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#strict-type-checked}
|
||||
*/
|
||||
declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray;
|
||||
export default _default;
|
||||
//# sourceMappingURL=strict-type-checked.d.ts.map
|
||||
1
node_modules/typescript-eslint/dist/configs/strict-type-checked.d.ts.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/strict-type-checked.d.ts.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"strict-type-checked.d.ts","sourceRoot":"","sources":["../../src/configs/strict-type-checked.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBA8GE"}
|
||||
126
node_modules/typescript-eslint/dist/configs/strict-type-checked.js
generated
vendored
Normal file
126
node_modules/typescript-eslint/dist/configs/strict-type-checked.js
generated
vendored
Normal file
|
|
@ -0,0 +1,126 @@
|
|||
"use strict";
|
||||
// THIS CODE WAS AUTOMATICALLY GENERATED
|
||||
// DO NOT EDIT THIS CODE BY HAND
|
||||
// SEE https://typescript-eslint.io/users/configs
|
||||
//
|
||||
// For developers working in the typescript-eslint monorepo:
|
||||
// You can regenerate it using `yarn generate:configs`
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const base_1 = __importDefault(require("./base"));
|
||||
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
||||
/**
|
||||
* Contains all of `recommended`, `recommended-type-checked`, and `strict`, along with additional strict rules that require type information.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#strict-type-checked}
|
||||
*/
|
||||
exports.default = (plugin, parser) => [
|
||||
(0, base_1.default)(plugin, parser),
|
||||
(0, eslint_recommended_1.default)(plugin, parser),
|
||||
{
|
||||
name: 'typescript-eslint/strict-type-checked',
|
||||
rules: {
|
||||
'@typescript-eslint/await-thenable': 'error',
|
||||
'@typescript-eslint/ban-ts-comment': [
|
||||
'error',
|
||||
{ minimumDescriptionLength: 10 },
|
||||
],
|
||||
'no-array-constructor': 'off',
|
||||
'@typescript-eslint/no-array-constructor': 'error',
|
||||
'@typescript-eslint/no-array-delete': 'error',
|
||||
'@typescript-eslint/no-base-to-string': 'error',
|
||||
'@typescript-eslint/no-confusing-void-expression': 'error',
|
||||
'@typescript-eslint/no-deprecated': 'error',
|
||||
'@typescript-eslint/no-duplicate-enum-values': 'error',
|
||||
'@typescript-eslint/no-duplicate-type-constituents': 'error',
|
||||
'@typescript-eslint/no-dynamic-delete': 'error',
|
||||
'@typescript-eslint/no-empty-object-type': 'error',
|
||||
'@typescript-eslint/no-explicit-any': 'error',
|
||||
'@typescript-eslint/no-extra-non-null-assertion': 'error',
|
||||
'@typescript-eslint/no-extraneous-class': 'error',
|
||||
'@typescript-eslint/no-floating-promises': 'error',
|
||||
'@typescript-eslint/no-for-in-array': 'error',
|
||||
'no-implied-eval': 'off',
|
||||
'@typescript-eslint/no-implied-eval': 'error',
|
||||
'@typescript-eslint/no-invalid-void-type': 'error',
|
||||
'@typescript-eslint/no-meaningless-void-operator': 'error',
|
||||
'@typescript-eslint/no-misused-new': 'error',
|
||||
'@typescript-eslint/no-misused-promises': 'error',
|
||||
'@typescript-eslint/no-mixed-enums': 'error',
|
||||
'@typescript-eslint/no-namespace': 'error',
|
||||
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
|
||||
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
|
||||
'@typescript-eslint/no-non-null-assertion': 'error',
|
||||
'@typescript-eslint/no-redundant-type-constituents': 'error',
|
||||
'@typescript-eslint/no-require-imports': 'error',
|
||||
'@typescript-eslint/no-this-alias': 'error',
|
||||
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',
|
||||
'@typescript-eslint/no-unnecessary-condition': 'error',
|
||||
'@typescript-eslint/no-unnecessary-template-expression': 'error',
|
||||
'@typescript-eslint/no-unnecessary-type-arguments': 'error',
|
||||
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
|
||||
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
|
||||
'@typescript-eslint/no-unnecessary-type-parameters': 'error',
|
||||
'@typescript-eslint/no-unsafe-argument': 'error',
|
||||
'@typescript-eslint/no-unsafe-assignment': 'error',
|
||||
'@typescript-eslint/no-unsafe-call': 'error',
|
||||
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
|
||||
'@typescript-eslint/no-unsafe-enum-comparison': 'error',
|
||||
'@typescript-eslint/no-unsafe-function-type': 'error',
|
||||
'@typescript-eslint/no-unsafe-member-access': 'error',
|
||||
'@typescript-eslint/no-unsafe-return': 'error',
|
||||
'@typescript-eslint/no-unsafe-unary-minus': 'error',
|
||||
'no-unused-expressions': 'off',
|
||||
'@typescript-eslint/no-unused-expressions': 'error',
|
||||
'no-unused-vars': 'off',
|
||||
'@typescript-eslint/no-unused-vars': 'error',
|
||||
'no-useless-constructor': 'off',
|
||||
'@typescript-eslint/no-useless-constructor': 'error',
|
||||
'@typescript-eslint/no-wrapper-object-types': 'error',
|
||||
'no-throw-literal': 'off',
|
||||
'@typescript-eslint/only-throw-error': 'error',
|
||||
'@typescript-eslint/prefer-as-const': 'error',
|
||||
'@typescript-eslint/prefer-literal-enum-member': 'error',
|
||||
'@typescript-eslint/prefer-namespace-keyword': 'error',
|
||||
'prefer-promise-reject-errors': 'off',
|
||||
'@typescript-eslint/prefer-promise-reject-errors': 'error',
|
||||
'@typescript-eslint/prefer-reduce-type-parameter': 'error',
|
||||
'@typescript-eslint/prefer-return-this-type': 'error',
|
||||
'@typescript-eslint/related-getter-setter-pairs': 'error',
|
||||
'require-await': 'off',
|
||||
'@typescript-eslint/require-await': 'error',
|
||||
'@typescript-eslint/restrict-plus-operands': [
|
||||
'error',
|
||||
{
|
||||
allowAny: false,
|
||||
allowBoolean: false,
|
||||
allowNullish: false,
|
||||
allowNumberAndString: false,
|
||||
allowRegExp: false,
|
||||
},
|
||||
],
|
||||
'@typescript-eslint/restrict-template-expressions': [
|
||||
'error',
|
||||
{
|
||||
allowAny: false,
|
||||
allowBoolean: false,
|
||||
allowNullish: false,
|
||||
allowNumber: false,
|
||||
allowRegExp: false,
|
||||
allowNever: false,
|
||||
},
|
||||
],
|
||||
'no-return-await': 'off',
|
||||
'@typescript-eslint/return-await': [
|
||||
'error',
|
||||
'error-handling-correctness-only',
|
||||
],
|
||||
'@typescript-eslint/triple-slash-reference': 'error',
|
||||
'@typescript-eslint/unbound-method': 'error',
|
||||
'@typescript-eslint/unified-signatures': 'error',
|
||||
'@typescript-eslint/use-unknown-in-catch-callback-variable': 'error',
|
||||
},
|
||||
},
|
||||
];
|
||||
//# sourceMappingURL=strict-type-checked.js.map
|
||||
1
node_modules/typescript-eslint/dist/configs/strict-type-checked.js.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/strict-type-checked.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"strict-type-checked.js","sourceRoot":"","sources":["../../src/configs/strict-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D;;;GAGG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,IAAI,EAAE,uCAAuC;QAC7C,KAAK,EAAE;YACL,mCAAmC,EAAE,OAAO;YAC5C,mCAAmC,EAAE;gBACnC,OAAO;gBACP,EAAE,wBAAwB,EAAE,EAAE,EAAE;aACjC;YACD,sBAAsB,EAAE,KAAK;YAC7B,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,sCAAsC,EAAE,OAAO;YAC/C,iDAAiD,EAA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,2CAA2C,EAAE,OAAO;YACpD,4CAA4C,EAAE,OAAO;YACrD,kBAAkB,EAAE,KAAK;YACzB,qCAAqC,EAAE,OAAO;YAC9C,oCAAoC,EAAE,OAAO;YAC7C,+CAA+C,EAAE,OAAO;YACxD,6CAA6C,EAAE,OAAO;YACtD,8BAA8B,EAAE,KAAK;YACrC,iDAAiD,EAAE,OAAO;YAC1D,iDAAiD,EAAE,OAAO;YAC1D,4CAA4C,EAAE,OAAO;YACrD,gDAAgD,EAAE,OAAO;YACzD,eAAe,EAAE,KAAK;YACtB,kCAAkC,EAAE,OAAO;YAC3C,2CAA2C,EAAE;gBAC3C,OAAO;gBACP;oBACE,QAAQ,EAAE,KAAK;oBACf,YAAY,EAAE,KAAK;oBACnB,YAAY,EAAE,KAAK;oBACnB,oBAAoB,EAAE,KAAK;oBAC3B,WAAW,EAAE,KAAK;iBACnB;aACF;YACD,kDAAkD,EAAE;gBAClD,OAAO;gBACP;oBACE,QAAQ,EAAE,KAAK;oBACf,YAAY,EAAE,KAAK;oBACnB,YAAY,EAAE,KAAK;oBACnB,WAAW,EAAE,KAAK;oBAClB,WAAW,EAAE,KAAK;oBAClB,UAAU,EAAE,KAAK;iBAClB;aACF;YACD,iBAAiB,EAAE,KAAK;YACxB,iCAAiC,EAAE;gBACjC,OAAO;gBACP,iCAAiC;aAClC;YACD,2CAA2C,EAAE,OAAO;YACpD,mCAAmC,EAAE,OAAO;YAC5C,uCAAuC,EAAE,OAAO;YAChD,2DAA2D,EAAE,OAAO;SACrE;KACF;CACF,CAAC"}
|
||||
8
node_modules/typescript-eslint/dist/configs/strict.d.ts
generated
vendored
Normal file
8
node_modules/typescript-eslint/dist/configs/strict.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
||||
/**
|
||||
* Contains all of `recommended`, as well as additional strict rules that can also catch bugs.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#strict}
|
||||
*/
|
||||
declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray;
|
||||
export default _default;
|
||||
//# sourceMappingURL=strict.d.ts.map
|
||||
1
node_modules/typescript-eslint/dist/configs/strict.d.ts.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/strict.d.ts.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"strict.d.ts","sourceRoot":"","sources":["../../src/configs/strict.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBA8CE"}
|
||||
62
node_modules/typescript-eslint/dist/configs/strict.js
generated
vendored
Normal file
62
node_modules/typescript-eslint/dist/configs/strict.js
generated
vendored
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
"use strict";
|
||||
// THIS CODE WAS AUTOMATICALLY GENERATED
|
||||
// DO NOT EDIT THIS CODE BY HAND
|
||||
// SEE https://typescript-eslint.io/users/configs
|
||||
//
|
||||
// For developers working in the typescript-eslint monorepo:
|
||||
// You can regenerate it using `yarn generate:configs`
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const base_1 = __importDefault(require("./base"));
|
||||
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
||||
/**
|
||||
* Contains all of `recommended`, as well as additional strict rules that can also catch bugs.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#strict}
|
||||
*/
|
||||
exports.default = (plugin, parser) => [
|
||||
(0, base_1.default)(plugin, parser),
|
||||
(0, eslint_recommended_1.default)(plugin, parser),
|
||||
{
|
||||
name: 'typescript-eslint/strict',
|
||||
rules: {
|
||||
'@typescript-eslint/ban-ts-comment': [
|
||||
'error',
|
||||
{ minimumDescriptionLength: 10 },
|
||||
],
|
||||
'no-array-constructor': 'off',
|
||||
'@typescript-eslint/no-array-constructor': 'error',
|
||||
'@typescript-eslint/no-duplicate-enum-values': 'error',
|
||||
'@typescript-eslint/no-dynamic-delete': 'error',
|
||||
'@typescript-eslint/no-empty-object-type': 'error',
|
||||
'@typescript-eslint/no-explicit-any': 'error',
|
||||
'@typescript-eslint/no-extra-non-null-assertion': 'error',
|
||||
'@typescript-eslint/no-extraneous-class': 'error',
|
||||
'@typescript-eslint/no-invalid-void-type': 'error',
|
||||
'@typescript-eslint/no-misused-new': 'error',
|
||||
'@typescript-eslint/no-namespace': 'error',
|
||||
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
|
||||
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
|
||||
'@typescript-eslint/no-non-null-assertion': 'error',
|
||||
'@typescript-eslint/no-require-imports': 'error',
|
||||
'@typescript-eslint/no-this-alias': 'error',
|
||||
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
|
||||
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
|
||||
'@typescript-eslint/no-unsafe-function-type': 'error',
|
||||
'no-unused-expressions': 'off',
|
||||
'@typescript-eslint/no-unused-expressions': 'error',
|
||||
'no-unused-vars': 'off',
|
||||
'@typescript-eslint/no-unused-vars': 'error',
|
||||
'no-useless-constructor': 'off',
|
||||
'@typescript-eslint/no-useless-constructor': 'error',
|
||||
'@typescript-eslint/no-wrapper-object-types': 'error',
|
||||
'@typescript-eslint/prefer-as-const': 'error',
|
||||
'@typescript-eslint/prefer-literal-enum-member': 'error',
|
||||
'@typescript-eslint/prefer-namespace-keyword': 'error',
|
||||
'@typescript-eslint/triple-slash-reference': 'error',
|
||||
'@typescript-eslint/unified-signatures': 'error',
|
||||
},
|
||||
},
|
||||
];
|
||||
//# sourceMappingURL=strict.js.map
|
||||
1
node_modules/typescript-eslint/dist/configs/strict.js.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/strict.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"strict.js","sourceRoot":"","sources":["../../src/configs/strict.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D;;;GAGG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,IAAI,EAAE,0BAA0B;QAChC,KAAK,EAAE;YACL,mCAAmC,EAAE;gBACnC,OAAO;gBACP,EAAE,wBAAwB,EAAE,EAAE,EAAE;aACjC;YACD,sBAAsB,EAAE,KAAK;YAC7B,yCAAyC,EAAE,OAAO;YAClD,6CAA6C,EAAE,OAAO;YACtD,sCAAsC,EAAE,OAAO;YAC/C,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,gDAAgD,EAAE,OAAO;YACzD,wCAAwC,EAAE,OAAO;YACjD,yCAAyC,EAAE,OAAO;YAClD,mCAAmC,EAAE,OAAO;YAC5C,iCAAiC,EAAE,OAAO;YAC1C,4DAA4D,EAAE,OAAO;YACrE,wDAAwD,EAAE,OAAO;YACjE,0CAA0C,EAAE,OAAO;YACnD,uCAAuC,EAAE,OAAO;YAChD,kCAAkC,EAAE,OAAO;YAC3C,mDAAmD,EAAE,OAAO;YAC5D,kDAAkD,EAAE,OAAO;YAC3D,4CAA4C,EAAE,OAAO;YACrD,uBAAuB,EAAE,KAAK;YAC9B,0CAA0C,EAAE,OAAO;YACnD,gBAAgB,EAAE,KAAK;YACvB,mCAAmC,EAAE,OAAO;YAC5C,wBAAwB,EAAE,KAAK;YAC/B,2CAA2C,EAAE,OAAO;YACpD,4CAA4C,EAAE,OAAO;YACrD,oCAAoC,EAAE,OAAO;YAC7C,+CAA+C,EAAE,OAAO;YACxD,6CAA6C,EAAE,OAAO;YACtD,2CAA2C,EAAE,OAAO;YACpD,uCAAuC,EAAE,OAAO;SACjD;KACF;CACF,CAAC"}
|
||||
8
node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.d.ts
generated
vendored
Normal file
8
node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
||||
/**
|
||||
* A version of `stylistic` that only contains type-checked rules and disables of any corresponding core ESLint rules.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked-only}
|
||||
*/
|
||||
declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray;
|
||||
export default _default;
|
||||
//# sourceMappingURL=stylistic-type-checked-only.d.ts.map
|
||||
1
node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.d.ts.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.d.ts.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"stylistic-type-checked-only.d.ts","sourceRoot":"","sources":["../../src/configs/stylistic-type-checked-only.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBAoBE"}
|
||||
36
node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.js
generated
vendored
Normal file
36
node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.js
generated
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
"use strict";
|
||||
// THIS CODE WAS AUTOMATICALLY GENERATED
|
||||
// DO NOT EDIT THIS CODE BY HAND
|
||||
// SEE https://typescript-eslint.io/users/configs
|
||||
//
|
||||
// For developers working in the typescript-eslint monorepo:
|
||||
// You can regenerate it using `yarn generate:configs`
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const base_1 = __importDefault(require("./base"));
|
||||
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
||||
/**
|
||||
* A version of `stylistic` that only contains type-checked rules and disables of any corresponding core ESLint rules.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked-only}
|
||||
*/
|
||||
exports.default = (plugin, parser) => [
|
||||
(0, base_1.default)(plugin, parser),
|
||||
(0, eslint_recommended_1.default)(plugin, parser),
|
||||
{
|
||||
name: 'typescript-eslint/stylistic-type-checked-only',
|
||||
rules: {
|
||||
'dot-notation': 'off',
|
||||
'@typescript-eslint/dot-notation': 'error',
|
||||
'@typescript-eslint/non-nullable-type-assertion-style': 'error',
|
||||
'@typescript-eslint/prefer-find': 'error',
|
||||
'@typescript-eslint/prefer-includes': 'error',
|
||||
'@typescript-eslint/prefer-nullish-coalescing': 'error',
|
||||
'@typescript-eslint/prefer-optional-chain': 'error',
|
||||
'@typescript-eslint/prefer-regexp-exec': 'error',
|
||||
'@typescript-eslint/prefer-string-starts-ends-with': 'error',
|
||||
},
|
||||
},
|
||||
];
|
||||
//# sourceMappingURL=stylistic-type-checked-only.js.map
|
||||
1
node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.js.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"stylistic-type-checked-only.js","sourceRoot":"","sources":["../../src/configs/stylistic-type-checked-only.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D;;;GAGG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,IAAI,EAAE,+CAA+C;QACrD,KAAK,EAAE;YACL,cAAc,EAAE,KAAK;YACrB,iCAAiC,EAAE,OAAO;YAC1C,sDAAsD,EAAE,OAAO;YAC/D,gCAAgC,EAAE,OAAO;YACzC,oCAAoC,EAAE,OAAO;YAC7C,8CAA8C,EAAE,OAAO;YACvD,0CAA0C,EAAE,OAAO;YACnD,uCAAuC,EAAE,OAAO;YAChD,mDAAmD,EAAE,OAAO;SAC7D;KACF;CACF,CAAC"}
|
||||
8
node_modules/typescript-eslint/dist/configs/stylistic-type-checked.d.ts
generated
vendored
Normal file
8
node_modules/typescript-eslint/dist/configs/stylistic-type-checked.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
||||
/**
|
||||
* Contains all of `stylistic`, along with additional stylistic rules that require type information.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked}
|
||||
*/
|
||||
declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray;
|
||||
export default _default;
|
||||
//# sourceMappingURL=stylistic-type-checked.d.ts.map
|
||||
1
node_modules/typescript-eslint/dist/configs/stylistic-type-checked.d.ts.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/stylistic-type-checked.d.ts.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"stylistic-type-checked.d.ts","sourceRoot":"","sources":["../../src/configs/stylistic-type-checked.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBAkCE"}
|
||||
50
node_modules/typescript-eslint/dist/configs/stylistic-type-checked.js
generated
vendored
Normal file
50
node_modules/typescript-eslint/dist/configs/stylistic-type-checked.js
generated
vendored
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
"use strict";
|
||||
// THIS CODE WAS AUTOMATICALLY GENERATED
|
||||
// DO NOT EDIT THIS CODE BY HAND
|
||||
// SEE https://typescript-eslint.io/users/configs
|
||||
//
|
||||
// For developers working in the typescript-eslint monorepo:
|
||||
// You can regenerate it using `yarn generate:configs`
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const base_1 = __importDefault(require("./base"));
|
||||
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
||||
/**
|
||||
* Contains all of `stylistic`, along with additional stylistic rules that require type information.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked}
|
||||
*/
|
||||
exports.default = (plugin, parser) => [
|
||||
(0, base_1.default)(plugin, parser),
|
||||
(0, eslint_recommended_1.default)(plugin, parser),
|
||||
{
|
||||
name: 'typescript-eslint/stylistic-type-checked',
|
||||
rules: {
|
||||
'@typescript-eslint/adjacent-overload-signatures': 'error',
|
||||
'@typescript-eslint/array-type': 'error',
|
||||
'@typescript-eslint/ban-tslint-comment': 'error',
|
||||
'@typescript-eslint/class-literal-property-style': 'error',
|
||||
'@typescript-eslint/consistent-generic-constructors': 'error',
|
||||
'@typescript-eslint/consistent-indexed-object-style': 'error',
|
||||
'@typescript-eslint/consistent-type-assertions': 'error',
|
||||
'@typescript-eslint/consistent-type-definitions': 'error',
|
||||
'dot-notation': 'off',
|
||||
'@typescript-eslint/dot-notation': 'error',
|
||||
'@typescript-eslint/no-confusing-non-null-assertion': 'error',
|
||||
'no-empty-function': 'off',
|
||||
'@typescript-eslint/no-empty-function': 'error',
|
||||
'@typescript-eslint/no-inferrable-types': 'error',
|
||||
'@typescript-eslint/non-nullable-type-assertion-style': 'error',
|
||||
'@typescript-eslint/prefer-find': 'error',
|
||||
'@typescript-eslint/prefer-for-of': 'error',
|
||||
'@typescript-eslint/prefer-function-type': 'error',
|
||||
'@typescript-eslint/prefer-includes': 'error',
|
||||
'@typescript-eslint/prefer-nullish-coalescing': 'error',
|
||||
'@typescript-eslint/prefer-optional-chain': 'error',
|
||||
'@typescript-eslint/prefer-regexp-exec': 'error',
|
||||
'@typescript-eslint/prefer-string-starts-ends-with': 'error',
|
||||
},
|
||||
},
|
||||
];
|
||||
//# sourceMappingURL=stylistic-type-checked.js.map
|
||||
1
node_modules/typescript-eslint/dist/configs/stylistic-type-checked.js.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/stylistic-type-checked.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"stylistic-type-checked.js","sourceRoot":"","sources":["../../src/configs/stylistic-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D;;;GAGG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,IAAI,EAAE,0CAA0C;QAChD,KAAK,EAAE;YACL,iDAAiD,EAAE,OAAO;YAC1D,+BAA+B,EAAE,OAAO;YACxC,uCAAuC,EAAE,OAAO;YAChD,iDAAiD,EAAE,OAAO;YAC1D,oDAAoD,EAAE,OAAO;YAC7D,oDAAoD,EAAE,OAAO;YAC7D,+CAA+C,EAAE,OAAO;YACxD,gDAAgD,EAAE,OAAO;YACzD,cAAc,EAAE,KAAK;YACrB,iCAAiC,EAAE,OAAO;YAC1C,oDAAoD,EAAE,OAAO;YAC7D,mBAAmB,EAAE,KAAK;YAC1B,sCAAsC,EAAE,OAAO;YAC/C,wCAAwC,EAAE,OAAO;YACjD,sDAAsD,EAAE,OAAO;YAC/D,gCAAgC,EAAE,OAAO;YACzC,kCAAkC,EAAE,OAAO;YAC3C,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,8CAA8C,EAAE,OAAO;YACvD,0CAA0C,EAAE,OAAO;YACnD,uCAAuC,EAAE,OAAO;YAChD,mDAAmD,EAAE,OAAO;SAC7D;KACF;CACF,CAAC"}
|
||||
8
node_modules/typescript-eslint/dist/configs/stylistic.d.ts
generated
vendored
Normal file
8
node_modules/typescript-eslint/dist/configs/stylistic.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
||||
/**
|
||||
* Rules considered to be best practice for modern TypeScript codebases, but that do not impact program logic.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#stylistic}
|
||||
*/
|
||||
declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray;
|
||||
export default _default;
|
||||
//# sourceMappingURL=stylistic.d.ts.map
|
||||
1
node_modules/typescript-eslint/dist/configs/stylistic.d.ts.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/stylistic.d.ts.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"stylistic.d.ts","sourceRoot":"","sources":["../../src/configs/stylistic.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAKrE;;;GAGG;iCAEO,UAAU,CAAC,MAAM,UACjB,UAAU,CAAC,MAAM,KACxB,UAAU,CAAC,WAAW;AAHzB,wBAyBE"}
|
||||
41
node_modules/typescript-eslint/dist/configs/stylistic.js
generated
vendored
Normal file
41
node_modules/typescript-eslint/dist/configs/stylistic.js
generated
vendored
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
"use strict";
|
||||
// THIS CODE WAS AUTOMATICALLY GENERATED
|
||||
// DO NOT EDIT THIS CODE BY HAND
|
||||
// SEE https://typescript-eslint.io/users/configs
|
||||
//
|
||||
// For developers working in the typescript-eslint monorepo:
|
||||
// You can regenerate it using `yarn generate:configs`
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const base_1 = __importDefault(require("./base"));
|
||||
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
||||
/**
|
||||
* Rules considered to be best practice for modern TypeScript codebases, but that do not impact program logic.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#stylistic}
|
||||
*/
|
||||
exports.default = (plugin, parser) => [
|
||||
(0, base_1.default)(plugin, parser),
|
||||
(0, eslint_recommended_1.default)(plugin, parser),
|
||||
{
|
||||
name: 'typescript-eslint/stylistic',
|
||||
rules: {
|
||||
'@typescript-eslint/adjacent-overload-signatures': 'error',
|
||||
'@typescript-eslint/array-type': 'error',
|
||||
'@typescript-eslint/ban-tslint-comment': 'error',
|
||||
'@typescript-eslint/class-literal-property-style': 'error',
|
||||
'@typescript-eslint/consistent-generic-constructors': 'error',
|
||||
'@typescript-eslint/consistent-indexed-object-style': 'error',
|
||||
'@typescript-eslint/consistent-type-assertions': 'error',
|
||||
'@typescript-eslint/consistent-type-definitions': 'error',
|
||||
'@typescript-eslint/no-confusing-non-null-assertion': 'error',
|
||||
'no-empty-function': 'off',
|
||||
'@typescript-eslint/no-empty-function': 'error',
|
||||
'@typescript-eslint/no-inferrable-types': 'error',
|
||||
'@typescript-eslint/prefer-for-of': 'error',
|
||||
'@typescript-eslint/prefer-function-type': 'error',
|
||||
},
|
||||
},
|
||||
];
|
||||
//# sourceMappingURL=stylistic.js.map
|
||||
1
node_modules/typescript-eslint/dist/configs/stylistic.js.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/configs/stylistic.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"stylistic.js","sourceRoot":"","sources":["../../src/configs/stylistic.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D;;;GAGG;AACH,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,IAAI,EAAE,6BAA6B;QACnC,KAAK,EAAE;YACL,iDAAiD,EAAE,OAAO;YAC1D,+BAA+B,EAAE,OAAO;YACxC,uCAAuC,EAAE,OAAO;YAChD,iDAAiD,EAAE,OAAO;YAC1D,oDAAoD,EAAE,OAAO;YAC7D,oDAAoD,EAAE,OAAO;YAC7D,+CAA+C,EAAE,OAAO;YACxD,gDAAgD,EAAE,OAAO;YACzD,oDAAoD,EAAE,OAAO;YAC7D,mBAAmB,EAAE,KAAK;YAC1B,sCAAsC,EAAE,OAAO;YAC/C,wCAAwC,EAAE,OAAO;YACjD,kCAAkC,EAAE,OAAO;YAC3C,yCAAyC,EAAE,OAAO;SACnD;KACF;CACF,CAAC"}
|
||||
157
node_modules/typescript-eslint/dist/index.d.ts
generated
vendored
Normal file
157
node_modules/typescript-eslint/dist/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,157 @@
|
|||
import type { TSESLint } from '@typescript-eslint/utils';
|
||||
import { config } from './config-helper';
|
||||
declare const parser: TSESLint.FlatConfig.Parser;
|
||||
declare const plugin: TSESLint.FlatConfig.Plugin;
|
||||
declare const configs: {
|
||||
/**
|
||||
* Enables each the rules provided as a part of typescript-eslint. Note that many rules are not applicable in all codebases, or are meant to be configured.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#all}
|
||||
*/
|
||||
all: TSESLint.FlatConfig.ConfigArray;
|
||||
/**
|
||||
* A minimal ruleset that sets only the required parser and plugin options needed to run typescript-eslint.
|
||||
* We don't recommend using this directly; instead, extend from an earlier recommended rule.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#base}
|
||||
*/
|
||||
base: TSESLint.FlatConfig.Config;
|
||||
/**
|
||||
* A utility ruleset that will disable type-aware linting and all type-aware rules available in our project.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#disable-type-checked}
|
||||
*/
|
||||
disableTypeChecked: TSESLint.FlatConfig.Config;
|
||||
/**
|
||||
* This is a compatibility ruleset that:
|
||||
* - disables rules from eslint:recommended which are already handled by TypeScript.
|
||||
* - enables rules that make sense due to TS's typechecking / transpilation.
|
||||
* @see {@link https://typescript-eslint.io/users/configs/#eslint-recommended}
|
||||
*/
|
||||
eslintRecommended: TSESLint.FlatConfig.Config;
|
||||
/**
|
||||
* Recommended rules for code correctness that you can drop in without additional configuration.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#recommended}
|
||||
*/
|
||||
recommended: TSESLint.FlatConfig.ConfigArray;
|
||||
/**
|
||||
* Contains all of `recommended` along with additional recommended rules that require type information.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked}
|
||||
*/
|
||||
recommendedTypeChecked: TSESLint.FlatConfig.ConfigArray;
|
||||
/**
|
||||
* A version of `recommended` that only contains type-checked rules and disables of any corresponding core ESLint rules.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked-only}
|
||||
*/
|
||||
recommendedTypeCheckedOnly: TSESLint.FlatConfig.ConfigArray;
|
||||
/**
|
||||
* Contains all of `recommended`, as well as additional strict rules that can also catch bugs.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#strict}
|
||||
*/
|
||||
strict: TSESLint.FlatConfig.ConfigArray;
|
||||
/**
|
||||
* Contains all of `recommended`, `recommended-type-checked`, and `strict`, along with additional strict rules that require type information.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#strict-type-checked}
|
||||
*/
|
||||
strictTypeChecked: TSESLint.FlatConfig.ConfigArray;
|
||||
/**
|
||||
* A version of `strict` that only contains type-checked rules and disables of any corresponding core ESLint rules.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#strict-type-checked-only}
|
||||
*/
|
||||
strictTypeCheckedOnly: TSESLint.FlatConfig.ConfigArray;
|
||||
/**
|
||||
* Rules considered to be best practice for modern TypeScript codebases, but that do not impact program logic.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#stylistic}
|
||||
*/
|
||||
stylistic: TSESLint.FlatConfig.ConfigArray;
|
||||
/**
|
||||
* Contains all of `stylistic`, along with additional stylistic rules that require type information.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked}
|
||||
*/
|
||||
stylisticTypeChecked: TSESLint.FlatConfig.ConfigArray;
|
||||
/**
|
||||
* A version of `stylistic` that only contains type-checked rules and disables of any corresponding core ESLint rules.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked-only}
|
||||
*/
|
||||
stylisticTypeCheckedOnly: TSESLint.FlatConfig.ConfigArray;
|
||||
};
|
||||
export type Config = TSESLint.FlatConfig.ConfigFile;
|
||||
declare const _default: {
|
||||
config: typeof config;
|
||||
configs: {
|
||||
/**
|
||||
* Enables each the rules provided as a part of typescript-eslint. Note that many rules are not applicable in all codebases, or are meant to be configured.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#all}
|
||||
*/
|
||||
all: TSESLint.FlatConfig.ConfigArray;
|
||||
/**
|
||||
* A minimal ruleset that sets only the required parser and plugin options needed to run typescript-eslint.
|
||||
* We don't recommend using this directly; instead, extend from an earlier recommended rule.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#base}
|
||||
*/
|
||||
base: TSESLint.FlatConfig.Config;
|
||||
/**
|
||||
* A utility ruleset that will disable type-aware linting and all type-aware rules available in our project.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#disable-type-checked}
|
||||
*/
|
||||
disableTypeChecked: TSESLint.FlatConfig.Config;
|
||||
/**
|
||||
* This is a compatibility ruleset that:
|
||||
* - disables rules from eslint:recommended which are already handled by TypeScript.
|
||||
* - enables rules that make sense due to TS's typechecking / transpilation.
|
||||
* @see {@link https://typescript-eslint.io/users/configs/#eslint-recommended}
|
||||
*/
|
||||
eslintRecommended: TSESLint.FlatConfig.Config;
|
||||
/**
|
||||
* Recommended rules for code correctness that you can drop in without additional configuration.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#recommended}
|
||||
*/
|
||||
recommended: TSESLint.FlatConfig.ConfigArray;
|
||||
/**
|
||||
* Contains all of `recommended` along with additional recommended rules that require type information.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked}
|
||||
*/
|
||||
recommendedTypeChecked: TSESLint.FlatConfig.ConfigArray;
|
||||
/**
|
||||
* A version of `recommended` that only contains type-checked rules and disables of any corresponding core ESLint rules.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked-only}
|
||||
*/
|
||||
recommendedTypeCheckedOnly: TSESLint.FlatConfig.ConfigArray;
|
||||
/**
|
||||
* Contains all of `recommended`, as well as additional strict rules that can also catch bugs.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#strict}
|
||||
*/
|
||||
strict: TSESLint.FlatConfig.ConfigArray;
|
||||
/**
|
||||
* Contains all of `recommended`, `recommended-type-checked`, and `strict`, along with additional strict rules that require type information.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#strict-type-checked}
|
||||
*/
|
||||
strictTypeChecked: TSESLint.FlatConfig.ConfigArray;
|
||||
/**
|
||||
* A version of `strict` that only contains type-checked rules and disables of any corresponding core ESLint rules.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#strict-type-checked-only}
|
||||
*/
|
||||
strictTypeCheckedOnly: TSESLint.FlatConfig.ConfigArray;
|
||||
/**
|
||||
* Rules considered to be best practice for modern TypeScript codebases, but that do not impact program logic.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#stylistic}
|
||||
*/
|
||||
stylistic: TSESLint.FlatConfig.ConfigArray;
|
||||
/**
|
||||
* Contains all of `stylistic`, along with additional stylistic rules that require type information.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked}
|
||||
*/
|
||||
stylisticTypeChecked: TSESLint.FlatConfig.ConfigArray;
|
||||
/**
|
||||
* A version of `stylistic` that only contains type-checked rules and disables of any corresponding core ESLint rules.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked-only}
|
||||
*/
|
||||
stylisticTypeCheckedOnly: TSESLint.FlatConfig.ConfigArray;
|
||||
};
|
||||
parser: {
|
||||
meta?: { [K in keyof TSESLint.Parser.ParserMeta]?: TSESLint.Parser.ParserMeta[K] | undefined; };
|
||||
parseForESLint(text: string, options?: unknown): { [k in keyof TSESLint.Parser.ParseResult]: unknown; };
|
||||
};
|
||||
plugin: TSESLint.FlatConfig.Plugin;
|
||||
};
|
||||
export default _default;
|
||||
export { configs, parser, plugin };
|
||||
export { config, type ConfigWithExtends } from './config-helper';
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
node_modules/typescript-eslint/dist/index.d.ts.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/index.d.ts.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAKzD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAezC,QAAA,MAAM,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,MAGjC,CAAC;AAyBF,QAAA,MAAM,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,MAGjC,CAAC;AAEF,QAAA,MAAM,OAAO;IACX;;;OAGG;;IAGH;;;;OAIG;;IAGH;;;OAGG;;IAGH;;;;;OAKG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;;OAGG;;CAEJ,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC;;;;QAlFlD;;;WAGG;;QAGH;;;;WAIG;;QAGH;;;WAGG;;QAGH;;;;;WAKG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;;;wDApHI,CAAC;;;;;AAmKV,wBAKE;AACF,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC"}
|
||||
206
node_modules/typescript-eslint/dist/index.js
generated
vendored
Normal file
206
node_modules/typescript-eslint/dist/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,206 @@
|
|||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.config = exports.plugin = exports.parser = exports.configs = void 0;
|
||||
const eslint_plugin_1 = __importDefault(require("@typescript-eslint/eslint-plugin"));
|
||||
const parserBase = __importStar(require("@typescript-eslint/parser"));
|
||||
const config_helper_1 = require("./config-helper");
|
||||
const all_1 = __importDefault(require("./configs/all"));
|
||||
const base_1 = __importDefault(require("./configs/base"));
|
||||
const disable_type_checked_1 = __importDefault(require("./configs/disable-type-checked"));
|
||||
const eslint_recommended_1 = __importDefault(require("./configs/eslint-recommended"));
|
||||
const recommended_1 = __importDefault(require("./configs/recommended"));
|
||||
const recommended_type_checked_1 = __importDefault(require("./configs/recommended-type-checked"));
|
||||
const recommended_type_checked_only_1 = __importDefault(require("./configs/recommended-type-checked-only"));
|
||||
const strict_1 = __importDefault(require("./configs/strict"));
|
||||
const strict_type_checked_1 = __importDefault(require("./configs/strict-type-checked"));
|
||||
const strict_type_checked_only_1 = __importDefault(require("./configs/strict-type-checked-only"));
|
||||
const stylistic_1 = __importDefault(require("./configs/stylistic"));
|
||||
const stylistic_type_checked_1 = __importDefault(require("./configs/stylistic-type-checked"));
|
||||
const stylistic_type_checked_only_1 = __importDefault(require("./configs/stylistic-type-checked-only"));
|
||||
const parser = {
|
||||
meta: parserBase.meta,
|
||||
parseForESLint: parserBase.parseForESLint,
|
||||
};
|
||||
exports.parser = parser;
|
||||
/*
|
||||
we could build a plugin object here without the `configs` key - but if we do
|
||||
that then we create a situation in which
|
||||
```
|
||||
require('typescript-eslint').plugin !== require('@typescript-eslint/eslint-plugin')
|
||||
```
|
||||
|
||||
This is bad because it means that 3rd party configs would be required to use
|
||||
`typescript-eslint` or else they would break a user's config if the user either
|
||||
used `tseslint.configs.recomended` et al or
|
||||
```
|
||||
{
|
||||
plugins: {
|
||||
'@typescript-eslint': tseslint.plugin,
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
This might be something we could consider okay (eg 3rd party flat configs must
|
||||
use our new package); however legacy configs consumed via `@eslint/eslintrc`
|
||||
would never be able to satisfy this constraint and thus users would be blocked
|
||||
from using them.
|
||||
*/
|
||||
const plugin = eslint_plugin_1.default;
|
||||
exports.plugin = plugin;
|
||||
const configs = {
|
||||
/**
|
||||
* Enables each the rules provided as a part of typescript-eslint. Note that many rules are not applicable in all codebases, or are meant to be configured.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#all}
|
||||
*/
|
||||
all: (0, all_1.default)(plugin, parser),
|
||||
/**
|
||||
* A minimal ruleset that sets only the required parser and plugin options needed to run typescript-eslint.
|
||||
* We don't recommend using this directly; instead, extend from an earlier recommended rule.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#base}
|
||||
*/
|
||||
base: (0, base_1.default)(plugin, parser),
|
||||
/**
|
||||
* A utility ruleset that will disable type-aware linting and all type-aware rules available in our project.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#disable-type-checked}
|
||||
*/
|
||||
disableTypeChecked: (0, disable_type_checked_1.default)(plugin, parser),
|
||||
/**
|
||||
* This is a compatibility ruleset that:
|
||||
* - disables rules from eslint:recommended which are already handled by TypeScript.
|
||||
* - enables rules that make sense due to TS's typechecking / transpilation.
|
||||
* @see {@link https://typescript-eslint.io/users/configs/#eslint-recommended}
|
||||
*/
|
||||
eslintRecommended: (0, eslint_recommended_1.default)(plugin, parser),
|
||||
/**
|
||||
* Recommended rules for code correctness that you can drop in without additional configuration.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#recommended}
|
||||
*/
|
||||
recommended: (0, recommended_1.default)(plugin, parser),
|
||||
/**
|
||||
* Contains all of `recommended` along with additional recommended rules that require type information.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked}
|
||||
*/
|
||||
recommendedTypeChecked: (0, recommended_type_checked_1.default)(plugin, parser),
|
||||
/**
|
||||
* A version of `recommended` that only contains type-checked rules and disables of any corresponding core ESLint rules.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked-only}
|
||||
*/
|
||||
recommendedTypeCheckedOnly: (0, recommended_type_checked_only_1.default)(plugin, parser),
|
||||
/**
|
||||
* Contains all of `recommended`, as well as additional strict rules that can also catch bugs.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#strict}
|
||||
*/
|
||||
strict: (0, strict_1.default)(plugin, parser),
|
||||
/**
|
||||
* Contains all of `recommended`, `recommended-type-checked`, and `strict`, along with additional strict rules that require type information.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#strict-type-checked}
|
||||
*/
|
||||
strictTypeChecked: (0, strict_type_checked_1.default)(plugin, parser),
|
||||
/**
|
||||
* A version of `strict` that only contains type-checked rules and disables of any corresponding core ESLint rules.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#strict-type-checked-only}
|
||||
*/
|
||||
strictTypeCheckedOnly: (0, strict_type_checked_only_1.default)(plugin, parser),
|
||||
/**
|
||||
* Rules considered to be best practice for modern TypeScript codebases, but that do not impact program logic.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#stylistic}
|
||||
*/
|
||||
stylistic: (0, stylistic_1.default)(plugin, parser),
|
||||
/**
|
||||
* Contains all of `stylistic`, along with additional stylistic rules that require type information.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked}
|
||||
*/
|
||||
stylisticTypeChecked: (0, stylistic_type_checked_1.default)(plugin, parser),
|
||||
/**
|
||||
* A version of `stylistic` that only contains type-checked rules and disables of any corresponding core ESLint rules.
|
||||
* @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked-only}
|
||||
*/
|
||||
stylisticTypeCheckedOnly: (0, stylistic_type_checked_only_1.default)(plugin, parser),
|
||||
};
|
||||
exports.configs = configs;
|
||||
/*
|
||||
we do both a default and named exports to allow people to use this package from
|
||||
both CJS and ESM in very natural ways.
|
||||
|
||||
EG it means that all of the following are valid:
|
||||
|
||||
```ts
|
||||
import tseslint from 'typescript-eslint';
|
||||
|
||||
export default tseslint.config(
|
||||
...tseslint.configs.recommended,
|
||||
);
|
||||
```
|
||||
```ts
|
||||
import { config, parser, plugin } from 'typescript-eslint';
|
||||
|
||||
export default config(
|
||||
{
|
||||
languageOptions: { parser }
|
||||
plugins: { ts: plugin },
|
||||
}
|
||||
);
|
||||
```
|
||||
```ts
|
||||
const tseslint = require('typescript-eslint');
|
||||
|
||||
module.exports = tseslint.config(
|
||||
...tseslint.configs.recommended,
|
||||
);
|
||||
```
|
||||
```ts
|
||||
const { config, parser, plugin } = require('typescript-eslint');
|
||||
|
||||
module.exports = config(
|
||||
{
|
||||
languageOptions: { parser }
|
||||
plugins: { ts: plugin },
|
||||
}
|
||||
);
|
||||
```
|
||||
*/
|
||||
exports.default = {
|
||||
config: config_helper_1.config,
|
||||
configs,
|
||||
parser,
|
||||
plugin,
|
||||
};
|
||||
var config_helper_2 = require("./config-helper");
|
||||
Object.defineProperty(exports, "config", { enumerable: true, get: function () { return config_helper_2.config; } });
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
node_modules/typescript-eslint/dist/index.js.map
generated
vendored
Normal file
1
node_modules/typescript-eslint/dist/index.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,qFAA0D;AAC1D,sEAAwD;AAExD,mDAAyC;AACzC,wDAAsC;AACtC,0DAAwC;AACxC,0FAAsE;AACtE,sFAAmE;AACnE,wEAAsD;AACtD,kGAA8E;AAC9E,4GAAuF;AACvF,8DAA4C;AAC5C,wFAAoE;AACpE,kGAA6E;AAC7E,oEAAkD;AAClD,8FAA0E;AAC1E,wGAAmF;AAEnF,MAAM,MAAM,GAA+B;IACzC,IAAI,EAAE,UAAU,CAAC,IAAI;IACrB,cAAc,EAAE,UAAU,CAAC,cAAc;CAC1C,CAAC;AAkKgB,wBAAM;AAhKxB;;;;;;;;;;;;;;;;;;;;;;EAsBE;AACF,MAAM,MAAM,GAA+B,uBAG1C,CAAC;AAsIwB,wBAAM;AApIhC,MAAM,OAAO,GAAG;IACd;;;OAGG;IACH,GAAG,EAAE,IAAA,aAAS,EAAC,MAAM,EAAE,MAAM,CAAC;IAE9B;;;;OAIG;IACH,IAAI,EAAE,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAEhC;;;OAGG;IACH,kBAAkB,EAAE,IAAA,8BAAwB,EAAC,MAAM,EAAE,MAAM,CAAC;IAE5D;;;;;OAKG;IACH,iBAAiB,EAAE,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IAE1D;;;OAGG;IACH,WAAW,EAAE,IAAA,qBAAiB,EAAC,MAAM,EAAE,MAAM,CAAC;IAE9C;;;OAGG;IACH,sBAAsB,EAAE,IAAA,kCAA4B,EAAC,MAAM,EAAE,MAAM,CAAC;IAEpE;;;OAGG;IACH,0BAA0B,EAAE,IAAA,uCAAgC,EAAC,MAAM,EAAE,MAAM,CAAC;IAE5E;;;OAGG;IACH,MAAM,EAAE,IAAA,gBAAY,EAAC,MAAM,EAAE,MAAM,CAAC;IAEpC;;;OAGG;IACH,iBAAiB,EAAE,IAAA,6BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IAE1D;;;OAGG;IACH,qBAAqB,EAAE,IAAA,kCAA2B,EAAC,MAAM,EAAE,MAAM,CAAC;IAElE;;;OAGG;IACH,SAAS,EAAE,IAAA,mBAAe,EAAC,MAAM,EAAE,MAAM,CAAC;IAE1C;;;OAGG;IACH,oBAAoB,EAAE,IAAA,gCAA0B,EAAC,MAAM,EAAE,MAAM,CAAC;IAEhE;;;OAGG;IACH,wBAAwB,EAAE,IAAA,qCAA8B,EAAC,MAAM,EAAE,MAAM,CAAC;CACzE,CAAC;AAmDO,0BAAO;AA/ChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwCE;AACF,kBAAe;IACb,MAAM,EAAN,sBAAM;IACN,OAAO;IACP,MAAM;IACN,MAAM;CACP,CAAC;AAGF,iDAAiE;AAAxD,uGAAA,MAAM,OAAA"}
|
||||
86
node_modules/typescript-eslint/package.json
generated
vendored
Normal file
86
node_modules/typescript-eslint/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
{
|
||||
"name": "typescript-eslint",
|
||||
"version": "8.17.0",
|
||||
"description": "Tooling which enables you to use TypeScript with ESLint",
|
||||
"files": [
|
||||
"dist",
|
||||
"_ts4.3",
|
||||
"README.md",
|
||||
"LICENSE"
|
||||
],
|
||||
"type": "commonjs",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"types": "./dist/index.d.ts",
|
||||
"engines": {
|
||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/typescript-eslint/typescript-eslint.git",
|
||||
"directory": "packages/typescript-eslint"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/typescript-eslint/typescript-eslint/issues"
|
||||
},
|
||||
"homepage": "https://typescript-eslint.io/packages/typescript-eslint",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
"ast",
|
||||
"ecmascript",
|
||||
"javascript",
|
||||
"typescript",
|
||||
"parser",
|
||||
"syntax",
|
||||
"eslint",
|
||||
"eslintplugin",
|
||||
"eslint-plugin"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc -b tsconfig.build.json",
|
||||
"postbuild": "downlevel-dts dist _ts4.3/dist --to=4.3",
|
||||
"clean": "tsc -b tsconfig.build.json --clean",
|
||||
"postclean": "rimraf dist && rimraf _ts4.3 && rimraf coverage",
|
||||
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
|
||||
"lint": "nx lint",
|
||||
"test": "jest --coverage --passWithNoTests",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "8.17.0",
|
||||
"@typescript-eslint/parser": "8.17.0",
|
||||
"@typescript-eslint/utils": "8.17.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"eslint": "^8.57.0 || ^9.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jest/types": "29.6.3",
|
||||
"downlevel-dts": "*",
|
||||
"jest": "29.7.0",
|
||||
"prettier": "^3.2.5",
|
||||
"rimraf": "*",
|
||||
"typescript": "*"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"typescript": {
|
||||
"optional": true
|
||||
}
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/typescript-eslint"
|
||||
},
|
||||
"typesVersions": {
|
||||
"<4.7": {
|
||||
"*": [
|
||||
"_ts4.3/*"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue