diff --git a/ts/.eslintrc.js b/ts/.eslintrc.js index ef8cdf3ff..9ac39c7ab 100644 --- a/ts/.eslintrc.js +++ b/ts/.eslintrc.js @@ -11,6 +11,7 @@ module.exports = { "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: "^_" }, diff --git a/ts/change-notetype/lib.ts b/ts/change-notetype/lib.ts index 3bc334a03..37a97c5bc 100644 --- a/ts/change-notetype/lib.ts +++ b/ts/change-notetype/lib.ts @@ -1,10 +1,6 @@ // Copyright: Ankitects Pty Ltd and contributors // License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html -/* eslint -@typescript-eslint/no-non-null-assertion: "off", - */ - import { Notetypes } from "../lib/proto"; import { postRequest } from "../lib/postrequest"; import { readable, Readable } from "svelte/store"; diff --git a/ts/deck-options/TextInputModal.svelte b/ts/deck-options/TextInputModal.svelte index 6ff079e2b..3ee08523e 100644 --- a/ts/deck-options/TextInputModal.svelte +++ b/ts/deck-options/TextInputModal.svelte @@ -3,9 +3,6 @@ Copyright: Ankitects Pty Ltd and contributors License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html -->