This repository has been archived on 2021-11-08. You can view files and clone it, but cannot push or open issues or pull requests.
svelte-sharg/.eslintrc.cjs
Tobias Berger 0c107bc849 I made a grave mistake in not committing some of these things separately
But now we both have to live with this,
because I can't really be bothered to fix it

Summary:

+Save resources
*Restructure Handlers
-Remove StaticClass
+Add Resource data files
~Change loading
2021-11-03 12:42:57 +01:00

26 lines
726 B
JavaScript

module.exports = {
root: true,
parser: "@typescript-eslint/parser",
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
plugins: ["svelte3", "@typescript-eslint"],
overrides: [
{ files: ["*.svelte"], processor: "svelte3/svelte3" },
{ files: ["*.[cm]js"], env: { node: true } },
],
settings: {
"svelte3/typescript": require("typescript"),
"svelte3/ignore-styles": ({ lang }) => lang === "scss",
},
parserOptions: {
sourceType: "module",
},
env: {
browser: true,
worker: true,
es2021: true,
node: false,
},
rules: {
"@typescript-eslint/no-unused-vars": ["warn", { args: "all", argsIgnorePattern: "^_", ignoreRestSiblings: false }],
},
};