Expected linebreak to be 'CRLF' Open
export const composeEmailMessages = (emailMessages: EmailMessageInterface[], title: string): EmailMessageInterface => {
- 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
} as EmailMessageInterface;
- 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
attachments,
- 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 composedEmailMessage + emailMessage.message;
- 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
const composedMessage = emailMessages.reduce((composedEmailMessage: string, emailMessage: EmailMessageInterface) => {
- 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 attachments = emailMessages.flatMap(emailMessage => emailMessage.attachments);
- 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
message: composedMessage,
- 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
subject: title,
- 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 {
- 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
import { EmailMessageInterface } from './EmailMessage';
- 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.