Client side atproto account migrator in your web browser, along with services for backups and adversarial migrations. pdsmoover.com
pds atproto migrations moo cow
at main 43 lines 1.4 kB view raw
1import {fileURLToPath} from 'node:url'; 2import {includeIgnoreFile} from '@eslint/compat'; 3import js from '@eslint/js'; 4import svelte from 'eslint-plugin-svelte'; 5import {defineConfig} from 'eslint/config'; 6import globals from 'globals'; 7import ts from 'typescript-eslint'; 8import svelteConfig from './svelte.config.js'; 9 10const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url)); 11 12export default defineConfig( 13 includeIgnoreFile(gitignorePath), 14 js.configs.recommended, 15 ...ts.configs.recommended, 16 ...svelte.configs.recommended, 17 { 18 languageOptions: { 19 globals: {...globals.browser, ...globals.node} 20 }, 21 rules: { // typescript-eslint strongly recommend that you do not use the no-undef lint rule on TypeScript projects. 22 // see: https://typescript-eslint.io/troubleshooting/faqs/eslint/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors 23 'no-undef': 'off', 24 'quotes': ['error', 'single'], 25 26 } 27 }, 28 { 29 files: [ 30 '**/*.svelte', 31 '**/*.svelte.ts', 32 '**/*.svelte.js' 33 ], 34 languageOptions: { 35 parserOptions: { 36 projectService: true, 37 extraFileExtensions: ['.svelte'], 38 parser: ts.parser, 39 svelteConfig 40 } 41 } 42 } 43);