forked from opynfinance/GammaProtocol
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
37 lines (37 loc) · 1.03 KB
/
.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
36
37
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"ignorePatterns": ["build", "**/vendor/*.js"],
"plugins": ["@typescript-eslint", "import"],
"env": {
"es6": true
},
"rules": {
"prettier/prettier": "error",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/member-delimiter-style": ["error", {
"multiline": {
"delimiter": "none",
"requireLast": false
},
"singleline": {
"delimiter": "comma",
"requireLast": false
}
}],
"react/prop-types": "off",
"no-console": "warn",
"no-warning-comments": "warn",
"import/no-extraneous-dependencies": ["error", { "optionalDependencies": false, "peerDependencies": false }]
}
}