summaryrefslogtreecommitdiff
path: root/app/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/.eslintrc.js')
-rw-r--r--app/.eslintrc.js32
1 files changed, 32 insertions, 0 deletions
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,
+ },
+ },
+ ],
+};