diff --git a/.eslintrc.js b/.eslintrc.js index 6268530..24fea00 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,7 +5,6 @@ module.exports = { }, extends: [ "plugin:vue/recommended", - "@vue/airbnb", "@vue/typescript/recommended", "@vue/prettier/recommended", @@ -14,17 +13,7 @@ module.exports = { rules: { "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off", - "no-restricted-syntax": [ - "off", - { - selector: "ForOfStatement", - }, - ], - // Why the heck is this not default airbnb - "no-plusplus": ["error", { allowForLoopAfterthoughts: true }], - // Broken with typescript (still) - "no-unused-vars": "off", - "no-continue": "off", - "no-multi-assign": "off", + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-explicit-any": "off", }, }; diff --git a/src/components/baklava-options-plugin/optionPlugin.ts b/src/components/baklava-options-plugin/optionPlugin.ts index feefa2e..eac29b5 100644 --- a/src/components/baklava-options-plugin/optionPlugin.ts +++ b/src/components/baklava-options-plugin/optionPlugin.ts @@ -1,4 +1,3 @@ -/* eslint-disable import/no-unresolved, import/extensions */ /* Eslint has problems with importing ts modules for some reason & the setting that's supposed to fix it doesn't work: diff --git a/src/components/node-editor/ContextMenuOpsi.vue b/src/components/node-editor/ContextMenuOpsi.vue index db93613..e072b36 100644 --- a/src/components/node-editor/ContextMenuOpsi.vue +++ b/src/components/node-editor/ContextMenuOpsi.vue @@ -29,7 +29,7 @@