env: browser: true es2021: true extends: - "eslint:recommended" - "plugin:@typescript-eslint/recommended" - "plugin:import/recommended" - "plugin:import/typescript" parser: "@typescript-eslint/parser" parserOptions: ecmaVersion: 12 sourceType: module plugins: - "@typescript-eslint" - unused-imports settings: "import/parsers": "@typescript-eslint/parser": [.ts, .tsx] "import/resolver": typescript: project: assets rules: # The following two rules clash with Prettier indent: - off "@typescript-eslint/no-extra-semi": - off linebreak-style: - error - unix quotes: - error - double semi: - error - never unused-imports/no-unused-imports: - error "@typescript-eslint/no-unused-vars": - warn - argsIgnorePattern: "^_" import/order: - off sort-imports: - off # These two rules give false positives because we're using CommonJS import/default: - off import/no-named-as-default-member: - off prefer-const: - error - destructuring: all "@typescript-eslint/no-non-null-assertion": - off "@typescript-eslint/ban-ts-comment": - off # Should we enable this? 🤔 "@typescript-eslint/no-explicit-any": - off