generated from juliendargelos/rollup-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
27 lines (27 loc) · 831 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
{
"parser": "@typescript-eslint/parser",
"extends": "plugin:@typescript-eslint/recommended",
"env": { "es6": true },
"globals": { "require": false },
"plugins": ["@typescript-eslint"],
"rules": {
"max-len": ["warn"],
"@typescript-eslint/indent": ["error", 2],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-triple-slash-reference": "off",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/member-delimiter-style": ["error", {
"multiline": {
"delimiter": "none"
},
"singleline": {
"delimiter": "comma"
}
}],
"@typescript-eslint/explicit-function-return-type": ["error", {
"allowExpressions": true,
"allowTypedFunctionExpressions": true,
"allowHigherOrderFunctions": true
}]
}
}