Skip to content

Commit ceda3c1

Browse files
committed
chore; fix differences in lint and fix
1 parent 6f5e5c9 commit ceda3c1

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.eslintrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,10 @@ module.exports = {
1919
sourceType: 'module',
2020
},
2121
plugins: ['@typescript-eslint', 'eslint-plugin-import'],
22+
rules: {
23+
quotes: ['error', 'single', {
24+
'avoidEscape': true,
25+
'allowTemplateLiterals': false
26+
}]
27+
}
2228
};

playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { config as dotenv } from 'dotenv';
33
import { defineConfig, devices } from '@playwright/test';
44
import { isKeyOfObject } from './src/utils/types';
55

6-
dotenv({ path: `.env.local`, override: true });
6+
dotenv({ path: '.env.local', override: true });
77

88
const PROJECTS_LIST = {
99
DEV: ['Desktop Chrome'],

tests/crosslink.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,12 @@ ${' '}
6060
});
6161

6262
//language=text
63-
const codeWithMark = `fun containsEven(collection: Collection<Int>): Boolean = collection.any {[mark]TODO()[/mark]}`;
63+
const codeWithMark =
64+
'fun containsEven(collection: Collection<Int>): Boolean = collection.any {[mark]TODO()[/mark]}';
6465

6566
checkLink(generateCrosslink(codeWithMark), {
6667
//language=kotlin
67-
code: `fun containsEven(collection: Collection<Int>): Boolean = collection.any {TODO()}`,
68+
code: 'fun containsEven(collection: Collection<Int>): Boolean = collection.any {TODO()}',
6869
});
6970
});
7071

0 commit comments

Comments
 (0)