Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Jun 12, 2021
1 parent 4f52a37 commit 3848f9d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
'ts-ignore': 'allow-with-description'
}
],
'@typescript-eslint/no-unsafe-member-access': 'warn',
'@typescript-eslint/no-unsafe-assignment': 'warn'
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off'
}
};
1 change: 0 additions & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
build: yarn build
start: yarn preview
wait-on: 'http://localhost:3000'
wait-on-timeout: 120
record: true
headless: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
[ "$GITHUB_EVENT_NAME" == "pull_request" ] && export BETA=true && rm -rf docs/beta/
[ "$GITHUB_EVENT_NAME" != "pull_request" ] && rm -rf docs/_app/
yarn install
# yarn run lint
yarn run lint
version=$(yarn version --patch --no-git-tag-version | grep "New version" | cut -d':' -f 2)
yarn build
cd bin
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/actions.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import Card from '$lib/components/card/card.svelte';
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 moment from 'moment';
Expand Down
2 changes: 1 addition & 1 deletion src/routes/edit.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import type { EditorUpdateEvent, State, Tab } from '$lib/types';
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';
const languageMap = {
Expand Down
2 changes: 1 addition & 1 deletion static/service-worker.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// eslint-disable-next-line @typescript-eslint/no-empty-function
self.addEventListener('fetch', (e) => {});
self.addEventListener('fetch', () => {});

0 comments on commit 3848f9d

Please sign in to comment.