env:
  browser: true
  es2021: true
extends:
  - 'plugin:react/recommended'
  - airbnb
  - plugin:@typescript-eslint/recommended
parser: '@typescript-eslint/parser'
parserOptions:
  ecmaFeatures:
    jsx: true
  ecmaVersion: 12
  sourceType: module
settings:
  import/resolver:
    - typescript: {}
plugins:
  - react
  - react-hooks
  - '@typescript-eslint'
rules: 
  no-use-before-define: off
  '@typescript-eslint/no-use-before-define': error
  react-hooks/rules-of-hooks: error
  react-hooks/exhaustive-deps: warn
  react/jsx-filename-extension:
    - 1
    - extensions:
      - ".tsx"
  import/prefer-default-export: 'off'
  
  import/extensions:
    - error
    - ignorePackages
    - {
      js: never,
      jsx: never,
      tsx: never
    }
  no-shadow: "off"
  '@typescript-eslint/no-shadow': error



