aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
blob: 1102af4decdeba72f52871eb5288d7e268b48c87 (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
{
  "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"],
    "comma-dangle": ["error", "never"],
    "import/extensions": ["error", { "ts": "never", "tsx": "never" }],
    "arrow-body-style": 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-danger": 0,
    "react/jsx-one-expression-per-line": 0,
    "react/jsx-props-no-spreading": 0
  }
}