your personal website on atproto - mirror blento.app
25
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 63 lines 1.3 kB view raw
1import prettier from 'eslint-config-prettier'; 2import js from '@eslint/js'; 3import { includeIgnoreFile } from '@eslint/compat'; 4import svelte from 'eslint-plugin-svelte'; 5import globals from 'globals'; 6import { fileURLToPath } from 'node:url'; 7import ts from 'typescript-eslint'; 8const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url)); 9 10export default [ 11 includeIgnoreFile(gitignorePath), 12 { ignores: ['src/lexicon-types/**', 'lexicons-generated/**'] }, 13 js.configs.recommended, 14 ...ts.configs.recommended, 15 ...svelte.configs['flat/recommended'], 16 prettier, 17 ...svelte.configs['flat/prettier'], 18 { 19 languageOptions: { 20 globals: { 21 ...globals.browser, 22 ...globals.node 23 } 24 } 25 }, 26 { 27 files: ['**/*.svelte'], 28 29 languageOptions: { 30 parserOptions: { 31 parser: ts.parser 32 } 33 } 34 }, 35 { 36 files: ['**/*.svelte.ts'], 37 38 languageOptions: { 39 parser: ts.parser 40 } 41 }, 42 { 43 rules: { 44 'svelte/no-navigation-without-resolve': 'off', 45 'svelte/no-at-html-tags': 'off', 46 '@typescript-eslint/no-explicit-any': 'off', 47 'no-unused-vars': 'off', 48 'no-useless-assignment': 'off', 49 '@typescript-eslint/no-unused-vars': [ 50 'warn', 51 { 52 vars: 'all', 53 varsIgnorePattern: '.*', 54 args: 'none', 55 caughtErrors: 'none', 56 enableAutofixRemoval: { 57 imports: true 58 } 59 } 60 ] 61 } 62 } 63];