mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:21:09 +02:00
fix lint
This commit is contained in:
parent
16cb8e753b
commit
e9caa4a217
46 changed files with 1784 additions and 728 deletions
|
|
@ -1,11 +0,0 @@
|
|||
// @ts-check
|
||||
import { baseConfig, typescriptConfig, prettierConfig } from '@manacore/eslint-config';
|
||||
|
||||
export default [
|
||||
{
|
||||
ignores: ['dist/**', '.astro/**', 'node_modules/**'],
|
||||
},
|
||||
...baseConfig,
|
||||
...typescriptConfig,
|
||||
...prettierConfig,
|
||||
];
|
||||
|
|
@ -12,7 +12,7 @@ export interface Toast {
|
|||
function createToastStore() {
|
||||
const { subscribe, update } = writable<Toast[]>([]);
|
||||
|
||||
function addToast(message: string, type: ToastType = 'info', duration: number = 3000) {
|
||||
function addToast(message: string, type: ToastType = 'info', duration = 3000) {
|
||||
const id = `toast-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
|
||||
|
||||
const toast: Toast = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue