test-card/.eslintrc.cjs
Tomáš Mládek 9d6fb10683 chore: update eslint config
we still have tons of lints to fix though
2025-09-27 13:50:36 +02:00

33 lines
665 B
JavaScript

/** @type { import("eslint").Linter.Config } */
module.exports = {
ignorePatterns: ['av-sync/**', '**/*.js'],
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'],
project: './tsconfig.json'
},
env: {
browser: true,
es2017: true,
node: true
},
overrides: [
{
files: ['*.svelte'],
parser: 'svelte-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser'
}
}
]
};