root: true parser: "@typescript-eslint/parser" extends: - eslint:recommended - plugin:@typescript-eslint/recommended - plugin:import/typescript - plugin:jest/recommended - plugin:react/recommended - react-app - react-app/jest env: browser: false es6: true node: true jest/globals: true plugins: - "@typescript-eslint" - "@avaly/eslint-plugin-import-order" - react - no-only-tests - import - jest parserOptions: project: "./tsconfig.all.json" ecmaVersion: 2020 sourceType: module ecmaFeatures: jsx: true modules: true module: es2020 settings: react: version: 'detect' import/parsers: "@typescript-eslint/parser": [".js", ".ts", ".tsx"] import/resolver: typescript: project: "./tsconfig.all.json" rules: "@avaly/import-order/order": - warn - groups: - [ "builtin", "external" ] - "internal" - "parent" - [ "sibling", "index" ] - "flow" "@typescript-eslint/no-use-before-define": - error - nofunc "@typescript-eslint/no-unused-vars": - warn - argsIgnorePattern: _+ vars: all ignoreRestSiblings: true "@typescript-eslint/no-this-alias": - warn - allowDestructuring: true allowedNames: - self - that "@typescript-eslint/consistent-type-imports": error "@typescript-eslint/no-non-null-assertion": 0 no-empty: - error - allowEmptyCatch: true quotes: - warn - single linebreak-style: - error - unix semi: - warn - always curly: 'off' keyword-spacing: warn space-before-blocks: - warn - always eol-last: - warn - always semi-spacing: - warn - before: false after: true no-var: error object-shorthand: - error - always prefer-const: error max-depth: - error - 5 max-statements: - error - 30 complexity: - warn - 10 object-curly-spacing: - warn - always no-process-exit: error no-console: warn rest-spread-spacing: - warn - never indent: - warn - 4 - SwitchCase: 1 comma-dangle: - warn - never no-underscore-dangle: 0 space-infix-ops: - warn - int32Hint: false no-only-tests/no-only-tests: warn import/no-cycle: error import/no-unassigned-import: - error - allow: ["**/*.css"] no-unused-vars: 0 no-use-before-define: 0 "@typescript-eslint/explicit-module-boundary-types": 0 "@typescript-eslint/ban-ts-comment": warn "@typescript-eslint/no-explicit-any": 0 "@typescript-eslint/no-namespace": 0 max-len: - warn - code: 145 ignoreTrailingComments: true