UNPKG

@ahanapediatrics/react-volume-meter

Version:
50 lines (46 loc) • 1.44 kB
/* šŸ‘‹ Hi! This file was autogenerated by tslint-to-eslint-config. https://github.com/typescript-eslint/tslint-to-eslint-config It represents the closest reasonable ESLint configuration to this project's original TSLint configuration. We recommend eventually switching this configuration to extend from the recommended rulesets in typescript-eslint. https://github.com/typescript-eslint/tslint-to-eslint-config/blob/master/docs/FAQs.md Happy linting! šŸ’– */ module.exports = { env: { browser: true, es6: true, node: true, }, extends: ["prettier", "prettier/@typescript-eslint"], parser: "@typescript-eslint/parser", parserOptions: { project: "tsconfig.json", sourceType: "module", }, plugins: ["@typescript-eslint"], rules: { "@typescript-eslint/adjacent-overload-signatures": "error", "@typescript-eslint/await-thenable": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/prefer-for-of": "error", "@typescript-eslint/unified-signatures": "error", eqeqeq: ["error", "smart"], "no-caller": "error", "no-invalid-this": "error", "no-new-wrappers": "error", "no-shadow": [ "error", { hoist: "all", }, ], "no-throw-literal": "error", "no-unused-labels": "error", "no-var": "error", }, };