-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.eslintrc
104 lines (98 loc) · 3.93 KB
/
.eslintrc
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"plugins": [
"tsc"
],
"parserOptions": {
"ecmaVersion": 6
},
"env": {
"amd": true,
"browser": true
},
"rules": {
"tsc/config": [1, { "configFile": ".tsconfig.json" }],
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
"indent": [
"warn",
2,
{
"VariableDeclarator": { "var": 2, "let": 2, "const": 3 },
"ObjectExpression": "first",
"SwitchCase": 1
}
],
"curly": ["error", "all"],
"eqeqeq": ["error", "always"],
"semi": ["error", "always"],
"complexity": ["error", 12],
"quotes": ["error", "single"],
"no-unused-vars": ["error", "local"],
"no-label-var": ["error"],
"keyword-spacing": ["error", { "before": true, "after": true }],
"key-spacing": ["warn", { "align": "value" }],
"no-irregular-whitespace": ["error", {}],
"no-trailing-spaces": ["error", {}],
"object-curly-spacing": ["error", "always"],
"space-before-blocks": ["error", "always"],
"space-in-parens": ["error", "never"],
"spaced-comment": ["warn", "always", { "exceptions": ["*"], "markers": ["/"] }],
"id-blacklist": ["error", "data", "err"]
},
"globals": {
"nlapiAddDays": true,
"nlapiCopyRecord": true,
"nlapiCreateError": true,
"nlapiCreateFile": true,
"nlapiCreateForm": true,
"nlapiCreateRecord": true,
"nlapiCreateSearch": true,
"nlapiDateToString": true,
"nlapiDeleteRecord": true,
"nlapiEditCurrentLineItemSubrecord": true,
"nlapiEscapeXML": true,
"nlapiFindLineItemValue": true,
"nlapiFormatCurrency": true,
"nlapiGetContext": true,
"nlapiGetCurrentLineItemText": true,
"nlapiGetCurrentLineItemValue": true,
"nlapiGetFieldText": true,
"nlapiGetFieldValue": true,
"nlapiGetLineItemCount": true,
"nlapiGetLineItemText": true,
"nlapiGetLineItemValue": true,
"nlapiGetNewRecord": true,
"nlapiGetOldRecord": true,
"nlapiGetRecordId": true,
"nlapiGetRecordType": true,
"nlapiGetUser": true,
"nlapiLoadConfiguration": true,
"nlapiLoadFile": true,
"nlapiLoadRecord": true,
"nlapiLoadSearch": true,
"nlapiLogExecution": true,
"nlapiLookupField": true,
"nlapiRemoveLineItem": true,
"nlapiRequestURL": true,
"nlapiResolveURL": true,
"nlapiScheduleScript": true,
"nlapiSearchRecord": true,
"nlapiSelectLineItem": true,
"nlapiSendEmail": true,
"nlapiSetCurrentLineItemText": true,
"nlapiSetCurrentLineItemValue": true,
"nlapiSetFieldDisabled": true,
"nlapiSetFieldMandatory": true,
"nlapiSetFieldValue": true,
"nlapiSetFieldValues": true,
"nlapiSetLineItemText": true,
"nlapiSetLineItemValue": true,
"nlapiSubmitField": true,
"nlapiSubmitFile": true,
"nlapiSubmitRecord": true,
"nlapiTransformRecord": true,
"nlapiXMLToPDF": true,
"nlapiYieldScript": true,
"nlobjSearchColumn": true,
"nlobjSearchFilter": true
}
}