From 190259bb0f512d881a1dc852ff0c68dd41aeb434 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Sat, 12 Nov 2022 11:37:43 +0100 Subject: Init --- app/.eslintrc.js | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 app/.eslintrc.js (limited to 'app/.eslintrc.js') diff --git a/app/.eslintrc.js b/app/.eslintrc.js new file mode 100644 index 0000000..4c541ce --- /dev/null +++ b/app/.eslintrc.js @@ -0,0 +1,32 @@ +module.exports = { + root: true, + env: { + node: true, + }, + extends: [ + "plugin:vue/vue3-essential", + "eslint:recommended", + "@vue/typescript/recommended", + ], + parserOptions: { + ecmaVersion: 2020, + }, + rules: { + "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", + "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off", + "vue/no-deprecated-slot-attribute": "off", + "@typescript-eslint/no-explicit-any": "off", + "vue/multi-word-component-names": "off", + }, + overrides: [ + { + files: [ + "**/__tests__/*.{j,t}s?(x)", + "**/tests/unit/**/*.spec.{j,t}s?(x)", + ], + env: { + jest: true, + }, + }, + ], +}; -- cgit v1.2.3-18-g5258