You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
/** * Singular representation of date time input field values * @param {Date} dateValue Date value * @param {Date} timeValue Time value */exportclassDateTimeResult{constructor(privatedateValue: Date,privatetimeValue: Date){}
....}
with tslint.json configuration:
tslint:recommended
Actual behavior
ERROR: src/dateRangePicker/dateTimeResult.ts[1, 6]: asterisks in jsdoc must be aligned
ERROR: src/dateRangePicker/dateTimeResult.ts[2, 59]: asterisks in jsdoc must be aligned
ERROR: src/dateRangePicker/dateTimeResult.ts[3, 37]: asterisks in jsdoc must be aligned
ERROR: src/dateRangePicker/dateTimeResult.ts[4, 36]: asterisks in jsdoc must be aligned
Expected behavior
No JsDoc error
Workaround
Add a blank line at the top of the file.
The text was updated successfully, but these errors were encountered:
@ajafff Yes, I am using VS 2015, which saves this with BOM by default. Either way, i think TSLint should ignore BOM characters when checking any rules.
Bug Report
TypeScript code being linted
with
tslint.json
configuration:tslint:recommended
Actual behavior
ERROR: src/dateRangePicker/dateTimeResult.ts[1, 6]: asterisks in jsdoc must be aligned
ERROR: src/dateRangePicker/dateTimeResult.ts[2, 59]: asterisks in jsdoc must be aligned
ERROR: src/dateRangePicker/dateTimeResult.ts[3, 37]: asterisks in jsdoc must be aligned
ERROR: src/dateRangePicker/dateTimeResult.ts[4, 36]: asterisks in jsdoc must be aligned
Expected behavior
No JsDoc error
Workaround
Add a blank line at the top of the file.
The text was updated successfully, but these errors were encountered: