Fix lint issues

This commit is contained in:
Sidharth Vinod
2021-06-12 11:13:44 +05:30
parent 4f52a37e1d
commit 3848f9d618
6 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ module.exports = {
'ts-ignore': 'allow-with-description' 'ts-ignore': 'allow-with-description'
} }
], ],
'@typescript-eslint/no-unsafe-member-access': 'warn', '@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-assignment': 'warn' '@typescript-eslint/no-unsafe-assignment': 'off'
} }
}; };
-1
View File
@@ -34,7 +34,6 @@ jobs:
build: yarn build build: yarn build
start: yarn preview start: yarn preview
wait-on: 'http://localhost:3000' wait-on: 'http://localhost:3000'
wait-on-timeout: 120
record: true record: true
headless: true headless: true
env: env:
+1 -1
View File
@@ -33,7 +33,7 @@ jobs:
[ "$GITHUB_EVENT_NAME" == "pull_request" ] && export BETA=true && rm -rf docs/beta/ [ "$GITHUB_EVENT_NAME" == "pull_request" ] && export BETA=true && rm -rf docs/beta/
[ "$GITHUB_EVENT_NAME" != "pull_request" ] && rm -rf docs/_app/ [ "$GITHUB_EVENT_NAME" != "pull_request" ] && rm -rf docs/_app/
yarn install yarn install
# yarn run lint yarn run lint
version=$(yarn version --patch --no-git-tag-version | grep "New version" | cut -d':' -f 2) version=$(yarn version --patch --no-git-tag-version | grep "New version" | cut -d':' -f 2)
yarn build yarn build
cd bin cd bin
+1 -1
View File
@@ -1,7 +1,7 @@
<script lang="ts"> <script lang="ts">
import Card from '$lib/components/card/card.svelte'; import Card from '$lib/components/card/card.svelte';
import type { State } from '$lib/types'; import type { State } from '$lib/types';
import { base64State, codeStore } from '$lib/util/state'; import { codeStore } from '$lib/util/state';
import { toBase64 } from 'js-base64'; import { toBase64 } from 'js-base64';
import moment from 'moment'; import moment from 'moment';
+1 -1
View File
@@ -15,7 +15,7 @@
import type { EditorUpdateEvent, State, Tab } from '$lib/types'; import type { EditorUpdateEvent, State, Tab } from '$lib/types';
import { base } from '$app/paths'; import { base } from '$app/paths';
const mermaid: Mermaid = (window.mermaid as unknown) as Mermaid; const mermaid: Mermaid = window.mermaid as unknown as Mermaid;
let selectedMode = 'code'; let selectedMode = 'code';
const languageMap = { const languageMap = {
+1 -1
View File
@@ -1,2 +1,2 @@
// eslint-disable-next-line @typescript-eslint/no-empty-function // eslint-disable-next-line @typescript-eslint/no-empty-function
self.addEventListener('fetch', (e) => {}); self.addEventListener('fetch', () => {});