2023-07-27 13:03:27 +02:00
|
|
|
/* eslint-env node */
|
|
|
|
module.exports = {
|
|
|
|
extends: [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:svelte/recommended",
|
|
|
|
],
|
|
|
|
parser: "@typescript-eslint/parser",
|
|
|
|
parserOptions: {
|
|
|
|
extraFileExtensions: [".svelte"],
|
|
|
|
},
|
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
files: ["*.svelte"],
|
|
|
|
parser: "svelte-eslint-parser",
|
|
|
|
parserOptions: {
|
|
|
|
parser: "@typescript-eslint/parser",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
plugins: ["@typescript-eslint"],
|
|
|
|
root: true,
|
2023-07-27 14:48:17 +02:00
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
node: true,
|
|
|
|
},
|
2023-07-27 13:03:27 +02:00
|
|
|
}
|