1 | {
|
2 | "parser": "babel-eslint",
|
3 | "extends": "airbnb",
|
4 | "env": {
|
5 | "node": true,
|
6 | "mocha": true
|
7 | },
|
8 | "globals": {
|
9 | "share": true,
|
10 | "getController": true,
|
11 | "getWebsocketHandler": true,
|
12 | "getValidate": true,
|
13 | "getLogger": true,
|
14 | "getService": true,
|
15 | "getModel": true,
|
16 | "getJoi": true
|
17 | },
|
18 | "rules": {
|
19 | "max-depth": [
|
20 | "error",
|
21 | {
|
22 | "max": 3
|
23 | }
|
24 | ],
|
25 | "radix": [
|
26 | "off"
|
27 | ],
|
28 | "max-len": [
|
29 | "off"
|
30 | ],
|
31 | "object-curly-spacing": [
|
32 | "off"
|
33 | ],
|
34 | "no-underscore-dangle": [
|
35 | "off"
|
36 | ],
|
37 | "import/no-dynamic-require": [
|
38 | "off"
|
39 | ],
|
40 | "global-require": [
|
41 | "off"
|
42 | ],
|
43 | "class-methods-use-this": [
|
44 | "off"
|
45 | ],
|
46 | "no-restricted-syntax": [
|
47 | "off"
|
48 | ],
|
49 | "no-await-in-loop": [
|
50 | "off"
|
51 | ],
|
52 | "brace-style": [
|
53 | "error",
|
54 | "1tbs"
|
55 | ],
|
56 | "object-curly-newline": [
|
57 | "off",
|
58 | {
|
59 | "minProperties": 100000
|
60 | }
|
61 | ],
|
62 | "newline-per-chained-call": [
|
63 | "off"
|
64 | ],
|
65 | "object-property-newline": [
|
66 | "error",
|
67 | {
|
68 | "allowMultiplePropertiesPerLine": true
|
69 | }
|
70 | ]
|
71 | }
|
72 | } |
\ | No newline at end of file |