-
Notifications
You must be signed in to change notification settings - Fork 12
/
.eslintrc.json
33 lines (33 loc) · 1 KB
/
.eslintrc.json
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
{
"extends": "eventbrite",
"env": {
"jest": true,
"browser": true,
"node": true
},
"parser": "typescript-eslint-parser",
"plugins": ["typescript"],
"rules": {
"no-undef": "off",
"camelcase": "off",
"prefer-const": "error",
"typescript/adjacent-overload-signatures": "error",
"typescript/class-name-casing": "error",
"typescript/interface-name-prefix": "error",
"typescript/member-delimiter-style": "error",
"typescript/no-unused-vars": "error",
"typescript/member-ordering": "error",
"typescript/no-angle-bracket-type-assertion": "error",
"typescript/no-array-constructor": "error",
"typescript/no-empty-interface": "error",
"typescript/no-use-before-define": "error",
"typescript/type-annotation-spacing": "error"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".ts", ".js"]
}
}
}
}