// https://github.com/typescript-eslint/typescript-eslint/blob/master/docs/getting-started/linting/README.md // TODO - we want react hooks / exhaustive deps eslint rule...figure out why I have to import to get those module.exports = { root: true, parser: '@typescript-eslint/parser', parserOptions: { tsconfigRootDir: __dirname, project: ['./tsconfig.base.json'] }, extends: [ 'eslint:recommended', 'plugin:prettier/recommended', 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended-requiring-type-checking' ], plugins: ['@typescript-eslint', 'prettier'], rules: { 'prettier/prettier': 'warn', '@typescript-eslint/camelcase': 'off', '@typescript-eslint/no-unused-vars': 'off', '@typescript-eslint/no-namespace': 'off', '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/restrict-plus-operands': 'off', '@typescript-eslint/no-unsafe-member-access': 'off', '@typescript-eslint/no-unsafe-call': 'off', '@typescript-eslint/no-unsafe-assignment': 'off', '@typescript-eslint/no-unsafe-return': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off', '@typescript-eslint/require-await': 'off', '@typescript-eslint/no-empty-function': 'off', '@typescript-eslint/ban-ts-comment': 'off', '@typescript-eslint/no-unnecessary-type-assertion': 'off', '@typescript-eslint/restrict-template-expressions': 'off', '@typescript-eslint/no-var-requires': 'warn', '@typescript-eslint/no-floating-promises': 'warn', '@typescript-eslint/prefer-regexp-exec': 'off', '@typescript-eslint/no-misused-promises': 'warn', '@typescript-eslint/ban-types': 'warn', '@typescript-eslint/no-non-null-assertion': 'warn', '@typescript-eslint/unbound-method': 'off', '@typescript-eslint/no-unsafe-argument': 'warn', 'prefer-const': 'warn', '@typescript-eslint/no-this-alias': 'warn', 'no-async-promise-executor': 'warn', 'no-empty': 'warn', 'no-prototype-builtins': 'off' } }