2023-06-12 19:02:49 +01:00
|
|
|
module.exports = {
|
2024-04-30 11:17:06 +01:00
|
|
|
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,
|
2024-04-30 11:18:21 +01:00
|
|
|
extraFileExtensions: [".svelte"],
|
2024-04-30 11:17:06 +01:00
|
|
|
},
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
es2017: true,
|
2024-04-30 11:18:21 +01:00
|
|
|
node: true,
|
2024-04-30 11:17:06 +01:00
|
|
|
},
|
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
files: ["*.svelte"],
|
|
|
|
parser: "svelte-eslint-parser",
|
|
|
|
parserOptions: {
|
2024-04-30 11:18:21 +01:00
|
|
|
parser: "@typescript-eslint/parser",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
2023-06-12 19:02:49 +01:00
|
|
|
};
|