-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
30 lines (29 loc) · 828 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
{
"extends": ["airbnb", "airbnb/hooks", "plugin:@typescript-eslint/recommended"],
"plugins": ["@typescript-eslint"],
"rules": {
"linebreak-style": 0,
"react/jsx-one-expression-per-line": [0, "none"],
"react/jsx-filename-extension": [2, { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": ["error"],
"import/extensions": "off",
"react/jsx-props-no-spreading": "off",
},
"parserOptions": {
"ecmaVersion": 2017
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"parser": "@typescript-eslint/parser",
"env": {
"es6": true,
"browser": true,
"node": true
}
}