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",
|
|
|
|
"prettier",
|
|
|
|
],
|
|
|
|
ignorePatterns: ["*.cjs"],
|
|
|
|
overrides: [{ files: ["*.svelte"], processor: "svelte3/svelte3" }],
|
2022-08-09 11:15:42 +02:00
|
|
|
parser: "@typescript-eslint/parser",
|
2022-08-09 10:44:30 +02:00
|
|
|
parserOptions: {
|
|
|
|
sourceType: "module",
|
|
|
|
ecmaVersion: 2020,
|
|
|
|
},
|
2023-01-31 16:12:09 +01:00
|
|
|
plugins: ["svelte3", "@typescript-eslint"],
|
2022-08-09 11:15:42 +02:00
|
|
|
root: true,
|
|
|
|
settings: {
|
|
|
|
"svelte3/typescript": () => require("typescript"),
|
2022-08-09 10:44:30 +02:00
|
|
|
},
|
|
|
|
}
|