forked from devedmonton/DES-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
29 lines (29 loc) · 823 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.exports = {
root: true,
env: {
node: true,
browser: true,
},
extends: [
"eslint:recommended",
"plugin:vue/recommended",
"plugin:vue/vue3-recommended",
"prettier",
],
rules: {
"vue/component-name-in-template-casing": ["error", "PascalCase"],
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
"vue/multi-word-component-names": "off",
},
globals: {
$nuxt: true,
defineNuxtConfig: true,
defineNuxtPlugin: true,
},
ignorePatterns: ["node_modules/", ".nuxt/", "dist/", "static"],
parserOptions: {
parser: "@babel/eslint-parser",
requireConfigFile: false,
},
};