mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Improve typing
Add timeZone
Add moment.MomentBuiltinFormat to format and extraFormats
Add missing widgetParent methods
Validate for strictNullChecks (date and widgetParent)
* Add tslint.json
* Correct linting errors
* Non-arrow functions are forbidden
* Error parsing header. Expected: foo MAJOR.MINOR ('v' not allowed)
* Avoid using the Function type. Prefer a specific function type, like
`() => void`.
* Exceeds maximum line length of 200
* These overloads can be combined into one signature with an optional
parameter.
* These overloads can be combined into one signature taking ...
* Fix event type for "dp.update" off
* Correct parseInputDate typing
The parseInputDate function may be called with a date or moment object
too, see: date, disabledDates, defaultDate, enabledDates, maxDate,
minDate, viewDate.
* Linting: quotemark double
Use consistent quotation mark
6 lines
111 B
JSON
6 lines
111 B
JSON
{
|
|
"extends": "../tslint.json",
|
|
"rules": {
|
|
"quotemark": [true, "double", "avoid-escape"]
|
|
}
|
|
} |