module.exports = { extends: [ "eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended", "plugin:compat/recommended", ], parser: "@typescript-eslint/parser", plugins: ["@typescript-eslint"], rules: { "prefer-const": "warn", "no-nested-ternary": "warn", "@typescript-eslint/ban-ts-comment": "warn", "@typescript-eslint/no-non-null-assertion": "off", "@typescript-eslint/no-unused-vars": [ "warn", { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }, ], }, env: { browser: true }, ignorePatterns: ["backend_proto.d.ts", "*.svelte.d.ts"], };