Spaces:
Runtime error
Runtime error
File size: 629 Bytes
1768d92 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
module.exports = {
parser: "@typescript-eslint/parser",
plugins: ["svelte3", "@typescript-eslint"],
env: {
es6: true,
browser: true,
},
overrides: [
{
files: ["*.svelte"],
processor: "svelte3/svelte3",
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
rules: {
"no-undef": "off",
},
},
{
files: ["*.ts", "*.json", "*.tsx"],
extends: ["plugin:@typescript-eslint/recommended"],
},
],
rules: {
curly: "error",
"no-var": "error",
eqeqeq: "error",
},
settings: {
"svelte3/typescript": () => require("typescript"),
},
ignorePatterns: ["node_modules"],
};
|