-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
37 lines (32 loc) · 860 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
35
36
37
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
parserOptions: {
parser: 'babel-eslint',
ecmaVersion: 2018,
sourceType: 'module'
},
env: {
browser: true,
node: true
},
extends: [
'prettier',
'plugin:prettier/recommended',
"plugin:@typescript-eslint/eslint-recommended",
'plugin:@typescript-eslint/recommended'
],
plugins: [
'@typescript-eslint'
],
rules: {
camelcase: 'off',
'@typescript-eslint/camelcase': 'off',
// ES2015 modules should always be used, but namespaces are used throughout
// the code to make syntax better (for example, to create a child class)
'@typescript-eslint/no-namespace': 'off',
// Conflicts with prettier settings
'@typescript-eslint/member-delimiter-style': 'off',
'@typescript-eslint/no-extra-semi': 'off'
}
}