{"version":3,"sources":["jsdelivr-header.js","/npm/eslint-config-standard-with-typescript@43.0.1/lib/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,IAAI,gBAAmB,MAAQ,KAAK,iBAAoB,SAAU,GAC9D,OAAQ,GAAO,EAAI,WAAc,EAAM,CAAE,QAAW,EACxD,EACA,MAAM,yBAA2B,gBAAgB,QAAQ,6BACnD,YAAc,CAChB,gBACA,gBACA,eACA,cACA,oBACA,SACA,cACA,kBACA,8BACA,uBACA,wBACA,kBACA,kBACA,uBACA,eACA,mBACA,iBACA,wBACA,yBACA,uBACA,SACA,OACA,sBACA,8BACA,mBAEE,iBAAoB,IACtB,QAA+C,IAA3C,yBAAyB,QAAQ,MACjC,MAAM,IAAI,MACd,MAAM,EAAO,yBAAyB,QAAQ,MAAM,GACpD,QAAa,IAAT,EACA,MAAM,IAAI,MACd,MAAoB,iBAAT,EACA,EACJ,KAAK,MAAM,KAAK,UAAU,GAAM,EAE3C,SAAS,YAAY,GACjB,MAAO,IAAI,GAAU,QAAO,CAAC,GAAM,EAAK,MACpC,EAAI,GAAO,EACJ,IACR,CAAC,EACR,CACA,MAAM,OAAS,CACX,QAAS,yBACT,QAAS,CAAC,sBACV,OAAQ,4BACR,cAAe,CACX,SAAS,GAEb,MAAO,CACH,eAAgB,MAEhB,WAAY,SAET,YAAY,YAAY,KAAK,GAAS,CAAC,EAAM,UAChD,UAAW,MACX,uBAAwB,SAErB,YAAY,YAAY,KAAK,GAAS,CAAC,sBAAsB,IAAQ,iBAAiB,OACzF,0CAA2C,CAAC,QAAS,CAC7C,WAAW,EACX,SAAS,EACT,OAAO,EACP,WAAW,EACX,UAAU,IAGlB,kDAAmD,QACnD,gCAAiC,CAAC,QAAS,CAAE,QAAS,iBACtD,oCAAqC,QACrC,oCAAqC,CAAC,QAAS,CACvC,kBAAmB,yBACnB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,yBAA0B,IAElC,wCAAyC,QACzC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C,QAAS,CAAE,oBAAoB,IAC1E,0CAA2C,QAC3C,qCAAsC,QACtC,0CAA2C,QAC3C,oCAAqC,QACrC,yCAA0C,QAC1C,kCAAmC,QACnC,yDAA0D,QAC1D,2CAA4C,QAC5C,mCAAoC,CAAC,QAAS,CAAE,oBAAoB,IACpE,4DAA6D,QAC7D,mDAAoD,QACpD,oDAAqD,QACrD,wCAAyC,QACzC,qCAAsC,QACtC,uDAAwD,QACxD,0CAA2C,QAC3C,qCAAsC,QACtC,+CAAgD,CAAC,QAAS,CAAE,wBAAwB,EAAO,+BAA+B,IAC1H,2CAA4C,QAC5C,qCAAsC,QACtC,kDAAmD,QACnD,6CAA8C,QAC9C,4CAA6C,QAC7C,4CAA6C,QAC7C,gDAAiD,CAAC,QAAS,CAAE,oBAAoB,IACjF,4CAA6C,CAAC,QAAS,CAAE,yBAAyB,IAClF,mDAAoD,CAAC,QAAS,CAAE,aAAa,IAC7E,kCAAmC,CAAC,QAAS,UAC7C,gDAAiD,CAAC,QAAS,CACnD,aAAa,EACb,aAAa,EACb,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,UAAU,IAElB,4CAA6C,CAAC,QAAS,CAAE,IAAK,QAAS,KAAM,QAAS,MAAO,UAC7F,6CAA8C,QAC9C,oCAAqC,CAAC,QAAS,CAAE,cAAc,IAC/D,UAAW,CAAC,QAAS,CAAE,kBAAkB,MAGjD,OAAO,QAAU","file":"/npm/eslint-config-standard-with-typescript@43.0.1/lib/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.37.0.\n * Original file: /npm/eslint-config-standard-with-typescript@43.0.1/lib/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n    return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nconst eslint_config_standard_1 = __importDefault(require(\"./eslint-config-standard\"));\nconst equivalents = [\n    'block-spacing',\n    'comma-spacing',\n    'dot-notation',\n    'brace-style',\n    'func-call-spacing',\n    'indent',\n    'key-spacing',\n    'keyword-spacing',\n    'lines-between-class-members',\n    'no-array-constructor',\n    'no-dupe-class-members',\n    'no-extra-parens',\n    'no-implied-eval',\n    'no-loss-of-precision',\n    'no-redeclare',\n    'no-throw-literal',\n    'no-unused-vars',\n    'no-unused-expressions',\n    'no-useless-constructor',\n    'object-curly-spacing',\n    'quotes',\n    'semi',\n    'space-before-blocks',\n    'space-before-function-paren',\n    'space-infix-ops'\n];\nconst ruleFromStandard = (name) => {\n    if (eslint_config_standard_1.default.rules === undefined)\n        throw new Error();\n    const rule = eslint_config_standard_1.default.rules[name];\n    if (rule === undefined)\n        throw new Error();\n    if (typeof rule !== 'object')\n        return rule;\n    return JSON.parse(JSON.stringify(rule));\n};\nfunction fromEntries(iterable) {\n    return [...iterable].reduce((obj, [key, val]) => {\n        obj[key] = val;\n        return obj;\n    }, {});\n}\nconst config = {\n    extends: 'eslint-config-standard',\n    plugins: ['@typescript-eslint'],\n    parser: '@typescript-eslint/parser',\n    parserOptions: {\n        project: true\n    },\n    rules: {\n        'comma-dangle': 'off',\n        // TypeScript has this functionality by default:\n        'no-undef': 'off',\n        // Rules replaced by @typescript-eslint versions:\n        ...fromEntries(equivalents.map((name) => [name, 'off'])),\n        camelcase: 'off',\n        'no-use-before-define': 'off',\n        // @typescript-eslint versions of Standard.js rules:\n        ...fromEntries(equivalents.map((name) => [`@typescript-eslint/${name}`, ruleFromStandard(name)])),\n        '@typescript-eslint/no-use-before-define': ['error', {\n                functions: false,\n                classes: false,\n                enums: false,\n                variables: false,\n                typedefs: false // Only the TypeScript rule has this option.\n            }],\n        // Rules exclusive to Standard TypeScript:\n        '@typescript-eslint/adjacent-overload-signatures': 'error',\n        '@typescript-eslint/array-type': ['error', { default: 'array-simple' }],\n        '@typescript-eslint/await-thenable': 'error',\n        '@typescript-eslint/ban-ts-comment': ['error', {\n                'ts-expect-error': 'allow-with-description',\n                'ts-ignore': true,\n                'ts-nocheck': true,\n                'ts-check': false,\n                minimumDescriptionLength: 3\n            }],\n        '@typescript-eslint/ban-tslint-comment': 'error',\n        '@typescript-eslint/ban-types': ['error', {\n                extendDefaults: false,\n                types: {\n                    String: {\n                        message: 'Use string instead',\n                        fixWith: 'string'\n                    },\n                    Boolean: {\n                        message: 'Use boolean instead',\n                        fixWith: 'boolean'\n                    },\n                    Number: {\n                        message: 'Use number instead',\n                        fixWith: 'number'\n                    },\n                    Symbol: {\n                        message: 'Use symbol instead',\n                        fixWith: 'symbol'\n                    },\n                    BigInt: {\n                        message: 'Use bigint instead',\n                        fixWith: 'bigint'\n                    },\n                    Function: {\n                        message: [\n                            'The `Function` type accepts any function-like value.',\n                            'It provides no type safety when calling the function, which can be a common source of bugs.',\n                            'It also accepts things like class declarations, which will throw at runtime as they will not be called with `new`.',\n                            'If you are expecting the function to accept certain arguments, you should explicitly define the function shape.'\n                        ].join('\\n')\n                    },\n                    // object typing\n                    Object: {\n                        message: [\n                            'The `Object` type actually means \"any non-nullish value\", so it is marginally better than `unknown`.',\n                            '- If you want a type meaning \"any object\", you probably want `Record<string, unknown>` instead.',\n                            '- If you want a type meaning \"any value\", you probably want `unknown` instead.'\n                        ].join('\\n')\n                    },\n                    '{}': {\n                        message: [\n                            '`{}` actually means \"any non-nullish value\".',\n                            '- If you want a type meaning \"any object\", you probably want `Record<string, unknown>` instead.',\n                            '- If you want a type meaning \"any value\", you probably want `unknown` instead.'\n                        ].join('\\n')\n                    }\n                }\n            }],\n        '@typescript-eslint/class-literal-property-style': ['error', 'fields'],\n        '@typescript-eslint/comma-dangle': ['error', {\n                arrays: 'never',\n                objects: 'never',\n                imports: 'never',\n                exports: 'never',\n                functions: 'never',\n                enums: 'ignore',\n                generics: 'ignore',\n                tuples: 'ignore'\n            }],\n        '@typescript-eslint/consistent-generic-constructors': ['error', 'constructor'],\n        '@typescript-eslint/consistent-indexed-object-style': ['error', 'record'],\n        '@typescript-eslint/consistent-type-assertions': [\n            'error',\n            {\n                assertionStyle: 'as',\n                objectLiteralTypeAssertions: 'never'\n            }\n        ],\n        '@typescript-eslint/consistent-type-definitions': ['error', 'interface'],\n        '@typescript-eslint/consistent-type-exports': ['error', {\n                fixMixedExportsWithInlineTypeSpecifier: true\n            }],\n        '@typescript-eslint/consistent-type-imports': ['error', {\n                prefer: 'type-imports',\n                disallowTypeAnnotations: true,\n                fixStyle: 'inline-type-imports'\n            }],\n        '@typescript-eslint/explicit-function-return-type': ['error', {\n                allowExpressions: true,\n                allowHigherOrderFunctions: true,\n                allowTypedFunctionExpressions: true,\n                allowDirectConstAssertionInArrowFunctions: true\n            }],\n        '@typescript-eslint/member-delimiter-style': [\n            'error',\n            {\n                multiline: { delimiter: 'none' },\n                singleline: { delimiter: 'comma', requireLast: false }\n            }\n        ],\n        '@typescript-eslint/method-signature-style': 'error',\n        '@typescript-eslint/naming-convention': ['error', {\n                selector: 'variableLike',\n                leadingUnderscore: 'allow',\n                trailingUnderscore: 'allow',\n                format: ['camelCase', 'PascalCase', 'UPPER_CASE']\n            }],\n        '@typescript-eslint/no-base-to-string': 'error',\n        '@typescript-eslint/no-confusing-void-expression': ['error', { ignoreArrowShorthand: false, ignoreVoidOperator: false }],\n        '@typescript-eslint/no-dynamic-delete': 'error',\n        '@typescript-eslint/no-empty-interface': ['error', { allowSingleExtends: true }],\n        '@typescript-eslint/no-extra-non-null-assertion': 'error',\n        '@typescript-eslint/no-extraneous-class': ['error', { allowWithDecorator: true }],\n        '@typescript-eslint/no-floating-promises': 'error',\n        '@typescript-eslint/no-for-in-array': 'error',\n        '@typescript-eslint/no-invalid-void-type': 'error',\n        '@typescript-eslint/no-misused-new': 'error',\n        '@typescript-eslint/no-misused-promises': 'error',\n        '@typescript-eslint/no-namespace': 'error',\n        '@typescript-eslint/no-non-null-asserted-optional-chain': 'error',\n        '@typescript-eslint/no-non-null-assertion': 'error',\n        '@typescript-eslint/no-this-alias': ['error', { allowDestructuring: true }],\n        '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',\n        '@typescript-eslint/no-unnecessary-type-assertion': 'error',\n        '@typescript-eslint/no-unnecessary-type-constraint': 'error',\n        '@typescript-eslint/no-unsafe-argument': 'error',\n        '@typescript-eslint/no-var-requires': 'error',\n        '@typescript-eslint/non-nullable-type-assertion-style': 'error',\n        '@typescript-eslint/prefer-function-type': 'error',\n        '@typescript-eslint/prefer-includes': 'error',\n        '@typescript-eslint/prefer-nullish-coalescing': ['error', { ignoreConditionalTests: false, ignoreMixedLogicalExpressions: false }],\n        '@typescript-eslint/prefer-optional-chain': 'error',\n        '@typescript-eslint/prefer-readonly': 'error',\n        '@typescript-eslint/prefer-reduce-type-parameter': 'error',\n        '@typescript-eslint/prefer-return-this-type': 'error',\n        '@typescript-eslint/prefer-ts-expect-error': 'error',\n        '@typescript-eslint/promise-function-async': 'error',\n        '@typescript-eslint/require-array-sort-compare': ['error', { ignoreStringArrays: true }],\n        '@typescript-eslint/restrict-plus-operands': ['error', { skipCompoundAssignments: false }],\n        '@typescript-eslint/restrict-template-expressions': ['error', { allowNumber: true }],\n        '@typescript-eslint/return-await': ['error', 'always'],\n        '@typescript-eslint/strict-boolean-expressions': ['error', {\n                allowString: false,\n                allowNumber: false,\n                allowNullableObject: false,\n                allowNullableBoolean: false,\n                allowNullableString: false,\n                allowNullableNumber: false,\n                allowAny: false\n            }],\n        '@typescript-eslint/triple-slash-reference': ['error', { lib: 'never', path: 'never', types: 'never' }],\n        '@typescript-eslint/type-annotation-spacing': 'error',\n        '@typescript-eslint/unbound-method': ['error', { ignoreStatic: false }],\n        'no-void': ['error', { allowAsStatement: true }]\n    }\n};\nmodule.exports = config;\n"]}