From f781c2c44f010ac8f80c3f3c2cb3559030decce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r=20Sofuo=C4=9Flu?= Date: Thu, 22 Dec 2022 16:20:07 +0300 Subject: [PATCH] Eslint updates --- .eslintrc.js | 5 +- components/splitter/Splitter.vue | 2 +- layouts/AppDocumentation.vue | 1 + nuxt.config.js | 3 +- package-lock.json | 54049 +++++++++++++++-------------- package.json | 17 +- plugins/scrollToTop.js | 4 +- 7 files changed, 28125 insertions(+), 25956 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 41edb10d5..867fa935e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -4,17 +4,20 @@ module.exports = { node: true, jest: true }, - extends: ['plugin:vue/vue3-essential', 'eslint:recommended', 'prettier'], + extends: ['plugin:nuxt/recommended', 'plugin:vue/vue3-essential', 'prettier'], parserOptions: { parser: '@babel/eslint-parser', requireConfigFile: false }, plugins: ['prettier'], + ignorePatterns: ['**/public/**', '/layouts/AppDocumentation.vue'], rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-fallthrough': 'off', 'vue/this-in-template': ['error', 'never'], + 'vue/multi-word-component-names': 'off', + 'vue/no-reserved-component-names': 'off', 'vue/component-tags-order': [ 'error', { diff --git a/components/splitter/Splitter.vue b/components/splitter/Splitter.vue index 310ab4e72..1b305763d 100644 --- a/components/splitter/Splitter.vue +++ b/components/splitter/Splitter.vue @@ -1,6 +1,6 @@