Monorepo for Tangled tangled.org
1

Configure Feed

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

core / web / eslint.config.js
921 B 38 lines
1import prettier from 'eslint-config-prettier'; 2import path from 'node:path'; 3import js from '@eslint/js'; 4import svelte from 'eslint-plugin-svelte'; 5import { defineConfig, includeIgnoreFile } from 'eslint/config'; 6import globals from 'globals'; 7import ts from 'typescript-eslint'; 8 9const gitignorePath = path.resolve(import.meta.dirname, '.gitignore'); 10 11export default defineConfig( 12 includeIgnoreFile(gitignorePath), 13 js.configs.recommended, 14 ts.configs.recommended, 15 svelte.configs.recommended, 16 prettier, 17 svelte.configs.prettier, 18 { 19 languageOptions: { globals: { ...globals.browser, ...globals.node } }, 20 rules: { 21 // typescript owns undefined-name checks. 22 'no-undef': 'off' 23 } 24 }, 25 { 26 files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'], 27 languageOptions: { 28 parserOptions: { 29 projectService: true, 30 extraFileExtensions: ['.svelte'], 31 parser: ts.parser 32 } 33 } 34 }, 35 { 36 rules: {} 37 } 38);