diff --git a/.eslintrc.js b/.eslintrc.js index 25cf457..e7932c8 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -19,4 +19,10 @@ module.exports = { sourceType: 'module', }, plugins: ['@typescript-eslint', 'eslint-plugin-import'], + rules: { + quotes: ['error', 'single', { + 'avoidEscape': true, + 'allowTemplateLiterals': false + }] + } }; diff --git a/playwright.config.ts b/playwright.config.ts index 6bae8be..0a97ccc 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -3,7 +3,7 @@ import { config as dotenv } from 'dotenv'; import { defineConfig, devices } from '@playwright/test'; import { isKeyOfObject } from './src/utils/types'; -dotenv({ path: `.env.local`, override: true }); +dotenv({ path: '.env.local', override: true }); const PROJECTS_LIST = { DEV: ['Desktop Chrome'], diff --git a/tests/crosslink.test.ts b/tests/crosslink.test.ts index 426781f..13bdbd5 100644 --- a/tests/crosslink.test.ts +++ b/tests/crosslink.test.ts @@ -60,11 +60,12 @@ ${' '} }); //language=text - const codeWithMark = `fun containsEven(collection: Collection): Boolean = collection.any {[mark]TODO()[/mark]}`; + const codeWithMark = + 'fun containsEven(collection: Collection): Boolean = collection.any {[mark]TODO()[/mark]}'; checkLink(generateCrosslink(codeWithMark), { //language=kotlin - code: `fun containsEven(collection: Collection): Boolean = collection.any {TODO()}`, + code: 'fun containsEven(collection: Collection): Boolean = collection.any {TODO()}', }); });