Showing 690 of 690 total issues
Expected linebreak to be 'CRLF' Open
const elementForSelector = await getElementForSelector(page, selector);
- 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
.catch(
- 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 const getAttributeValue = async (rootElement: ElementHandle | Page, selector: string, attribute: 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
import { Browser, ElementHandle, Page } from 'puppeteer';
- 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 elementForSelector = await element.$(selector);
- 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
let elementsForSelector: ElementHandle[] | null;
- 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 const getTextContent = async (rootElement: ElementHandle | Page, selector: 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
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.