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