@syncfusion/ej2-dropdowns 22.1.36 → 22.1.38

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 22.1.36
3
+ * version : 22.1.38
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@21.1.36",
3
+ "_id": "@syncfusion/ej2-dropdowns@22.1.37",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-dXQLZpowq9QAADbvTD6XGIyA65PwJ/pidZENuyG7uymYIawp1SbupELgIxOf51iY0HL7RQw1ZtfunwVMr25fqg==",
5
+ "_integrity": "sha512-VfGrlCbpIM7eCQb7k+e5sPyAs5nM8ez+cVO4B/QllXUQbHuNhPbj0oiV4aikLMNxb156aruIbhuGMu6w9sZP4Q==",
6
6
  "_location": "/@syncfusion/ej2-dropdowns",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -34,8 +34,8 @@
34
34
  "/@syncfusion/ej2-spreadsheet",
35
35
  "/@syncfusion/ej2-vue-dropdowns"
36
36
  ],
37
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-21.1.36.tgz",
38
- "_shasum": "d47419a9da20e8648e07b9e6a07852f595e4246f",
37
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-22.1.37.tgz",
38
+ "_shasum": "00eb755196cd4bc7ee558130da9abc55ef684a92",
39
39
  "_spec": "@syncfusion/ej2-dropdowns@*",
40
40
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
41
41
  "author": {
@@ -43,12 +43,12 @@
43
43
  },
44
44
  "bundleDependencies": false,
45
45
  "dependencies": {
46
- "@syncfusion/ej2-base": "~22.1.34",
47
- "@syncfusion/ej2-data": "~22.1.36",
48
- "@syncfusion/ej2-inputs": "~22.1.34",
46
+ "@syncfusion/ej2-base": "~22.1.38",
47
+ "@syncfusion/ej2-data": "~22.1.38",
48
+ "@syncfusion/ej2-inputs": "~22.1.38",
49
49
  "@syncfusion/ej2-lists": "~22.1.34",
50
- "@syncfusion/ej2-navigations": "~22.1.36",
51
- "@syncfusion/ej2-popups": "~22.1.36"
50
+ "@syncfusion/ej2-navigations": "~22.1.38",
51
+ "@syncfusion/ej2-popups": "~22.1.38"
52
52
  },
53
53
  "deprecated": false,
54
54
  "description": "Essential JS 2 DropDown Components",
@@ -73,7 +73,7 @@
73
73
  "module": "./index.js",
74
74
  "name": "@syncfusion/ej2-dropdowns",
75
75
  "typings": "index.d.ts",
76
- "version": "22.1.36",
76
+ "version": "22.1.38",
77
77
  "sideEffects": false,
78
78
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
79
79
  }
@@ -85,6 +85,7 @@ var ComboBox = /** @class */ (function (_super) {
85
85
  EventHandler.add(this.inputElement, 'keyup', this.onFilterUp, this);
86
86
  EventHandler.add(this.inputElement, 'keydown', this.onFilterDown, this);
87
87
  EventHandler.add(this.inputElement, 'paste', this.pasteHandler, this);
88
+ EventHandler.add(window, 'resize', this.windowResize, this);
88
89
  }
89
90
  this.bindCommonEvent();
90
91
  };
@@ -439,6 +440,7 @@ var ComboBox = /** @class */ (function (_super) {
439
440
  EventHandler.remove(this.inputElement, 'keyup', this.onFilterUp);
440
441
  EventHandler.remove(this.inputElement, 'keydown', this.onFilterDown);
441
442
  EventHandler.remove(this.inputElement, 'paste', this.pasteHandler);
443
+ EventHandler.remove(window, 'resize', this.windowResize);
442
444
  }
443
445
  }
444
446
  this.unBindCommonEvent();
@@ -272,7 +272,7 @@ var DropDownBase = /** @class */ (function (_super) {
272
272
  else {
273
273
  var l10nLocale = { noRecordsTemplate: 'No records found', actionFailureTemplate: 'Request failed' };
274
274
  var componentLocale = new L10n(this.getLocaleName(), {}, this.locale);
275
- if (componentLocale.getConstant('actionFailureTemplate') !== '') {
275
+ if (componentLocale.getConstant('actionFailureTemplate') !== '' || componentLocale.getConstant('noRecordsTemplate') !== '') {
276
276
  this.l10n = componentLocale;
277
277
  }
278
278
  else {
@@ -380,6 +380,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
380
380
  private resetValueHandler;
381
381
  protected wireEvent(): void;
382
382
  protected bindCommonEvent(): void;
383
+ protected windowResize(): void;
383
384
  private bindClearEvent;
384
385
  protected unBindCommonEvent(): void;
385
386
  protected updateIconState(): void;
@@ -476,6 +476,7 @@ var DropDownList = /** @class */ (function (_super) {
476
476
  EventHandler.add(this.inputWrapper.container, 'mousedown', this.dropDownClick, this);
477
477
  EventHandler.add(this.inputWrapper.container, 'focus', this.focusIn, this);
478
478
  EventHandler.add(this.inputWrapper.container, 'keypress', this.onSearch, this);
479
+ EventHandler.add(window, 'resize', this.windowResize, this);
479
480
  this.bindCommonEvent();
480
481
  };
481
482
  DropDownList.prototype.bindCommonEvent = function () {
@@ -496,6 +497,11 @@ var DropDownList = /** @class */ (function (_super) {
496
497
  }
497
498
  this.bindClearEvent();
498
499
  };
500
+ DropDownList.prototype.windowResize = function () {
501
+ if (this.isPopupOpen) {
502
+ this.popupObj.refreshPosition(this.inputWrapper.container);
503
+ }
504
+ };
499
505
  DropDownList.prototype.bindClearEvent = function () {
500
506
  if (this.showClearButton) {
501
507
  EventHandler.add(this.inputWrapper.clearButton, 'mousedown', this.resetHandler, this);
@@ -821,6 +827,7 @@ var DropDownList = /** @class */ (function (_super) {
821
827
  EventHandler.remove(this.inputWrapper.container, 'mousedown', this.dropDownClick);
822
828
  EventHandler.remove(this.inputWrapper.container, 'keypress', this.onSearch);
823
829
  EventHandler.remove(this.inputWrapper.container, 'focus', this.focusIn);
830
+ EventHandler.remove(window, 'resize', this.windowResize);
824
831
  }
825
832
  this.unBindCommonEvent();
826
833
  };
@@ -1670,20 +1677,20 @@ var DropDownList = /** @class */ (function (_super) {
1670
1677
  var args = { cancel: false };
1671
1678
  this.trigger('beforeOpen', args, function (args) {
1672
1679
  if (!args.cancel) {
1673
- var popupEle = _this.createElement('div', {
1680
+ var popupEle_1 = _this.createElement('div', {
1674
1681
  id: _this.element.id + '_popup', className: 'e-ddl e-popup ' + (_this.cssClass !== null ? _this.cssClass : '')
1675
1682
  });
1676
- var searchBox = _this.setSearchBox(popupEle);
1683
+ var searchBox = _this.setSearchBox(popupEle_1);
1677
1684
  _this.listHeight = formatUnit(_this.popupHeight);
1678
1685
  if (_this.headerTemplate) {
1679
- _this.setHeaderTemplate(popupEle);
1686
+ _this.setHeaderTemplate(popupEle_1);
1680
1687
  }
1681
- append([_this.list], popupEle);
1688
+ append([_this.list], popupEle_1);
1682
1689
  if (_this.footerTemplate) {
1683
- _this.setFooterTemplate(popupEle);
1690
+ _this.setFooterTemplate(popupEle_1);
1684
1691
  }
1685
- document.body.appendChild(popupEle);
1686
- popupEle.style.visibility = 'hidden';
1692
+ document.body.appendChild(popupEle_1);
1693
+ popupEle_1.style.visibility = 'hidden';
1687
1694
  if (_this.popupHeight !== 'auto') {
1688
1695
  _this.searchBoxHeight = 0;
1689
1696
  if (!isNullOrUndefined(searchBox.container)) {
@@ -1691,20 +1698,20 @@ var DropDownList = /** @class */ (function (_super) {
1691
1698
  _this.listHeight = (parseInt(_this.listHeight, 10) - (_this.searchBoxHeight)).toString() + 'px';
1692
1699
  }
1693
1700
  if (_this.headerTemplate) {
1694
- _this.header = _this.header ? _this.header : popupEle.querySelector('.e-ddl-header');
1701
+ _this.header = _this.header ? _this.header : popupEle_1.querySelector('.e-ddl-header');
1695
1702
  var height = Math.round(_this.header.getBoundingClientRect().height);
1696
1703
  _this.listHeight = (parseInt(_this.listHeight, 10) - (height + _this.searchBoxHeight)).toString() + 'px';
1697
1704
  }
1698
1705
  if (_this.footerTemplate) {
1699
- _this.footer = _this.footer ? _this.footer : popupEle.querySelector('.e-ddl-footer');
1706
+ _this.footer = _this.footer ? _this.footer : popupEle_1.querySelector('.e-ddl-footer');
1700
1707
  var height = Math.round(_this.footer.getBoundingClientRect().height);
1701
1708
  _this.listHeight = (parseInt(_this.listHeight, 10) - (height + _this.searchBoxHeight)).toString() + 'px';
1702
1709
  }
1703
1710
  _this.list.style.maxHeight = (parseInt(_this.listHeight, 10) - 2).toString() + 'px'; // due to box-sizing property
1704
- popupEle.style.maxHeight = formatUnit(_this.popupHeight);
1711
+ popupEle_1.style.maxHeight = formatUnit(_this.popupHeight);
1705
1712
  }
1706
1713
  else {
1707
- popupEle.style.height = 'auto';
1714
+ popupEle_1.style.height = 'auto';
1708
1715
  }
1709
1716
  var offsetValue = 0;
1710
1717
  var left = void 0;
@@ -1716,7 +1723,7 @@ var DropDownList = /** @class */ (function (_super) {
1716
1723
  }
1717
1724
  if (Browser.isDevice && (!_this.allowFiltering && (_this.getModuleName() === 'dropdownlist' ||
1718
1725
  (_this.isDropDownClick && _this.getModuleName() === 'combobox')))) {
1719
- offsetValue = _this.getOffsetValue(popupEle);
1726
+ offsetValue = _this.getOffsetValue(popupEle_1);
1720
1727
  var firstItem = _this.isEmptyList() ? _this.list : _this.liCollections[0];
1721
1728
  if (!isNullOrUndefined(_this.inputElement)) {
1722
1729
  left = -(parseInt(getComputedStyle(firstItem).textIndent, 10) -
@@ -1725,8 +1732,9 @@ var DropDownList = /** @class */ (function (_super) {
1725
1732
  }
1726
1733
  }
1727
1734
  _this.getFocusElement();
1728
- _this.createPopup(popupEle, offsetValue, left);
1729
- _this.checkCollision(popupEle);
1735
+ _this.createPopup(popupEle_1, offsetValue, left);
1736
+ _this.checkCollision(popupEle_1);
1737
+ var popupLeft_1 = _this.enableRtl ? parseFloat(popupEle_1.style.left) - (_this.ulElement.parentElement.offsetWidth - _this.inputWrapper.container.offsetWidth) : 0;
1730
1738
  if (Browser.isDevice) {
1731
1739
  _this.popupObj.element.classList.add(dropDownListClasses.device);
1732
1740
  if (_this.getModuleName() === 'dropdownlist' || (_this.getModuleName() === 'combobox'
@@ -1746,8 +1754,8 @@ var DropDownList = /** @class */ (function (_super) {
1746
1754
  EventHandler.add(_this.clearIconElement, 'click', _this.clearText, _this);
1747
1755
  }
1748
1756
  }
1749
- popupEle.style.visibility = 'visible';
1750
- addClass([popupEle], 'e-popup-close');
1757
+ popupEle_1.style.visibility = 'visible';
1758
+ addClass([popupEle_1], 'e-popup-close');
1751
1759
  var scrollParentElements = _this.popupObj.getScrollableParent(_this.inputWrapper.container);
1752
1760
  for (var _i = 0, scrollParentElements_1 = scrollParentElements; _i < scrollParentElements_1.length; _i++) {
1753
1761
  var element = scrollParentElements_1[_i];
@@ -1780,6 +1788,9 @@ var DropDownList = /** @class */ (function (_super) {
1780
1788
  _this.beforePopupOpen = false;
1781
1789
  _this.destroyPopup();
1782
1790
  }
1791
+ if (_this.enableRtl && popupLeft_1 > 0) {
1792
+ popupEle_1.style.left = popupLeft_1 + "px";
1793
+ }
1783
1794
  });
1784
1795
  }
1785
1796
  else {
@@ -2805,6 +2816,9 @@ var DropDownList = /** @class */ (function (_super) {
2805
2816
  this.previousSelectedLI = null;
2806
2817
  this.valueTempElement = null;
2807
2818
  this.actionData.ulElement = null;
2819
+ if (this.inputElement && !isNullOrUndefined(this.inputElement.onchange)) {
2820
+ this.inputElement.onchange = null;
2821
+ }
2808
2822
  _super.prototype.destroy.call(this);
2809
2823
  };
2810
2824
  /* eslint-disable valid-jsdoc, jsdoc/require-returns-description */
@@ -428,6 +428,12 @@ var DropDownTree = /** @class */ (function (_super) {
428
428
  }
429
429
  _this.treeObj.fields = _this.getTreeFields(fields);
430
430
  _this.treeObj.dataBind();
431
+ if (_this.hasTemplate && _this.portals) {
432
+ _this.portals = [].concat(_this.treeObj.portals);
433
+ if (_this.isReact) {
434
+ _this.renderReactTemplates();
435
+ }
436
+ }
431
437
  }
432
438
  });
433
439
  };
@@ -264,6 +264,9 @@ var MultiSelect = /** @class */ (function (_super) {
264
264
  if (_this.isFirstClick) {
265
265
  _this.loadTemplate();
266
266
  }
267
+ if (_this.enableRtl) {
268
+ _this.popupWrapper.style.visibility = 'hidden';
269
+ }
267
270
  }
268
271
  });
269
272
  };
@@ -2132,6 +2135,11 @@ var MultiSelect = /** @class */ (function (_super) {
2132
2135
  },
2133
2136
  open: function () {
2134
2137
  _this.popupObj.resolveCollision();
2138
+ if (_this.enableRtl) {
2139
+ var popupLeft = parseFloat(_this.popupWrapper.style.left) - (_this.popupWrapper.offsetWidth - _this.overAllWrapper.offsetWidth);
2140
+ _this.popupWrapper.style.left = popupLeft > 0 ? popupLeft + "px" : _this.popupWrapper.style.left;
2141
+ _this.popupWrapper.style.visibility = 'hidden';
2142
+ }
2135
2143
  if (!_this.isFirstClick) {
2136
2144
  var ulElement = _this.list.querySelector('ul');
2137
2145
  if (ulElement) {
package/.eslintrc.json DELETED
@@ -1,260 +0,0 @@
1
- {
2
- "env": {
3
- "browser": true,
4
- "es2021": true
5
- },
6
- "extends": [
7
- "eslint:recommended",
8
- "plugin:@typescript-eslint/recommended",
9
- "plugin:jsdoc/recommended",
10
- "plugin:security/recommended"
11
- ],
12
- "parser": "@typescript-eslint/parser",
13
- "parserOptions": {
14
- "ecmaFeatures": { "js": true },
15
- "ecmaVersion": 2018,
16
- "project": "./tsconfig.json",
17
- "sourceType": "module"
18
- },
19
- "plugins": [
20
- "@typescript-eslint",
21
- "@typescript-eslint/tslint",
22
- "eslint-plugin-security",
23
- "jsdoc"
24
- ],
25
- "rules": {
26
- "use-isnan": "error",
27
- "security/detect-unsafe-regex":"error",
28
- "security/detect-buffer-noassert":"error",
29
- "security/detect-child-process":"error",
30
- "security/detect-disable-mustache-escape":"error",
31
- "security/detect-eval-with-expression":"error",
32
- "security/detect-no-csrf-before-method-override":"error",
33
- "security/detect-non-literal-fs-filename":"error",
34
- "security/detect-non-literal-regexp":"error",
35
- "security/detect-non-literal-require":"error",
36
- "security/detect-object-injection":"error",
37
- "security/detect-possible-timing-attacks":"error",
38
- "security/detect-pseudoRandomBytes":"error",
39
- "security/detect-new-buffer":"error",
40
- "security/detect-bidi-characters":"error",
41
- "@typescript-eslint/no-inferrable-types": "off",
42
- "@typescript-eslint/ban-types": ["warn", {
43
- "types": {
44
- "Object": false,
45
- "object": false,
46
- "{}": false,
47
- "Function": false
48
- }
49
- }],
50
- "jsdoc/check-tag-names": 0,
51
- "@typescript-eslint/tslint/config": [
52
- "error",
53
- {
54
- "rules": {
55
- "ban": true,
56
- "chai-vague-errors": true,
57
- "max-func-body-length": [
58
- true,
59
- 120,
60
- {
61
- "ignore-parameters-to-function-regex": "describe"
62
- }
63
- ],
64
- "missing-jsdoc": true,
65
- "no-backbone-get-set-outside-model": false,
66
- "no-cookies": false,
67
- "no-delete-expression": false,
68
- "no-disable-auto-sanitization": true,
69
- "no-duplicate-case": true,
70
- "no-duplicate-parameter-names": true,
71
- "no-empty-interfaces": false,
72
- "no-exec-script": true,
73
- "no-function-expression": false,
74
- "no-multiple-var-decl": false,
75
- "no-string-based-set-immediate": false,
76
- "no-string-based-set-interval": false,
77
- "no-unnecessary-bind": false,
78
- "no-unused-imports": true,
79
- "no-with-statement": false,
80
- "prefer-array-literal": false,
81
- "typedef": [
82
- true,
83
- "call-signature",
84
- "parameter",
85
- "property-declaration",
86
- "variable-declaration",
87
- "arrow-parameter",
88
- "member-variable-declaration"
89
- ],
90
- "use-named-parameter": false,
91
- "valid-typeof": true,
92
- "whitespace": [
93
- true,
94
- "check-branch",
95
- "check-decl",
96
- "check-operator",
97
- "check-separator",
98
- "check-type"
99
- ]
100
- }
101
- }
102
- ],
103
- "no-control-regex": "error",
104
- "no-constant-condition": "error",
105
- "no-invalid-regexp": "error",
106
- "curly": "error",
107
- "eol-last": [
108
- "error",
109
- "always"
110
- ],
111
- "guard-for-in": "error",
112
- "no-labels": "error",
113
- "max-len": [
114
- "error",
115
- {
116
- "code": 140,
117
- "tabWidth": 4,
118
- "ignoreComments": true,
119
- "ignoreStrings": true,
120
- "ignoreTemplateLiterals": true,
121
- "ignoreRegExpLiterals": true
122
- }
123
- ],
124
- "no-console": [
125
- "error",
126
- {
127
- "allow": [
128
- "warn",
129
- "dir",
130
- "timeLog",
131
- "assert",
132
- "clear",
133
- "count",
134
- "countReset",
135
- "group",
136
- "groupEnd",
137
- "table",
138
- "dirxml",
139
- "error",
140
- "groupCollapsed",
141
- "Console",
142
- "profile",
143
- "profileEnd",
144
- "timeStamp",
145
- "context"
146
- ]
147
- }
148
- ],
149
- "no-redeclare": [
150
- "error",
151
- {
152
- "builtinGlobals": true
153
- }
154
- ],
155
- "@typescript-eslint/no-parameter-properties": "error",
156
- "@typescript-eslint/indent": [
157
- "error",
158
- 4,
159
- {
160
- "CallExpression": {
161
- "arguments": "first"
162
- },
163
- "FunctionDeclaration": {
164
- "parameters": "first"
165
- },
166
- "FunctionExpression": {
167
- "parameters": "first"
168
- }
169
- }
170
- ],
171
- "no-debugger": "error",
172
- "no-eval": "error",
173
- "no-extra-semi": "error",
174
- "no-throw-literal": "error",
175
- "no-fallthrough": "error",
176
- "comma-dangle": [
177
- "error",
178
- "never"
179
- ],
180
- "no-trailing-spaces": "error",
181
- "@typescript-eslint/no-unused-expressions": "error",
182
- "@typescript-eslint/no-var-requires": "error",
183
- "one-var": [
184
- "error",
185
- "never"
186
- ],
187
- "@typescript-eslint/no-explicit-any": "error",
188
- "no-cond-assign": [
189
- "error",
190
- "always"
191
- ],
192
- "@typescript-eslint/consistent-type-assertions": "off",
193
- "jsdoc/check-alignment": "error",
194
- "no-empty": "error",
195
- "quotes": [
196
- "error",
197
- "single"
198
- ],
199
- "semi": [
200
- "error",
201
- "always"
202
- ],
203
- "eqeqeq": [
204
- "error",
205
- "smart"
206
- ],
207
- "valid-typeof": [
208
- "error",
209
- {
210
- "requireStringLiterals": true
211
- }
212
- ],
213
- "camelcase": [
214
- "error",
215
- {
216
- "properties": "always",
217
- "ignoreDestructuring": true,
218
- "ignoreImports": true
219
- }
220
- ],
221
- "no-irregular-whitespace": [
222
- "error",
223
- {
224
- "skipStrings": true,
225
- "skipComments": true,
226
- "skipRegExps": true,
227
- "skipTemplates": true
228
- }
229
- ],
230
- "valid-jsdoc": [
231
- "error",
232
- {
233
- "prefer": {
234
- "arg": "param",
235
- "argument": "param",
236
- "class": "constructor",
237
- "return": "returns",
238
- "virtual": "abstract"
239
- }
240
- }
241
- ],
242
- "no-var": "error",
243
- "radix": "error"
244
- },
245
- "reportUnusedDisableDirectives": true,
246
- "overrides": [
247
- {
248
- "files": [
249
- "node_modules",
250
- "dist",
251
- "public",
252
- "coverage",
253
- "test-report"
254
- ],
255
- "rules": {
256
- "no-unused-expressions": "off"
257
- }
258
- }
259
- ]
260
- }
package/tslint.json DELETED
@@ -1,111 +0,0 @@
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
- }