Fiszcz/OLX-flats-notificator

View on GitHub
src/index.ts

Summary

Maintainability
A
0 mins
Test Coverage

Expected linebreak to be 'CRLF'
Open

        appConfig.emailPassword = await inquirer
Severity: Minor
Found in src/index.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

    const browser = await puppeteer.launch();
Severity: Minor
Found in src/index.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 index = async () => {
Severity: Minor
Found in src/index.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/index.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

                name: 'emailPassword',
Severity: Minor
Found in src/index.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/index.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/index.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 { OLXNotifier } from './OLXNotifier';
Severity: Minor
Found in src/index.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/index.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

const appConfig = require('../config/config.json');
Severity: Minor
Found in src/index.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

    while (Boolean(appConfig.emailPassword) === false) {
Severity: Minor
Found in src/index.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/index.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

        setInterval(olxNotifier.examineAdvertisements, appConfig.checkInterval * 60000);
Severity: Minor
Found in src/index.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 inquirer from 'inquirer';
Severity: Minor
Found in src/index.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

        const olxNotifier = new OLXNotifier(browser, await browser.newPage(), filterUrl, appConfig);
Severity: Minor
Found in src/index.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/index.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/index.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

    for (const filterUrl of appConfig.filterUrls) {
Severity: Minor
Found in src/index.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

            .then(answer => answer.emailPassword);
Severity: Minor
Found in src/index.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/index.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

                message: 'Enter your email password: ',
Severity: Minor
Found in src/index.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/index.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/index.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

index();
Severity: Minor
Found in src/index.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 puppeteer from 'puppeteer';
Severity: Minor
Found in src/index.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

            .prompt({
Severity: Minor
Found in src/index.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

                type: 'password',
Severity: Minor
Found in src/index.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.

There are no issues that match your filters.

Category
Status