/** * Minified by jsDelivr using Terser v5.39.0. * Original file: /npm/@trampoline/eslint-config@1.8.0/.eslintrc.js * * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files */ require("@rushstack/eslint-patch/modern-module-resolution"),module.exports={plugins:["import","@typescript-eslint","unicorn"],extends:["eslint:recommended","plugin:@typescript-eslint/recommended","prettier"],env:{es6:!0,browser:!0,jest:!0,node:!0},parser:"@typescript-eslint/parser",parserOptions:{project:"tsconfig.json",sourceType:"module",ecmaFeatures:{jsx:!0}},rules:{"arrow-body-style":["error","as-needed"],"prefer-arrow-callback":"error","import/order":"error","import/newline-after-import":"error","import/no-relative-packages":"error","import/no-useless-path-segments":"error","@typescript-eslint/array-type":["error",{default:"array"}],"@typescript-eslint/ban-types":["error",{extendDefaults:!1,types:{String:{message:"Use string instead",fixWith:"string"},Boolean:{message:"Use boolean instead",fixWith:"boolean"},Number:{message:"Use number instead",fixWith:"number"},Symbol:{message:"Use symbol instead",fixWith:"symbol"},Function:{message:["The `Function` type accepts any function-like value.","It provides no type safety when calling the function, which can be a common source of bugs.","It also accepts things like class declarations, which will throw at runtime as they will not be called with `new`.","If you are expecting the function to accept certain arguments, you should explicitly define the function shape."].join("\n")},Object:{message:['The `Object` type actually means "any non-nullish value", so it is marginally better than `unknown`.','- If you want a type meaning "any object", you probably want `Record` instead.','- If you want a type meaning "any value", you probably want `unknown` instead.'].join("\n")},object:{message:["The `object` type is currently hard to use ([see this issue](https://github.com/microsoft/TypeScript/issues/21732)).","Consider using `Record` instead, as it allows you to more easily inspect and use the keys."].join("\n")}}}],"@typescript-eslint/consistent-type-definitions":["error","interface"],"@typescript-eslint/consistent-type-exports":["error",{fixMixedExportsWithInlineTypeSpecifier:!0}],"@typescript-eslint/consistent-type-imports":["error",{fixStyle:"inline-type-imports"}],"@typescript-eslint/explicit-function-return-type":["warn",{allowExpressions:!0}],"@typescript-eslint/no-empty-interface":["error",{allowSingleExtends:!0}],"@typescript-eslint/no-floating-promises":"error","@typescript-eslint/no-use-before-define":["warn",{functions:!1,classes:!1,variables:!1}],"@typescript-eslint/no-unused-vars":["error",{argsIgnorePattern:"^_",destructuredArrayIgnorePattern:"^_",ignoreRestSiblings:!0}],"no-console":[2,{allow:["warn","error"]}],"unicorn/better-regex":"error","unicorn/consistent-destructuring":"error","unicorn/consistent-function-scoping":"error","unicorn/error-message":"error","unicorn/expiring-todo-comments":"error","unicorn/filename-case":["error",{cases:{kebabCase:!0,pascalCase:!0}}],"unicorn/no-array-push-push":"error","unicorn/no-document-cookie":"error","unicorn/no-empty-file":"error","unicorn/no-for-loop":"error","unicorn/no-instanceof-array":"error","unicorn/no-invalid-remove-event-listener":"error","unicorn/no-keyword-prefix":["error",{disallowedPrefixes:["new","for"]}],"unicorn/no-lonely-if":"error","unicorn/no-new-buffer":"error","unicorn/no-unreadable-array-destructuring":"error","unicorn/no-unsafe-regex":"error","unicorn/no-useless-switch-case":"error","unicorn/no-useless-undefined":"error","unicorn/no-zero-fractions":"error","unicorn/numeric-separators-style":"error","unicorn/prefer-add-event-listener":"error","unicorn/prefer-array-find":"error","unicorn/prefer-array-flat":"error","unicorn/prefer-array-flat-map":"error","unicorn/prefer-array-index-of":"error","unicorn/prefer-array-some":"error","unicorn/prefer-date-now":"error","unicorn/prefer-default-parameters":"error","unicorn/prefer-export-from":"error","unicorn/prefer-includes":"error","unicorn/prefer-modern-math-apis":"error","unicorn/prefer-native-coercion-functions":"error","unicorn/prefer-negative-index":"error","unicorn/prefer-object-from-entries":"error","unicorn/prefer-regexp-test":"error","unicorn/prefer-set-has":"error","unicorn/prefer-spread":"error","unicorn/prefer-string-replace-all":"error","unicorn/prefer-string-slice":"error","unicorn/prefer-string-starts-ends-with":"error","unicorn/prefer-string-trim-start-end":"error","unicorn/prefer-switch":"error","unicorn/prefer-ternary":"error","unicorn/prefer-type-error":"error","unicorn/require-array-join-separator":"error","unicorn/require-number-to-fixed-digits-argument":"error","unicorn/template-indent":"error","unicorn/throw-new-error":"error"}}; //# sourceMappingURL=/sm/61117892f7af4f63d7054f3301d9fe1f786317d6250402615cc3ce128edd8a9b.map