Skip to content

Commit

Permalink
Fix lint in root
Browse files Browse the repository at this point in the history
  • Loading branch information
tuanchauict committed Mar 16, 2024
1 parent b4115f9 commit 7f3a125
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions monosketch-svelte/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ module.exports = {
project: './tsconfig.json',
extraFileExtensions: ['.svelte']
},
ignorePatterns: [
"vite.config.ts",
"svelte.config.js",
],
rules: {
"indent": ["error", 4, {
"SwitchCase": 1,
Expand Down
4 changes: 2 additions & 2 deletions monosketch-svelte/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ context.set(APP_CONTEXT, appContext);

window.onresize = () => {
WindowViewModel.windowSizeUpdateEventFlow.value = true;
}
};

const app = new App({
// @ts-ignore
// @ts-expect-error - Safe to ignore
target: document.getElementById('app'),
context: context,
});
Expand Down

0 comments on commit 7f3a125

Please sign in to comment.