parser: '@typescript-eslint/parser' parserOptions: project: tsconfig.json ecmaVersion: 2018 sourceType: module ecmaFeatures: jsx: true extends: - plugin:@typescript-eslint/recommended - plugin:import/errors - plugin:import/warnings - plugin:import/typescript - plugin:promise/recommended settings: react: version: detect rules: indent: off max-len: - error - code: 120 comma-dangle: [ error, always-multiline ] quotes: [ error, single ] arrow-parens: [ error, as-needed ] semi: [ error, never ] no-unused-vars: warn no-unused-expressions: warn no-return-await: error object-curly-spacing: [ error, always ] keyword-spacing: [ error, { before: true, after: true } ] space-before-blocks: error '@typescript-eslint/array-type': off # This should be turned back on after updating TypeScript '@typescript-eslint/no-object-literal-type-assertion': warn '@typescript-eslint/no-non-null-assertion': warn '@typescript-eslint/no-explicit-any': off '@typescript-eslint/no-use-before-define': warn '@typescript-eslint/camelcase': warn "@typescript-eslint/indent": [ error, 2 ] '@typescript-eslint/no-floating-promises': error '@typescript-eslint/interface-name-prefix': warn '@typescript-eslint/explicit-member-accessibility': - warn - overrides: constructors: no-public '@typescript-eslint/member-delimiter-style': - warn - multiline: delimiter: none singleline: delimiter: comma '@typescript-eslint/explicit-function-return-type': - warn - allowExpressions: true allowTypedFunctionExpressions: true allowHigherOrderFunctions: true import/order: off import/group-exports: off # rely on ts to resolve modules import/no-unresolved: off promise/prefer-await-to-then: warn promise/prefer-await-to-callbacks: warn promise/always-return: warn