mirror of
https://github.com/filegator/filegator.git
synced 2025-08-11 13:13:59 +02:00
vue eslinter config
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
frontend/*
|
|
13
.eslintrc.js
Normal file
13
.eslintrc.js
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
module.exports = {
|
||||||
|
extends: [
|
||||||
|
// add more generic rulesets here, such as:
|
||||||
|
'eslint:recommended',
|
||||||
|
'plugin:vue/recommended'
|
||||||
|
],
|
||||||
|
rules: {
|
||||||
|
// override/add rules settings here, such as:
|
||||||
|
'vue/no-unused-vars': 'error',
|
||||||
|
'vue/require-prop-types': 0,
|
||||||
|
'vue/require-default-prop': 0
|
||||||
|
}
|
||||||
|
}
|
@@ -5,7 +5,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "concurrently \"php -S localhost:8081\" \"vue-cli-service serve\"",
|
"serve": "concurrently \"php -S localhost:8081\" \"vue-cli-service serve\"",
|
||||||
"build": "vue-cli-service build --no-clean",
|
"build": "vue-cli-service build --no-clean",
|
||||||
"lint": "vue-cli-service lint",
|
"lint": "vue-cli-service lint --no-fix frontend/",
|
||||||
"test:e2e": "vue-cli-service test:e2e",
|
"test:e2e": "vue-cli-service test:e2e",
|
||||||
"test:unit": "vue-cli-service test:unit"
|
"test:unit": "vue-cli-service test:unit"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user