@syncfusion/ej2-calendars 29.2.10 → 30.1.37

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 : 29.2.10
3
+ * version : 30.1.37
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-calendars",
3
- "version": "29.2.10",
3
+ "version": "30.1.37",
4
4
  "description": "A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization.",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -8,11 +8,11 @@
8
8
  "module": "./index.js",
9
9
  "es2015": "./dist/es6/ej2-calendars.es5.js",
10
10
  "dependencies": {
11
- "@syncfusion/ej2-base": "~29.2.4",
12
- "@syncfusion/ej2-buttons": "~29.2.5",
13
- "@syncfusion/ej2-inputs": "~29.2.5",
14
- "@syncfusion/ej2-lists": "~29.2.4",
15
- "@syncfusion/ej2-popups": "~29.2.8"
11
+ "@syncfusion/ej2-base": "~30.1.37",
12
+ "@syncfusion/ej2-buttons": "~30.1.37",
13
+ "@syncfusion/ej2-inputs": "~30.1.37",
14
+ "@syncfusion/ej2-lists": "~30.1.37",
15
+ "@syncfusion/ej2-popups": "~30.1.37"
16
16
  },
17
17
  "devDependencies": {},
18
18
  "keywords": [
@@ -100,10 +100,10 @@ var CalendarBase = /** @class */ (function (_super) {
100
100
  this.calendarEleCopy = this.element.cloneNode(true);
101
101
  if (this.calendarMode === 'Islamic') {
102
102
  if (+(this.min.setSeconds(0)) === +new Date(1900, 0, 1, 0, 0, 0)) {
103
- this.min = new Date(1944, 2, 18);
103
+ this.min = new Date(1941, 12, 18);
104
104
  }
105
105
  if (+this.max === +new Date(2099, 11, 31)) {
106
- this.max = new Date(2069, 10, 16);
106
+ this.max = new Date(2068, 2, 4);
107
107
  }
108
108
  }
109
109
  this.globalize = new Internationalization(this.locale);
@@ -1966,10 +1966,10 @@ var CalendarBase = /** @class */ (function (_super) {
1966
1966
  }
1967
1967
  else {
1968
1968
  var islamicDate = this.islamicModule.getIslamicDate(date);
1969
- return islamicDate.month >= (this.islamicModule.getIslamicDate(new Date(1944, 1, 18))).month
1970
- && islamicDate.year >= (this.islamicModule.getIslamicDate(new Date(1944, 1, 18))).year
1971
- && islamicDate.month <= (this.islamicModule.getIslamicDate(new Date(2069, 1, 16))).month
1972
- && islamicDate.year <= (this.islamicModule.getIslamicDate(new Date(2069, 1, 16))).year;
1969
+ return (islamicDate.month >= (this.islamicModule.getIslamicDate(new Date(1941, 12, 18))).month)
1970
+ && islamicDate.year >= (this.islamicModule.getIslamicDate(new Date(1941, 12, 18))).year
1971
+ && islamicDate.month <= (this.islamicModule.getIslamicDate(new Date(2068, 2, 4))).month
1972
+ && islamicDate.year <= (this.islamicModule.getIslamicDate(new Date(2068, 2, 4))).year;
1973
1973
  }
1974
1974
  };
1975
1975
  CalendarBase.prototype.compareYear = function (start, end) {
@@ -23,7 +23,7 @@ var TODAY = 'e-today';
23
23
  var LINK = 'e-day';
24
24
  var CELL = 'e-cell';
25
25
  var dayMilliSeconds = 86400000;
26
- var minDecade = 2060;
26
+ var minDecade = 2058;
27
27
  var maxDecade = 2069;
28
28
  var Islamic = /** @class */ (function () {
29
29
  function Islamic(instance) {
@@ -297,9 +297,21 @@ var Islamic = /** @class */ (function () {
297
297
  var endFullYr = endYr.getFullYear();
298
298
  var startHdrYr = this.calendarInstance.globalize.formatDate(startYr, { type: 'dateTime', format: 'y', calendar: 'islamic' });
299
299
  var endHdrYr = this.calendarInstance.globalize.formatDate(endYr, { type: 'dateTime', format: 'y', calendar: 'islamic' });
300
+ if (islamicDate.year % 10 === 1) {
301
+ startHdrYr = islamicDate.year;
302
+ endHdrYr = islamicDate.year + 9;
303
+ }
304
+ else if (islamicDate.year % 10 > 1) {
305
+ startHdrYr = islamicDate.year - ((islamicDate.year % 10) - 1);
306
+ endHdrYr = startHdrYr + 9;
307
+ }
308
+ else if (islamicDate.year % 10 === 0) {
309
+ startHdrYr = islamicDate.year - 9;
310
+ endHdrYr = islamicDate.year;
311
+ }
300
312
  if (this.calendarInstance.locale === 'ar') {
301
- startHdrYr = Number(startHdrYr.replace(/[٠١٢٣٤٥٦٧٨٩]/g, function (d) { return String.fromCharCode(d.charCodeAt(0) - 1632 + 48); }));
302
- endHdrYr = Number(endHdrYr.replace(/[٠١٢٣٤٥٦٧٨٩]/g, function (d) { return String.fromCharCode(d.charCodeAt(0) - 1632 + 48); }));
313
+ startHdrYr = Number(startHdrYr.toString().replace(/[٠١٢٣٤٥٦٧٨٩]/g, function (d) { return String.fromCharCode(d.charCodeAt(0) - 1632 + 48); }));
314
+ endHdrYr = Number(endHdrYr.toString().replace(/[٠١٢٣٤٥٦٧٨٩]/g, function (d) { return String.fromCharCode(d.charCodeAt(0) - 1632 + 48); }));
303
315
  }
304
316
  var splityear = this.calendarInstance.headerElement.textContent.split('-');
305
317
  if ((!isNullOrUndefined(e) && (splityear[0] !== startHdrYr) && e.action === 'home') ||
@@ -398,6 +410,10 @@ var Islamic = /** @class */ (function () {
398
410
  if (islamicDate.year === parseInt(startHdrYr, 10) - 1 || (year_1 < startFullYr) ||
399
411
  (year_1 > endFullYr) && islamicDate.year !== parseInt(endHdrYr, 10)) {
400
412
  addClass([tdEle], OTHERMONTH);
413
+ if (year_1 <= new Date(this.islamicInValue(this.calendarInstance.min)).getFullYear()
414
+ || year_1 >= new Date(this.islamicInValue(this.calendarInstance.max)).getFullYear()) {
415
+ addClass([tdEle], DISABLED);
416
+ }
401
417
  }
402
418
  else if (year_1 < new Date(this.islamicInValue(this.calendarInstance.min)).getFullYear()
403
419
  || year_1 > new Date(this.islamicInValue(this.calendarInstance.max)).getFullYear()) {
@@ -409,7 +425,7 @@ var Islamic = /** @class */ (function () {
409
425
  addClass([tdEle], SELECTED);
410
426
  }
411
427
  else {
412
- if (localDate.getFullYear() === this.calendarInstance.currentDate.getFullYear() &&
428
+ if (this.getIslamicDate(localDate).year === this.getIslamicDate(this.calendarInstance.currentDate).year &&
413
429
  !tdEle.classList.contains(DISABLED)) {
414
430
  addClass([tdEle], FOCUSEDDATE);
415
431
  }
@@ -396,6 +396,14 @@ export interface DateRangePickerModel extends CalendarBaseModel{
396
396
  */
397
397
  format?: string | RangeFormatObject;
398
398
 
399
+ /**
400
+ * Specifies an array of acceptable date input formats for parsing user input.
401
+ *
402
+ * @default null
403
+ * @aspType string[]
404
+ */
405
+ inputFormats?: string[] | RangeFormatObject[];
406
+
399
407
  /**
400
408
  * Specifies the component to be disabled which prevents the DateRangePicker from user interactions.
401
409
  *
@@ -164,6 +164,7 @@ export declare class DateRangePicker extends CalendarBase {
164
164
  private endCopy;
165
165
  private formElement;
166
166
  private formatString;
167
+ private inputFormatsString;
167
168
  protected tabIndex: string;
168
169
  private invalidValueString;
169
170
  private dateRangeOptions;
@@ -509,6 +510,13 @@ export declare class DateRangePicker extends CalendarBase {
509
510
  * @default null
510
511
  */
511
512
  format: string | RangeFormatObject;
513
+ /**
514
+ * Specifies an array of acceptable date input formats for parsing user input.
515
+ *
516
+ * @default null
517
+ * @aspType string[]
518
+ */
519
+ inputFormats: string[] | RangeFormatObject[];
512
520
  /**
513
521
  * Specifies the component to be disabled which prevents the DateRangePicker from user interactions.
514
522
  *
@@ -614,6 +622,7 @@ export declare class DateRangePicker extends CalendarBase {
614
622
  private updateValue;
615
623
  private initProperty;
616
624
  protected checkFormat(): void;
625
+ protected checkInputFormats(): void;
617
626
  private initialize;
618
627
  private setDataAttribute;
619
628
  private setRangeAllowEdit;
@@ -234,6 +234,9 @@ var DateRangePicker = /** @class */ (function (_super) {
234
234
  this.value = [new Date(rangeArray[0]), new Date(rangeArray[1])];
235
235
  }
236
236
  this.initProperty();
237
+ if (this.inputFormats) {
238
+ this.checkInputFormats();
239
+ }
237
240
  this.tabIndex = this.element.hasAttribute('tabindex') ? this.element.getAttribute('tabindex') : '0';
238
241
  this.element.removeAttribute('tabindex');
239
242
  _super.prototype.preRender.call(this);
@@ -347,6 +350,31 @@ var DateRangePicker = /** @class */ (function (_super) {
347
350
  this.formatString = null;
348
351
  }
349
352
  };
353
+ DateRangePicker.prototype.checkInputFormats = function () {
354
+ this.inputFormatsString = [];
355
+ if (this.inputFormats) {
356
+ for (var _i = 0, _a = this.inputFormats; _i < _a.length; _i++) {
357
+ var format = _a[_i];
358
+ var formatString = '';
359
+ if (typeof format === 'string') {
360
+ formatString = format;
361
+ }
362
+ else if (format.skeleton !== '' && !isNullOrUndefined(format.skeleton)) {
363
+ var skeletonString = format.skeleton;
364
+ formatString = this.globalize.getDatePattern({ skeleton: skeletonString, type: 'date' });
365
+ }
366
+ if (formatString) {
367
+ this.inputFormatsString.push(formatString);
368
+ }
369
+ }
370
+ if (this.inputFormatsString.length === 0) {
371
+ this.inputFormatsString = null;
372
+ }
373
+ }
374
+ else {
375
+ this.inputFormatsString = null;
376
+ }
377
+ };
350
378
  DateRangePicker.prototype.initialize = function () {
351
379
  if (this.angularTag !== null) {
352
380
  this.validationAttribute(this.element, this.inputElement);
@@ -990,6 +1018,24 @@ var DateRangePicker = /** @class */ (function (_super) {
990
1018
  endDate = this.max;
991
1019
  }
992
1020
  }
1021
+ if (((isNullOrUndefined(startDate) || (typeof (startDate) === 'object' && isNaN(startDate.getTime()))
1022
+ || isNullOrUndefined(endDate)) || (typeof (endDate) === 'object' && isNaN(endDate.getTime())))
1023
+ && !isNullOrUndefined(this.inputFormatsString)) {
1024
+ for (var _i = 0, _a = this.inputFormatsString; _i < _a.length; _i++) {
1025
+ var format = _a[_i];
1026
+ var inputFormatOptions = { format: format, type: 'date', skeleton: 'yMd' };
1027
+ if (isNullOrUndefined(startDate) || (typeof (startDate) === 'object' && isNaN(startDate.getTime()))) {
1028
+ startDate = this.globalize.parseDate(this.getAmPmValue(range[0]).trim(), inputFormatOptions);
1029
+ }
1030
+ if (isNullOrUndefined(endDate) || (typeof (endDate) === 'object' && isNaN(endDate.getTime()))) {
1031
+ endDate = this.globalize.parseDate(this.getAmPmValue(range[1]).trim(), inputFormatOptions);
1032
+ }
1033
+ if (!isNullOrUndefined(startDate) && startDate instanceof Date && !isNaN(startDate.getTime())
1034
+ && !isNullOrUndefined(endDate) && endDate instanceof Date && !isNaN(endDate.getTime())) {
1035
+ break;
1036
+ }
1037
+ }
1038
+ }
993
1039
  if (!isNullOrUndefined(startDate) && !isNaN(+startDate) && !isNullOrUndefined(endDate) && !isNaN(+endDate)) {
994
1040
  var prevStartVal = this.startValue;
995
1041
  this.startValue = startDate;
@@ -4430,6 +4476,9 @@ var DateRangePicker = /** @class */ (function (_super) {
4430
4476
  this.updateInput();
4431
4477
  this.changeTrigger();
4432
4478
  break;
4479
+ case 'inputFormats':
4480
+ this.checkInputFormats();
4481
+ break;
4433
4482
  case 'locale':
4434
4483
  this.globalize = new Internationalization(this.locale);
4435
4484
  this.l10n.setLocale(this.locale);
@@ -4695,6 +4744,9 @@ var DateRangePicker = /** @class */ (function (_super) {
4695
4744
  __decorate([
4696
4745
  Property(null)
4697
4746
  ], DateRangePicker.prototype, "format", void 0);
4747
+ __decorate([
4748
+ Property(null)
4749
+ ], DateRangePicker.prototype, "inputFormats", void 0);
4698
4750
  __decorate([
4699
4751
  Property(true)
4700
4752
  ], DateRangePicker.prototype, "enabled", void 0);
@@ -252,6 +252,12 @@
252
252
  }
253
253
  }
254
254
 
255
+ .e-calendar .e-date-icon-prev {
256
+ @if $skin-name =='tailwind3' {
257
+ transform: scale(1.1);
258
+ }
259
+ }
260
+
255
261
  //normal style
256
262
  #{&}.e-calendar {
257
263
  @if ($skin-name != 'Material3' and $skin-name != 'fluent2') {
@@ -208,6 +208,11 @@ ejs-calendar {
208
208
  text-transform: uppercase;
209
209
  }
210
210
 
211
+ .e-calendar .e-date-icon-prev {
212
+ -webkit-transform: scale(1.1);
213
+ transform: scale(1.1);
214
+ }
215
+
211
216
  .e-calendar {
212
217
  border-spacing: 0;
213
218
  max-width: 242px;
@@ -208,6 +208,11 @@ ejs-calendar {
208
208
  text-transform: uppercase;
209
209
  }
210
210
 
211
+ .e-calendar .e-date-icon-prev {
212
+ -webkit-transform: scale(1.1);
213
+ transform: scale(1.1);
214
+ }
215
+
211
216
  .e-calendar {
212
217
  border-spacing: 0;
213
218
  max-width: 242px;
@@ -208,6 +208,11 @@ ejs-calendar {
208
208
  text-transform: uppercase;
209
209
  }
210
210
 
211
+ .e-calendar .e-date-icon-prev {
212
+ -webkit-transform: scale(1.1);
213
+ transform: scale(1.1);
214
+ }
215
+
211
216
  .e-calendar {
212
217
  border-spacing: 0;
213
218
  max-width: 242px;
package/.eslintrc.json DELETED
@@ -1,261 +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
- "ignorePatterns": ["*.d.ts", "*.js"],
20
- "plugins": [
21
- "@typescript-eslint",
22
- "@typescript-eslint/tslint",
23
- "eslint-plugin-security",
24
- "jsdoc"
25
- ],
26
- "rules": {
27
- "use-isnan": "error",
28
- "security/detect-unsafe-regex":"error",
29
- "security/detect-buffer-noassert":"error",
30
- "security/detect-child-process":"error",
31
- "security/detect-disable-mustache-escape":"error",
32
- "security/detect-eval-with-expression":"error",
33
- "security/detect-no-csrf-before-method-override":"error",
34
- "security/detect-non-literal-fs-filename":"error",
35
- "security/detect-non-literal-regexp":"error",
36
- "security/detect-non-literal-require":"error",
37
- "security/detect-object-injection":"error",
38
- "security/detect-possible-timing-attacks":"error",
39
- "security/detect-pseudoRandomBytes":"error",
40
- "security/detect-new-buffer":"error",
41
- "security/detect-bidi-characters":"error",
42
- "@typescript-eslint/no-inferrable-types": "off",
43
- "@typescript-eslint/ban-types": ["warn", {
44
- "types": {
45
- "Object": false,
46
- "object": false,
47
- "{}": false,
48
- "Function": false
49
- }
50
- }],
51
- "jsdoc/check-tag-names": 0,
52
- "@typescript-eslint/tslint/config": [
53
- "error",
54
- {
55
- "rules": {
56
- "ban": true,
57
- "chai-vague-errors": true,
58
- "max-func-body-length": [
59
- true,
60
- 120,
61
- {
62
- "ignore-parameters-to-function-regex": "describe"
63
- }
64
- ],
65
- "missing-jsdoc": true,
66
- "no-backbone-get-set-outside-model": false,
67
- "no-cookies": false,
68
- "no-delete-expression": false,
69
- "no-disable-auto-sanitization": true,
70
- "no-duplicate-case": true,
71
- "no-duplicate-parameter-names": true,
72
- "no-empty-interfaces": false,
73
- "no-exec-script": true,
74
- "no-function-expression": false,
75
- "no-multiple-var-decl": false,
76
- "no-string-based-set-immediate": false,
77
- "no-string-based-set-interval": false,
78
- "no-unnecessary-bind": false,
79
- "no-unused-imports": true,
80
- "no-with-statement": false,
81
- "prefer-array-literal": false,
82
- "typedef": [
83
- true,
84
- "call-signature",
85
- "parameter",
86
- "property-declaration",
87
- "variable-declaration",
88
- "arrow-parameter",
89
- "member-variable-declaration"
90
- ],
91
- "use-named-parameter": false,
92
- "valid-typeof": true,
93
- "whitespace": [
94
- true,
95
- "check-branch",
96
- "check-decl",
97
- "check-operator",
98
- "check-separator",
99
- "check-type"
100
- ]
101
- }
102
- }
103
- ],
104
- "no-control-regex": "error",
105
- "no-constant-condition": "error",
106
- "no-invalid-regexp": "error",
107
- "curly": "error",
108
- "eol-last": [
109
- "error",
110
- "always"
111
- ],
112
- "guard-for-in": "error",
113
- "no-labels": "error",
114
- "max-len": [
115
- "error",
116
- {
117
- "code": 140,
118
- "tabWidth": 4,
119
- "ignoreComments": true,
120
- "ignoreStrings": true,
121
- "ignoreTemplateLiterals": true,
122
- "ignoreRegExpLiterals": true
123
- }
124
- ],
125
- "no-console": [
126
- "error",
127
- {
128
- "allow": [
129
- "warn",
130
- "dir",
131
- "timeLog",
132
- "assert",
133
- "clear",
134
- "count",
135
- "countReset",
136
- "group",
137
- "groupEnd",
138
- "table",
139
- "dirxml",
140
- "error",
141
- "groupCollapsed",
142
- "Console",
143
- "profile",
144
- "profileEnd",
145
- "timeStamp",
146
- "context"
147
- ]
148
- }
149
- ],
150
- "no-redeclare": [
151
- "error",
152
- {
153
- "builtinGlobals": true
154
- }
155
- ],
156
- "@typescript-eslint/no-parameter-properties": "error",
157
- "@typescript-eslint/indent": [
158
- "error",
159
- 4,
160
- {
161
- "CallExpression": {
162
- "arguments": "first"
163
- },
164
- "FunctionDeclaration": {
165
- "parameters": "first"
166
- },
167
- "FunctionExpression": {
168
- "parameters": "first"
169
- }
170
- }
171
- ],
172
- "no-debugger": "error",
173
- "no-eval": "error",
174
- "no-extra-semi": "error",
175
- "no-throw-literal": "error",
176
- "no-fallthrough": "error",
177
- "comma-dangle": [
178
- "error",
179
- "never"
180
- ],
181
- "no-trailing-spaces": "error",
182
- "@typescript-eslint/no-unused-expressions": "error",
183
- "@typescript-eslint/no-var-requires": "error",
184
- "one-var": [
185
- "error",
186
- "never"
187
- ],
188
- "@typescript-eslint/no-explicit-any": "warn",
189
- "no-cond-assign": [
190
- "error",
191
- "always"
192
- ],
193
- "@typescript-eslint/consistent-type-assertions": "off",
194
- "jsdoc/check-alignment": "error",
195
- "no-empty": "error",
196
- "quotes": [
197
- "error",
198
- "single"
199
- ],
200
- "semi": [
201
- "error",
202
- "always"
203
- ],
204
- "eqeqeq": [
205
- "error",
206
- "smart"
207
- ],
208
- "valid-typeof": [
209
- "error",
210
- {
211
- "requireStringLiterals": true
212
- }
213
- ],
214
- "camelcase": [
215
- "error",
216
- {
217
- "properties": "always",
218
- "ignoreDestructuring": true,
219
- "ignoreImports": true
220
- }
221
- ],
222
- "no-irregular-whitespace": [
223
- "error",
224
- {
225
- "skipStrings": true,
226
- "skipComments": true,
227
- "skipRegExps": true,
228
- "skipTemplates": true
229
- }
230
- ],
231
- "valid-jsdoc": [
232
- "error",
233
- {
234
- "prefer": {
235
- "arg": "param",
236
- "argument": "param",
237
- "class": "constructor",
238
- "return": "returns",
239
- "virtual": "abstract"
240
- }
241
- }
242
- ],
243
- "no-var": "error",
244
- "radix": "error"
245
- },
246
- "reportUnusedDisableDirectives": true,
247
- "overrides": [
248
- {
249
- "files": [
250
- "node_modules",
251
- "dist",
252
- "public",
253
- "coverage",
254
- "test-report"
255
- ],
256
- "rules": {
257
- "no-unused-expressions": "off"
258
- }
259
- }
260
- ]
261
- }
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
- }