summaryrefslogtreecommitdiff
path: root/master/.eslintrc.js
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-17 16:05:53 +0200
committerHampusM <hampus@hampusmat.com>2022-05-17 16:05:53 +0200
commit775222b6518324a8cb44a800c256ca98f2a1449b (patch)
tree1cbf28cfacd03c04e0d1ddce225893da054559f2 /master/.eslintrc.js
parent4c40c538af66570cc4a5a0f0b956afa98f9876db (diff)
add master website
Diffstat (limited to 'master/.eslintrc.js')
-rw-r--r--master/.eslintrc.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/master/.eslintrc.js b/master/.eslintrc.js
new file mode 100644
index 0000000..905c914
--- /dev/null
+++ b/master/.eslintrc.js
@@ -0,0 +1,18 @@
+module.exports = {
+ root: true,
+ env: {
+ node: true
+ },
+ extends: [
+ 'plugin:vue/vue3-essential',
+ '@vue/standard',
+ '@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'
+ }
+}