// SPDX-FileCopyrightText: 2023 Pere Lev // // SPDX-License-Identifier: AGPL-3.0-or-later module.exports = { root: true, parser: '@typescript-eslint/parser', extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier', 'plugin:svelte/recommended' ], plugins: ['@typescript-eslint'], ignorePatterns: ['*.cjs'], overrides: [{ files: ['*.svelte'], parser: 'svelte-eslint-parser' }], settings: { 'svelte3/typescript': () => require('typescript') }, parserOptions: { sourceType: 'module', ecmaVersion: 2023 }, env: { browser: true, es2023: true, node: true } };