Add custom prettierrc
This commit is contained in:
parent
fd2252bdad
commit
99c2ae6e33
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"printWidth": 150,
|
||||
"tabWidth": 2,
|
||||
"useTabs": false,
|
||||
"semi": true,
|
||||
"singleQuote": false,
|
||||
"trailingComma": "all",
|
||||
"bracketSpacing": false,
|
||||
"jsxBracketSameLine": false,
|
||||
"arrowParens": "avoid",
|
||||
"requirePragma": false,
|
||||
"insertPragma": false
|
||||
}
|
|
@ -1,13 +1,13 @@
|
|||
/* fallback */
|
||||
@font-face {
|
||||
font-family: 'Material Symbols Outlined';
|
||||
font-family: "Material Symbols Outlined";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(~/assets/material-symbols.woff2) format('woff2');
|
||||
src: url(~/assets/material-symbols.woff2) format("woff2");
|
||||
}
|
||||
|
||||
@mixin mso {
|
||||
font-family: 'Material Symbols Outlined';
|
||||
font-family: "Material Symbols Outlined";
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-size: 24px;
|
||||
|
@ -18,6 +18,6 @@
|
|||
white-space: nowrap;
|
||||
word-wrap: normal;
|
||||
direction: ltr;
|
||||
-moz-font-feature-settings: 'liga';
|
||||
-moz-font-feature-settings: "liga";
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
10
src/main.ts
10
src/main.ts
|
@ -1,8 +1,8 @@
|
|||
import './app.scss'
|
||||
import App from './App.svelte'
|
||||
import "./app.scss";
|
||||
import App from "./App.svelte";
|
||||
|
||||
const app = new App({
|
||||
target: document.getElementById('app')
|
||||
})
|
||||
target: document.getElementById("app"),
|
||||
});
|
||||
|
||||
export default app
|
||||
export default app;
|
||||
|
|
|
@ -12,7 +12,7 @@ export const loginStore = writable<LoginStore>(
|
|||
} catch (_) {
|
||||
return null;
|
||||
}
|
||||
})()
|
||||
})(),
|
||||
);
|
||||
|
||||
loginStore.subscribe((value) => localStorage.setItem("login-session", JSON.stringify(value)));
|
||||
loginStore.subscribe(value => localStorage.setItem("login-session", JSON.stringify(value)));
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import sveltePreprocess from 'svelte-preprocess'
|
||||
import sveltePreprocess from "svelte-preprocess";
|
||||
|
||||
export default {
|
||||
// Consult https://github.com/sveltejs/svelte-preprocess
|
||||
// for more information about preprocessors
|
||||
preprocess: sveltePreprocess()
|
||||
}
|
||||
preprocess: sveltePreprocess(),
|
||||
};
|
||||
|
|
Reference in New Issue