diff --git a/.eslintignore b/.eslintignore index fd3ae5b..bbf3d4d 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,5 +1,6 @@ -node_modules +.github .gitignore +node_modules dist dist-electron dist-release \ No newline at end of file diff --git a/.eslintrc.js b/.eslintrc.js index 0fe1fd9..26d932b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,16 +1,25 @@ module.exports = { - extends: ['@viarotel-org'], + extends: ['@antfu'], rules: { + 'antfu/top-level-function': 'off', 'no-unused-vars': 'off', 'eqeqeq': 'off', 'prefer-promise-reject-errors': 'off', 'no-new-func': 'off', - - 'antfu/top-level-function': 'off', + 'curly': 'off', + 'no-console': 'off', + 'unused-imports/no-unused-vars': 'off', 'import/default': 'off', 'vue/no-mutating-props': 'off', 'vue/no-use-v-if-with-v-for': 'off', + 'vue/html-self-closing': 'off', + 'vue/block-order': 'off', + 'vue/no-unused-refs': 'off', + + 'n/prefer-global/process': 'off', + + '@typescript-eslint/no-invalid-this': 'off', }, } diff --git a/copilot/App.vue b/copilot/App.vue index 9680f8f..75737c6 100644 --- a/copilot/App.vue +++ b/copilot/App.vue @@ -1,5 +1,5 @@