aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
blob: c86a906e713ca8d06c5191dcceffab7b11fed6f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  "parser": "@typescript-eslint/parser",
  "extends": [
    "airbnb-typescript",
    "plugin:@typescript-eslint/recommended"
  ],
  "parserOptions": {
    "project": "./tsconfig.json"
  },
  "ignorePatterns": "dist/",
  "rules": {
    "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"],
    "arrow-body-style": 0,
    "no-cond-assign": 0,
    "react/prop-types": 0,
    "react/no-children-prop": 0,
    "react/no-danger": 0
  }
}