-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
28 lines (28 loc) · 882 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
{
"parser": "@typescript-eslint/parser",
"env": {
"browser": true,
"jest": true,
"node": true,
"es6": true
},
"rules": {
"@typescript-eslint/indent": "off",
"quotes": ["error", "single", { "avoidEscape": true }],
"simple-import-sort/imports": "error",
"sort-imports": "off",
"import/order": "off",
"no-dupe-class-members": "off",
"no-shadow": "error",
"arrow-parens": "off",
"no-useless-constructor": "off",
"@typescript-eslint/no-useless-constructor": "error"
},
"plugins": ["@typescript-eslint", "simple-import-sort", "node", "import", "prettier", "promise"],
"parserOptions": {
"sourceType": "module",
"project": "./tsconfig.json"
},
"extends": ["standard", "semistandard", "plugin:@typescript-eslint/recommended", "prettier"],
"ignorePatterns": ["src/polkadot/", "src/middleware/", "docs/*"]
}