-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc
30 lines (30 loc) · 927 Bytes
/
.eslintrc
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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": [
"airbnb-typescript",
"airbnb/hooks",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*.spec.tsx", "**/*.spec.ts","example/**/*.tsx", "example/**/*.ts"]}],
"prettier/prettier": "error",
"react/jsx-filename-extension": 0,
"import/prefer-default-export": 0,
"@typescript-eslint/member-delimiter-style": 0,
"@typescript-eslint/semi": 0,
"@typescript-eslint/space-before-function-paren": 0,
"no-underscore-dangle": 0,
"no-cond-assign": ["error", "except-parens"]
},
"env": {
"browser": true,
"jest": true
}
}