forked from debut-js/Strategies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
22 lines (21 loc) · 968 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"parser": "@typescript-eslint/parser", // Specifies the ESLint parser
"extends": [
"plugin:prettier/recommended", // Enables eslint-plugin-prettier and displays prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
"prettier"
],
"parserOptions": {
"ecmaVersion": 2018, // Allows for the parsing of modern ECMAScript features
"sourceType": "module" // Allows for the use of imports
},
"rules": {
// note you must disable the base rule as it can report incorrect errors
"indent": ["error", 4, { "SwitchCase": 1 }],
"no-use-before-define": "off",
"no-empty-function": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-empty-function": "off"
}
}