-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
35 lines (35 loc) · 922 Bytes
/
.eslintrc.json
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
{
"extends": ["onepass"],
"rules": {
"arrow-body-style": "off",
"no-plusplus": "off",
"no-console": 0,
"no-extend-native": 0,
"react/jsx-filename-extension": [1, { "extensions": [".jsx", "tsx"] }],
"react/jsx-props-no-spreading": 0,
"jsx-a11y/label-has-associated-control": 0,
"quotes": "off",
"prefer-template": "off",
"jsx-a11y/no-autofocus": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/ban-ts-ignore": "off",
"prettier/prettier": [
"error",
{
"trailingComma": "es5",
"singleQuote": false,
"printWidth": 80,
"tabWidth": 2
}
]
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"],
"moduleDirectory": ["node_modules", "src/"]
}
}
}
}