2022-08-09 10:21:38 +02:00
|
|
|
module.exports = {
|
2022-08-09 11:15:42 +02:00
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
es2017: true,
|
|
|
|
node: true,
|
|
|
|
},
|
2022-08-09 10:44:30 +02:00
|
|
|
extends: [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
2023-05-19 14:26:43 +02:00
|
|
|
"plugin:svelte/recommended",
|
2022-08-09 10:44:30 +02:00
|
|
|
"prettier",
|
|
|
|
],
|
2023-05-19 14:26:43 +02:00
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
files: ["*.svelte"],
|
|
|
|
parser: "svelte-eslint-parser",
|
|
|
|
parserOptions: {
|
|
|
|
parser: "@typescript-eslint/parser",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
2022-08-09 11:15:42 +02:00
|
|
|
parser: "@typescript-eslint/parser",
|
2022-08-09 10:44:30 +02:00
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 2020,
|
2023-05-19 14:26:43 +02:00
|
|
|
extraFileExtensions: [".svelte"],
|
|
|
|
sourceType: "module",
|
2022-08-09 10:44:30 +02:00
|
|
|
},
|
2023-05-19 14:26:43 +02:00
|
|
|
plugins: ["@typescript-eslint"],
|
2022-08-09 11:15:42 +02:00
|
|
|
root: true,
|
2022-08-09 10:44:30 +02:00
|
|
|
}
|