Fix lint issues
This commit is contained in:
+2
-2
@@ -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'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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,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';
|
||||||
|
|
||||||
|
|||||||
@@ -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,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', () => {});
|
||||||
|
|||||||
Reference in New Issue
Block a user