diff --git a/.github/workflows/lighthouse-comment-formatter.cjs b/.github/workflows/lighthouse-comment-formatter.cjs index de1a7eaaa..8bc310738 100644 --- a/.github/workflows/lighthouse-comment-formatter.cjs +++ b/.github/workflows/lighthouse-comment-formatter.cjs @@ -76,4 +76,4 @@ module.exports = ({ lighthouseOutputs, targetPlatform }) => { return makeComment(lighthouseOutputs, targetPlatform); }; -// from https://blog.logrocket.com/lighthouse-meets-github-actions-use-lighthouse-ci/ \ No newline at end of file +// from https://blog.logrocket.com/lighthouse-meets-github-actions-use-lighthouse-ci/ diff --git a/eslint.config.js b/eslint.config.js index fb497b5ec..b49378c2a 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -158,6 +158,8 @@ export default antfu( 'svelte/mustache-spacing': 'error', 'svelte/html-closing-bracket-spacing': 'error', 'svelte/no-reactive-reassign': ['warn', { props: false }], + 'no-unused-vars': 'warn', + 'unused-imports/no-unused-vars': 'warn', 'svelte/html-quotes': 'off', // should it enforce double quotes? 'svelte/no-at-html-tags': 'off', @@ -166,6 +168,7 @@ export default antfu( 'style/space-infix-ops': 'off', 'no-undef-init': 'off', 'no-self-assign': 'off', + 'import/no-self-import': 'off', }, }, }) diff --git a/packages/site/src/lib/components/home/SelectedDict.svelte b/packages/site/src/lib/components/home/SelectedDict.svelte index 1f7e33d51..ea1beabe8 100644 --- a/packages/site/src/lib/components/home/SelectedDict.svelte +++ b/packages/site/src/lib/components/home/SelectedDict.svelte @@ -89,6 +89,7 @@ {/if} + diff --git a/packages/site/src/routes/[dictionaryId]/history/sortedColumnStore.ts b/packages/site/src/routes/[dictionaryId]/history/sortedColumnStore.ts new file mode 100644 index 000000000..7351cfb96 --- /dev/null +++ b/packages/site/src/routes/[dictionaryId]/history/sortedColumnStore.ts @@ -0,0 +1,3 @@ +import { writable } from 'svelte/store' + +export const sortedColumn = writable('') diff --git a/supabase/migrations/20250116172250_read-content-updates.sql b/supabase/migrations/20250116172250_read-content-updates.sql new file mode 100644 index 000000000..d88c9a3bd --- /dev/null +++ b/supabase/migrations/20250116172250_read-content-updates.sql @@ -0,0 +1,4 @@ +CREATE POLICY "Can view content updates" + ON content_updates + FOR SELECT + USING (TRUE); \ No newline at end of file