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