chore: update eslint config
we still have tons of lints to fix though
This commit is contained in:
parent
d19d369825
commit
9d6fb10683
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
/** @type { import("eslint").Linter.Config } */
|
/** @type { import("eslint").Linter.Config } */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
ignorePatterns: ['av-sync/**', '**/*.js'],
|
||||||
root: true,
|
root: true,
|
||||||
extends: [
|
extends: [
|
||||||
'eslint:recommended',
|
'eslint:recommended',
|
||||||
|
@ -12,7 +13,8 @@ module.exports = {
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
sourceType: 'module',
|
sourceType: 'module',
|
||||||
ecmaVersion: 2020,
|
ecmaVersion: 2020,
|
||||||
extraFileExtensions: ['.svelte']
|
extraFileExtensions: ['.svelte'],
|
||||||
|
project: './tsconfig.json'
|
||||||
},
|
},
|
||||||
env: {
|
env: {
|
||||||
browser: true,
|
browser: true,
|
||||||
|
|
Loading…
Add table
Reference in a new issue