Expected linebreak to be 'CRLF' Open
this.departureTime.setMinutes(this.minutes);
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
}
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
wednesday,
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
friday,
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
}
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
[this.hour, this.minutes] = departureTime.time.split(':').map(timePart => Number(timePart));
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
return Math.floor(this.departureTime.getTime() / 1000).toString();
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
this.departureTimeString = this.getDepartureTimeString();
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
this.weekDay -
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
const currentTime = new Date().getTime();
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
thursday,
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
this.weekDay = Weekdays[departureTime.weekday];
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
this.departureTime.setHours(this.hour);
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
};
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
this.minutes = 0;
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
);
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
public getDepartureTime = () => {
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
sunday,
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
private readonly hour: number;
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
this.moveDepartureDateToTheNearestSelectedWeekday();
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
this.departureTimeString = this.getDepartureTimeString();
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
saturday,
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
this.hour = 12;
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
if (departureTime) {
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
export enum Weekdays {
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
private readonly weekDay: number;
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
private departureTimeString: string;
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
};
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
}
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
this.departureTime.getDay(),
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
};
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
this.departureTime.setDate(this.departureTime.getDate() + 7);
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
return this.departureTimeString;
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
this.weekDay = 1;
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
(this.weekDay > this.departureTime.getDay() ? 0 : 7) +
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
tuesday,
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
} else {
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
this.departureTime = new Date();
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
private readonly departureTime: Date;
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
}
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
private moveDepartureDateToTheNearestSelectedWeekday = () => {
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
this.departureTime.getDate() +
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
constructor(departureTime?: { weekday: keyof typeof Weekdays; time: string }) {
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
monday,
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
private readonly minutes: number;
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
private getDepartureTimeString = () => {
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
if (currentTime > this.departureTime.getTime()) {
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
export class DepartureTime {
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
}
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.
Expected linebreak to be 'CRLF' Open
this.departureTime.setDate(
- Read upRead up
- Exclude checks
Rule: linebreak-style
Enforces a consistent linebreak style.
Notes
- Has Fix
Config
One of the following options must be provided:
-
"LF"
requires LF (\n
) linebreaks -
"CRLF"
requires CRLF (\r\n
) linebreaks
Examples
"linebreak-style": true,LF
"linebreak-style": true,CRLF
Schema
{
"type": "string",
"enum": [
"LF",
"CRLF"
]
}
For more information see this page.