Fiszcz/OLX-flats-notificator

View on GitHub

Showing 690 of 690 total issues

Expected linebreak to be 'CRLF'
Open

    const elementForSelector = await getElementForSelector(page, selector);
Severity: Minor
Found in src/utils/puppeteer.ts by tslint

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 {

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(

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) => {
Severity: Minor
Found in src/utils/puppeteer.ts by tslint

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


Severity: Minor
Found in src/utils/puppeteer.ts by tslint

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';
Severity: Minor
Found in src/utils/puppeteer.ts by tslint

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);
Severity: Minor
Found in src/utils/puppeteer.ts by tslint

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;
Severity: Minor
Found in src/utils/puppeteer.ts by tslint

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) => {
Severity: Minor
Found in src/utils/puppeteer.ts by tslint

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;
Severity: Minor
Found in src/utils/puppeteer.ts by tslint

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.

Severity
Category
Status
Source
Language