nodes/packages/ui/.eslintrc.cjs
Max Richter c5a270f67a
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 1m15s
feat: migrate to svelte 5
2024-04-30 14:20:12 +02:00

32 lines
591 B
JavaScript

/** @type { import("eslint").Linter.Config } */
module.exports = {
root: true,
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:svelte/recommended',
'prettier'
],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020,
extraFileExtensions: ['.svelte']
},
env: {
browser: true,
es2017: true,
node: true
},
overrides: [
{
files: ['*.svelte'],
parser: 'svelte-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser'
}
}
]
};