From 0bf3a205b0799e5a9e5c5deee7fc2a96814dbe3c Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Mon, 12 Sep 2022 16:35:02 +0200 Subject: Add SASS --- .eslintrc.js | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to '.eslintrc.js') diff --git a/.eslintrc.js b/.eslintrc.js index 9e383e1..bde1f30 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,19 +1,20 @@ module.exports = { root: true, env: { - browser: true, - node: true - }, - parserOptions: { - parser: '@babel/eslint-parser', - requireConfigFile: false + node: true, }, extends: [ - '@nuxtjs', - 'plugin:nuxt/recommended' - ], - plugins: [ + "plugin:vue/essential", + "eslint:recommended", + "@vue/typescript/recommended", ], - // add your custom rules here - rules: {} -} + parserOptions: { + ecmaVersion: 2020, + }, + rules: { + "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", + "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off", + "vue/multi-word-component-names": "off", + "@typescript-eslint/no-var-requires": 0, + }, +}; -- cgit v1.2.3-18-g5258