summaryrefslogtreecommitdiff
path: root/.eslintrc.json
blob: 1c01eb3c64dc1f63244d11caf5f36facbba6c821 (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
27
28
29
30
31
32
33
34
35
36
{
  "parser": "@typescript-eslint/parser",
  "extends": [
    "airbnb-typescript",
    "plugin:@typescript-eslint/recommended"
  ],
  "parserOptions": {
    "project": "./tsconfig.json"
  },
  "ignorePatterns": "dist/",
  "rules": {
    "no-unused-vars": 0,
    "@typescript-eslint/no-unused-vars": 0,
    "@typescript-eslint/no-unused-vars-experimental": "warn",
    "jsx-quotes": ["error", "prefer-double"],
    "quotes": ["error", "single"],
    "no-multiple-empty-lines": [2, { "max": 2, "maxEOF": 1 } ],
    "max-len": ["error", { "code": 120 }],
    "arrow-parens": [2, "as-needed"],
    "import/extensions": ["error", { "ts": "never", "tsx": "never" }],
    "arrow-body-style": 0,
    "curly": 0,
    "no-underscore-dangle": 0,
    "no-cond-assign": 0,
    "no-nested-ternary": 0,
    "linebreak-style": 0,
    "object-curly-newline": 0,
    "react/prop-types": 0,
    "react/no-children-prop": 0,
    "react/no-array-index-key": 0,
    "react/no-danger": 0,
    "react/jsx-one-expression-per-line": 0,
    "react/button-has-type": 0,
    "react/jsx-props-no-spreading": 0
  }
}