Skip to content

Commit

Permalink
chore; fix differences in lint and fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zoobestik committed Nov 1, 2023
1 parent 6f5e5c9 commit ceda3c1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,10 @@ module.exports = {
sourceType: 'module',
},
plugins: ['@typescript-eslint', 'eslint-plugin-import'],
rules: {
quotes: ['error', 'single', {
'avoidEscape': true,
'allowTemplateLiterals': false
}]
}
};
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
5 changes: 3 additions & 2 deletions tests/crosslink.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,12 @@ ${' '}
});

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

checkLink(generateCrosslink(codeWithMark), {
//language=kotlin
code: `fun containsEven(collection: Collection<Int>): Boolean = collection.any {TODO()}`,
code: 'fun containsEven(collection: Collection<Int>): Boolean = collection.any {TODO()}',
});
});

Expand Down

0 comments on commit ceda3c1

Please sign in to comment.