summaryrefslogtreecommitdiffstats
path: root/.eslintrc.yml
blob: 01d31ee18af31d8010f7ac308fe3e983a10c920f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
env:
  browser: true
  es2021: true
  node: true
extends:
  - 'plugin:react/recommended'
  - airbnb-typescript
parser: '@typescript-eslint/parser'
parserOptions:
  ecmaFeatures:
    jsx: true
  ecmaVersion: 12
  sourceType: module
  project: tsconfig.json
plugins:
  - react
  - '@typescript-eslint'
rules: {
  "no-use-before-define": "off",
  "@typescript-eslint/no-use-before-define": ["error"],
  "react/jsx-filename-extension": [1, { "extensions": [".tsx"] }],
  "import/no-default-export": [2],
  "import/prefer-default-export": "off",
  "react/jsx-props-no-spreading": "off",
  "react/destructuring-assignment": [1, "never"]
}