-
Notifications
You must be signed in to change notification settings - Fork 249
/
.eslintrc.js
34 lines (34 loc) · 876 Bytes
/
.eslintrc.js
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
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
jsx: true
},
ecmaVersion: 2018,
sourceType: 'module',
project: [
'./tsconfig.json',
'./tsconfig.eslint.json'
]
},
plugins: [
'@typescript-eslint',
],
extends: [
'standard-with-typescript'
],
// These are Standard.js overrides, for rules that don't play well with
// Feathers.js auto-generated code
rules: {
'@typescript-eslint/default-param-last': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/require-await': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
'@typescript-eslint/promise-function-async': 'off',
"space-before-function-paren": "off",
"no-var": "error",
"semi": "error",
"prefer-arrow-callback": "error"
}
}