@syncfusion/ej2-dropdowns 20.3.50 → 20.3.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +244 -0
- package/CHANGELOG.md +14 -0
- package/dist/ej2-dropdowns.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +58 -14
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +60 -14
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +2 -2
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +12 -12
- package/src/drop-down-list/drop-down-list.js +3 -0
- package/src/drop-down-tree/drop-down-tree.js +3 -3
- package/src/list-box/list-box.js +7 -1
- package/src/mention/mention.d.ts +2 -0
- package/src/mention/mention.js +44 -10
- package/src/multi-select/multi-select.js +3 -0
- package/styles/bootstrap5-dark.css +4 -1
- package/styles/bootstrap5.css +4 -1
- package/styles/drop-down-base/_fabric-definition.scss +1 -1
- package/styles/drop-down-base/fabric.css +1 -1
- package/styles/drop-down-tree/_layout.scss +9 -1
- package/styles/drop-down-tree/bootstrap5-dark.css +4 -1
- package/styles/drop-down-tree/bootstrap5.css +4 -1
- package/styles/fabric.css +1 -1
- package/tslint.json +111 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.3.
|
|
3
|
+
* version : 20.3.57
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-dropdowns@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-dropdowns@20.3.
|
|
3
|
+
"_id": "@syncfusion/ej2-dropdowns@20.3.50",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-ym3A3174og0vVoRiHoAy2FuJLV3JmHW9TB0/tu+kM1ksLWMufHV5Q7JAx+gKWVxQNhfm6s86HHVnlFA3OgniYQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-dropdowns",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -33,21 +33,21 @@
|
|
|
33
33
|
"/@syncfusion/ej2-spreadsheet",
|
|
34
34
|
"/@syncfusion/ej2-vue-dropdowns"
|
|
35
35
|
],
|
|
36
|
-
"_resolved": "
|
|
37
|
-
"_shasum": "
|
|
36
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-20.3.50.tgz",
|
|
37
|
+
"_shasum": "8c78326483125c14898e4f1b333adffc0f787a18",
|
|
38
38
|
"_spec": "@syncfusion/ej2-dropdowns@*",
|
|
39
|
-
"_where": "/jenkins/workspace/automation_release_19.1.0.1
|
|
39
|
+
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
|
|
40
40
|
"author": {
|
|
41
41
|
"name": "Syncfusion Inc."
|
|
42
42
|
},
|
|
43
43
|
"bundleDependencies": false,
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@syncfusion/ej2-base": "~20.3.
|
|
46
|
-
"@syncfusion/ej2-data": "~20.3.
|
|
47
|
-
"@syncfusion/ej2-inputs": "~20.3.
|
|
48
|
-
"@syncfusion/ej2-lists": "~20.3.
|
|
49
|
-
"@syncfusion/ej2-navigations": "~20.3.
|
|
50
|
-
"@syncfusion/ej2-popups": "~20.3.
|
|
45
|
+
"@syncfusion/ej2-base": "~20.3.56",
|
|
46
|
+
"@syncfusion/ej2-data": "~20.3.56",
|
|
47
|
+
"@syncfusion/ej2-inputs": "~20.3.57",
|
|
48
|
+
"@syncfusion/ej2-lists": "~20.3.56",
|
|
49
|
+
"@syncfusion/ej2-navigations": "~20.3.57",
|
|
50
|
+
"@syncfusion/ej2-popups": "~20.3.57"
|
|
51
51
|
},
|
|
52
52
|
"deprecated": false,
|
|
53
53
|
"description": "Essential JS 2 DropDown Components",
|
|
@@ -72,6 +72,6 @@
|
|
|
72
72
|
"module": "./index.js",
|
|
73
73
|
"name": "@syncfusion/ej2-dropdowns",
|
|
74
74
|
"typings": "index.d.ts",
|
|
75
|
-
"version": "20.3.
|
|
75
|
+
"version": "20.3.57",
|
|
76
76
|
"sideEffects": false
|
|
77
77
|
}
|
|
@@ -2069,6 +2069,9 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2069
2069
|
if (!isNullOrUndefined(this.cssClass) && this.cssClass !== '') {
|
|
2070
2070
|
updatedCssClassValues = (this.cssClass.replace(/\s+/g, ' ')).trim();
|
|
2071
2071
|
}
|
|
2072
|
+
if (!isNullOrUndefined(closest(this.element, "fieldset")) && closest(this.element, "fieldset").disabled) {
|
|
2073
|
+
this.enabled = false;
|
|
2074
|
+
}
|
|
2072
2075
|
this.inputWrapper = Input.createInput({
|
|
2073
2076
|
element: this.inputElement,
|
|
2074
2077
|
buttons: this.isPopupButton() ? [dropDownListClasses.icon] : null,
|
|
@@ -293,7 +293,7 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
293
293
|
this.updateDataAttribute();
|
|
294
294
|
this.setHTMLAttributes();
|
|
295
295
|
this.setAttributes();
|
|
296
|
-
this.popupDiv = this.createElement('div', { className: CONTENT
|
|
296
|
+
this.popupDiv = this.createElement('div', { className: CONTENT });
|
|
297
297
|
this.popupDiv.classList.add(DROPDOWN);
|
|
298
298
|
this.tree = this.createElement('div', { id: this.element.id + '_tree' });
|
|
299
299
|
this.popupDiv.appendChild(this.tree);
|
|
@@ -1635,14 +1635,14 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
1635
1635
|
var isFooter = closest(target, '.' + FOOTER);
|
|
1636
1636
|
var isScroller = target.classList.contains(DROPDOWN) ? true :
|
|
1637
1637
|
(matches(target, '.e-ddt .e-popup') || matches(target, '.e-ddt .e-treeview'));
|
|
1638
|
-
if ((this.isPopupOpen && (this.inputWrapper.contains(target) || isTree ||
|
|
1638
|
+
if ((this.isPopupOpen && (this.inputWrapper.contains(target) || isTree || isScroller || isHeader || isFooter)) ||
|
|
1639
1639
|
((this.allowMultiSelection || this.showCheckBox) && (this.isPopupOpen && target.classList.contains(CHIP_CLOSE) ||
|
|
1640
1640
|
(this.isPopupOpen && (target.classList.contains(CHECKALLPARENT) || target.classList.contains(ALLTEXT)
|
|
1641
1641
|
|| target.classList.contains(CHECKBOXFRAME)))))) {
|
|
1642
1642
|
this.isDocumentClick = false;
|
|
1643
1643
|
e.preventDefault();
|
|
1644
1644
|
}
|
|
1645
|
-
else if (!this.inputWrapper.contains(target) && this.inputFocus) {
|
|
1645
|
+
else if (!this.inputWrapper.contains(target) && this.inputFocus && !isFilter) {
|
|
1646
1646
|
this.focusOut(e);
|
|
1647
1647
|
}
|
|
1648
1648
|
};
|
package/src/list-box/list-box.js
CHANGED
|
@@ -1625,7 +1625,13 @@ var ListBox = /** @class */ (function (_super) {
|
|
|
1625
1625
|
}
|
|
1626
1626
|
}
|
|
1627
1627
|
}
|
|
1628
|
-
var elems
|
|
1628
|
+
var elems;
|
|
1629
|
+
if (this.isAngular) {
|
|
1630
|
+
elems = Array.prototype.slice.call(this.element.getElementsByClassName('e-list-parent')[0].querySelectorAll('.e-grabbed'));
|
|
1631
|
+
}
|
|
1632
|
+
else {
|
|
1633
|
+
elems = Array.prototype.slice.call(this.element.nextElementSibling.querySelectorAll('.e-grabbed'));
|
|
1634
|
+
}
|
|
1629
1635
|
return elems;
|
|
1630
1636
|
};
|
|
1631
1637
|
ListBox.prototype.getDragArgs = function (args, isDragEnd) {
|
package/src/mention/mention.d.ts
CHANGED
|
@@ -415,8 +415,10 @@ export declare class Mention extends DropDownBase {
|
|
|
415
415
|
private selectEventCallback;
|
|
416
416
|
private detachChanges;
|
|
417
417
|
private setValue;
|
|
418
|
+
private updateMentionValue;
|
|
418
419
|
private mentionVal;
|
|
419
420
|
private setDisplayTemplate;
|
|
421
|
+
renderTemplates(callBack?: any): void;
|
|
420
422
|
private setSpinnerTemplate;
|
|
421
423
|
private onChangeEvent;
|
|
422
424
|
private detachMentionChanges;
|
package/src/mention/mention.js
CHANGED
|
@@ -174,7 +174,7 @@ var Mention = /** @class */ (function (_super) {
|
|
|
174
174
|
if (!isNullOrUndefined(this.spinnerElement)) {
|
|
175
175
|
hideSpinner(this.spinnerElement);
|
|
176
176
|
}
|
|
177
|
-
if (!isNullOrUndefined(this.spinnerTemplate)) {
|
|
177
|
+
if (!isNullOrUndefined(this.spinnerTemplate) && !isNullOrUndefined(this.spinnerTemplateElement)) {
|
|
178
178
|
detach(this.spinnerTemplateElement);
|
|
179
179
|
}
|
|
180
180
|
};
|
|
@@ -195,7 +195,6 @@ var Mention = /** @class */ (function (_super) {
|
|
|
195
195
|
}
|
|
196
196
|
if (!isNullOrUndefined(this.spinnerTemplate)) {
|
|
197
197
|
this.setSpinnerTemplate();
|
|
198
|
-
this.popupObj.element.appendChild(this.spinnerTemplateElement);
|
|
199
198
|
}
|
|
200
199
|
}
|
|
201
200
|
};
|
|
@@ -988,6 +987,24 @@ var Mention = /** @class */ (function (_super) {
|
|
|
988
987
|
};
|
|
989
988
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
990
989
|
Mention.prototype.setValue = function (e) {
|
|
990
|
+
if (!this.isReact) {
|
|
991
|
+
if (!isNullOrUndefined(this.displayTemplate)) {
|
|
992
|
+
this.setDisplayTemplate();
|
|
993
|
+
}
|
|
994
|
+
this.updateMentionValue(e);
|
|
995
|
+
return true;
|
|
996
|
+
}
|
|
997
|
+
else {
|
|
998
|
+
if (!isNullOrUndefined(this.displayTemplate)) {
|
|
999
|
+
this.setDisplayTemplate(e);
|
|
1000
|
+
}
|
|
1001
|
+
else {
|
|
1002
|
+
this.updateMentionValue(e);
|
|
1003
|
+
}
|
|
1004
|
+
return true;
|
|
1005
|
+
}
|
|
1006
|
+
};
|
|
1007
|
+
Mention.prototype.updateMentionValue = function (e) {
|
|
991
1008
|
var dataItem = this.getItemData();
|
|
992
1009
|
var textSuffix;
|
|
993
1010
|
var value;
|
|
@@ -1013,7 +1030,6 @@ var Mention = /** @class */ (function (_super) {
|
|
|
1013
1030
|
this.hidePopup();
|
|
1014
1031
|
}
|
|
1015
1032
|
this.onChangeEvent(e);
|
|
1016
|
-
return true;
|
|
1017
1033
|
}
|
|
1018
1034
|
else {
|
|
1019
1035
|
endPos = this.getTriggerCharPosition() + this.mentionChar.length;
|
|
@@ -1045,13 +1061,12 @@ var Mention = /** @class */ (function (_super) {
|
|
|
1045
1061
|
this.hidePopup();
|
|
1046
1062
|
}
|
|
1047
1063
|
this.onChangeEvent(e);
|
|
1048
|
-
return true;
|
|
1049
1064
|
}
|
|
1050
1065
|
};
|
|
1051
1066
|
Mention.prototype.mentionVal = function (value) {
|
|
1052
1067
|
var showChar = this.showMentionChar ? this.mentionChar : '';
|
|
1053
|
-
if (!isNullOrUndefined(this.displayTemplate)) {
|
|
1054
|
-
value = this.
|
|
1068
|
+
if (!isNullOrUndefined(this.displayTemplate) && !isNullOrUndefined(this.displayTempElement)) {
|
|
1069
|
+
value = this.displayTempElement.innerHTML;
|
|
1055
1070
|
}
|
|
1056
1071
|
if (this.isContentEditable(this.inputElement)) {
|
|
1057
1072
|
return '<span contenteditable="false" class="e-mention-chip">' + showChar + value + '</span>'.concat(typeof this.suffixText === 'string' ? this.suffixText : ' ');
|
|
@@ -1060,7 +1075,8 @@ var Mention = /** @class */ (function (_super) {
|
|
|
1060
1075
|
return showChar + value;
|
|
1061
1076
|
}
|
|
1062
1077
|
};
|
|
1063
|
-
Mention.prototype.setDisplayTemplate = function () {
|
|
1078
|
+
Mention.prototype.setDisplayTemplate = function (e) {
|
|
1079
|
+
var _this = this;
|
|
1064
1080
|
var compiledString;
|
|
1065
1081
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1066
1082
|
if (this.isReact) {
|
|
@@ -1085,10 +1101,20 @@ var Mention = /** @class */ (function (_super) {
|
|
|
1085
1101
|
this.displayTempElement.appendChild(displayCompTemp[i]);
|
|
1086
1102
|
}
|
|
1087
1103
|
}
|
|
1088
|
-
this.
|
|
1089
|
-
|
|
1104
|
+
if (!this.isReact) {
|
|
1105
|
+
this.renderTemplates();
|
|
1106
|
+
}
|
|
1107
|
+
else {
|
|
1108
|
+
this.renderTemplates(function () {
|
|
1109
|
+
_this.updateMentionValue(e);
|
|
1110
|
+
});
|
|
1111
|
+
}
|
|
1112
|
+
};
|
|
1113
|
+
Mention.prototype.renderTemplates = function (callBack) {
|
|
1114
|
+
this.renderReactTemplates(callBack);
|
|
1090
1115
|
};
|
|
1091
1116
|
Mention.prototype.setSpinnerTemplate = function () {
|
|
1117
|
+
var _this = this;
|
|
1092
1118
|
var compiledString;
|
|
1093
1119
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1094
1120
|
if (this.isReact) {
|
|
@@ -1113,7 +1139,15 @@ var Mention = /** @class */ (function (_super) {
|
|
|
1113
1139
|
this.spinnerTemplateElement.appendChild(spinnerCompTemp[i]);
|
|
1114
1140
|
}
|
|
1115
1141
|
}
|
|
1116
|
-
this.
|
|
1142
|
+
if (!this.isReact) {
|
|
1143
|
+
this.renderTemplates();
|
|
1144
|
+
this.popupObj.element.appendChild(this.spinnerTemplateElement);
|
|
1145
|
+
}
|
|
1146
|
+
else {
|
|
1147
|
+
this.renderTemplates(function () {
|
|
1148
|
+
_this.popupObj.element.appendChild(_this.spinnerTemplateElement);
|
|
1149
|
+
});
|
|
1150
|
+
}
|
|
1117
1151
|
};
|
|
1118
1152
|
Mention.prototype.onChangeEvent = function (eve) {
|
|
1119
1153
|
this.isSelected = false;
|
|
@@ -3844,6 +3844,9 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
3844
3844
|
if (this.mode !== 'CheckBox') {
|
|
3845
3845
|
this.hideOverAllClear();
|
|
3846
3846
|
}
|
|
3847
|
+
if (!isNullOrUndefined(closest(this.element, "fieldset")) && closest(this.element, "fieldset").disabled) {
|
|
3848
|
+
this.enabled = false;
|
|
3849
|
+
}
|
|
3847
3850
|
this.wireEvent();
|
|
3848
3851
|
this.enable(this.enabled);
|
|
3849
3852
|
this.enableRTL(this.enableRtl);
|
|
@@ -988,7 +988,10 @@ ejs-dropdownlist {
|
|
|
988
988
|
box-shadow: none;
|
|
989
989
|
position: absolute;
|
|
990
990
|
}
|
|
991
|
-
.e-ddt.e-popup .e-checkbox-wrapper .e-frame {
|
|
991
|
+
.e-ddt.e-popup .e-active .e-checkbox-wrapper .e-frame:not(.e-check) {
|
|
992
|
+
background-color: #212529;
|
|
993
|
+
}
|
|
994
|
+
.e-ddt.e-popup .e-checkbox-wrapper .e-frame:not(.e-check) {
|
|
992
995
|
background-color: transparent;
|
|
993
996
|
}
|
|
994
997
|
.e-ddt.e-popup .e-selectall-parent {
|
package/styles/bootstrap5.css
CHANGED
|
@@ -988,7 +988,10 @@ ejs-dropdownlist {
|
|
|
988
988
|
box-shadow: none;
|
|
989
989
|
position: absolute;
|
|
990
990
|
}
|
|
991
|
-
.e-ddt.e-popup .e-checkbox-wrapper .e-frame {
|
|
991
|
+
.e-ddt.e-popup .e-active .e-checkbox-wrapper .e-frame:not(.e-check) {
|
|
992
|
+
background-color: #fff;
|
|
993
|
+
}
|
|
994
|
+
.e-ddt.e-popup .e-checkbox-wrapper .e-frame:not(.e-check) {
|
|
992
995
|
background-color: transparent;
|
|
993
996
|
}
|
|
994
997
|
.e-ddt.e-popup .e-selectall-parent {
|
|
@@ -11,7 +11,7 @@ $ddl-list-border-color: rgba($neutral-light, .25) !default;
|
|
|
11
11
|
$ddl-list-font-family: inherit !default;
|
|
12
12
|
$ddl-list-gradient-color: transparent !default;
|
|
13
13
|
$mention-gradient-color: $neutral-white !default;
|
|
14
|
-
$mention-list-box-shadow-color:
|
|
14
|
+
$mention-list-box-shadow-color: rgba(0, 0, 0, .4) !default;
|
|
15
15
|
$mention-chip-bg-color: $neutral-lighter !default;
|
|
16
16
|
$mention-chip-border-radius: 0 !default;
|
|
17
17
|
$mention-chip-border: none !default;
|
|
@@ -436,8 +436,16 @@
|
|
|
436
436
|
box-shadow: $ddt-box-shadow;
|
|
437
437
|
position: absolute;
|
|
438
438
|
|
|
439
|
+
.e-active .e-checkbox-wrapper {
|
|
440
|
+
.e-frame:not(.e-check) {
|
|
441
|
+
@if$ddt-skin-name == 'bootstrap5' {
|
|
442
|
+
background-color: $ddt-readonly-input-bg-color;
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
|
|
439
447
|
.e-checkbox-wrapper {
|
|
440
|
-
.e-frame {
|
|
448
|
+
.e-frame:not(.e-check) {
|
|
441
449
|
@if$ddt-skin-name == 'bootstrap5' {
|
|
442
450
|
background-color: transparent;
|
|
443
451
|
}
|
|
@@ -207,7 +207,10 @@
|
|
|
207
207
|
box-shadow: none;
|
|
208
208
|
position: absolute;
|
|
209
209
|
}
|
|
210
|
-
.e-ddt.e-popup .e-checkbox-wrapper .e-frame {
|
|
210
|
+
.e-ddt.e-popup .e-active .e-checkbox-wrapper .e-frame:not(.e-check) {
|
|
211
|
+
background-color: #212529;
|
|
212
|
+
}
|
|
213
|
+
.e-ddt.e-popup .e-checkbox-wrapper .e-frame:not(.e-check) {
|
|
211
214
|
background-color: transparent;
|
|
212
215
|
}
|
|
213
216
|
.e-ddt.e-popup .e-selectall-parent {
|
|
@@ -207,7 +207,10 @@
|
|
|
207
207
|
box-shadow: none;
|
|
208
208
|
position: absolute;
|
|
209
209
|
}
|
|
210
|
-
.e-ddt.e-popup .e-checkbox-wrapper .e-frame {
|
|
210
|
+
.e-ddt.e-popup .e-active .e-checkbox-wrapper .e-frame:not(.e-check) {
|
|
211
|
+
background-color: #fff;
|
|
212
|
+
}
|
|
213
|
+
.e-ddt.e-popup .e-checkbox-wrapper .e-frame:not(.e-check) {
|
|
211
214
|
background-color: transparent;
|
|
212
215
|
}
|
|
213
216
|
.e-ddt.e-popup .e-selectall-parent {
|
package/styles/fabric.css
CHANGED
package/tslint.json
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rules": {
|
|
3
|
+
"chai-vague-errors": true,
|
|
4
|
+
"use-isnan": true,
|
|
5
|
+
"missing-jsdoc": true,
|
|
6
|
+
"missing-optional-annotation": true,
|
|
7
|
+
"no-backbone-get-set-outside-model": true,
|
|
8
|
+
"no-banned-terms": true,
|
|
9
|
+
"no-constant-condition": true,
|
|
10
|
+
"no-control-regex": true,
|
|
11
|
+
"no-cookies": true,
|
|
12
|
+
"no-delete-expression": true,
|
|
13
|
+
"no-document-write": true,
|
|
14
|
+
"no-document-domain": true,
|
|
15
|
+
"no-disable-auto-sanitization": true,
|
|
16
|
+
"no-duplicate-case": true,
|
|
17
|
+
"no-duplicate-parameter-names": true,
|
|
18
|
+
"no-empty-interfaces": true,
|
|
19
|
+
"no-exec-script": true,
|
|
20
|
+
"no-function-constructor-with-string-args": true,
|
|
21
|
+
"no-function-expression": true,
|
|
22
|
+
"no-invalid-regexp": true,
|
|
23
|
+
"no-for-in": true,
|
|
24
|
+
"member-access": true,
|
|
25
|
+
"no-multiline-string": true,
|
|
26
|
+
"no-multiple-var-decl": true,
|
|
27
|
+
"no-unnecessary-bind": true,
|
|
28
|
+
"no-unnecessary-semicolons": true,
|
|
29
|
+
"no-octal-literal": true,
|
|
30
|
+
"no-regex-spaces": true,
|
|
31
|
+
"no-sparse-arrays": true,
|
|
32
|
+
"no-string-based-set-immediate": true,
|
|
33
|
+
"no-string-based-set-interval": true,
|
|
34
|
+
"no-unused-imports": true,
|
|
35
|
+
"no-with-statement": true,
|
|
36
|
+
"prefer-array-literal": true,
|
|
37
|
+
"promise-must-complete": false,
|
|
38
|
+
"react-no-dangerous-html": true,
|
|
39
|
+
"use-named-parameter": true,
|
|
40
|
+
"valid-typeof": true,
|
|
41
|
+
"max-func-body-length": [true, 100, {
|
|
42
|
+
"ignore-parameters-to-function-regex": "describe"
|
|
43
|
+
}],
|
|
44
|
+
"class-name": true,
|
|
45
|
+
"curly": true,
|
|
46
|
+
"eofline": false,
|
|
47
|
+
"forin": true,
|
|
48
|
+
"indent": [
|
|
49
|
+
true,
|
|
50
|
+
"spaces"
|
|
51
|
+
],
|
|
52
|
+
"label-position": true,
|
|
53
|
+
"max-line-length": [true, 140],
|
|
54
|
+
"no-arg": true,
|
|
55
|
+
"no-console": [true,
|
|
56
|
+
"debug",
|
|
57
|
+
"info",
|
|
58
|
+
"log",
|
|
59
|
+
"time",
|
|
60
|
+
"timeEnd",
|
|
61
|
+
"trace"
|
|
62
|
+
],
|
|
63
|
+
"no-construct": true,
|
|
64
|
+
"no-parameter-properties": true,
|
|
65
|
+
"no-debugger": true,
|
|
66
|
+
"no-duplicate-variable": true,
|
|
67
|
+
"no-empty": true,
|
|
68
|
+
"no-eval": true,
|
|
69
|
+
"no-string-literal": true,
|
|
70
|
+
"no-switch-case-fall-through": true,
|
|
71
|
+
"trailing-comma": true,
|
|
72
|
+
"no-trailing-whitespace": true,
|
|
73
|
+
"no-unused-expression": true,
|
|
74
|
+
"no-use-before-declare": false,
|
|
75
|
+
"no-var-requires": true,
|
|
76
|
+
"one-line": [true,
|
|
77
|
+
"check-open-brace",
|
|
78
|
+
"check-catch",
|
|
79
|
+
"check-else",
|
|
80
|
+
"check-whitespace"
|
|
81
|
+
],
|
|
82
|
+
"no-any": true,
|
|
83
|
+
"no-conditional-assignment": true,
|
|
84
|
+
"no-angle-bracket-type-assertion": false,
|
|
85
|
+
"align": [true, "parameters", "arguments", "statements"],
|
|
86
|
+
"no-empty-line-after-opening-brace": false,
|
|
87
|
+
"typedef-whitespace": [false],
|
|
88
|
+
"ban": true,
|
|
89
|
+
"quotemark": [true, "single"],
|
|
90
|
+
"semicolon": true,
|
|
91
|
+
"triple-equals": [true, "allow-null-check"],
|
|
92
|
+
"typedef": [true,
|
|
93
|
+
"call-signature",
|
|
94
|
+
"parameter",
|
|
95
|
+
"property-declaration",
|
|
96
|
+
"variable-declaration",
|
|
97
|
+
"arrow-parameter",
|
|
98
|
+
"member-variable-declaration"],
|
|
99
|
+
"variable-name": true,
|
|
100
|
+
"whitespace": [true,
|
|
101
|
+
"check-branch",
|
|
102
|
+
"check-decl",
|
|
103
|
+
"check-operator",
|
|
104
|
+
"check-separator",
|
|
105
|
+
"check-type"
|
|
106
|
+
],
|
|
107
|
+
"jsdoc-format": true,
|
|
108
|
+
"no-var-keyword": true,
|
|
109
|
+
"radix": true
|
|
110
|
+
}
|
|
111
|
+
}
|