feat(tooling): add eslint-config to tooling pkgs

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-02-22 20:20:11 +01:00
committed by Braks
parent 5c0fb912fc
commit 45cbdbfd27
34 changed files with 764 additions and 898 deletions
+3
View File
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@vue-flow/eslint-config'],
}
+1
View File
@@ -12,6 +12,7 @@
"@vue-flow/minimap": "workspace:*"
},
"devDependencies": {
"@vue-flow/eslint-config": "workspace:*",
"nuxt": "^3.2.2"
}
}
+3
View File
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@vue-flow/eslint-config'],
}
+1
View File
@@ -18,6 +18,7 @@
},
"devDependencies": {
"@quasar/app-vite": "^1.0.5",
"@vue-flow/eslint-config": "workspace:*",
"@vitejs/plugin-vue": "^2.3.4",
"@types/node": "^18.8.3",
"autoprefixer": "^10.4.12"
+1 -6
View File
@@ -1,8 +1,3 @@
module.exports = {
rules: {
'no-use-before-define': 0,
'no-console': 0,
'no-unused-vars': 1,
},
extends: ['../../.eslintrc.js'],
extends: ['@vue-flow/eslint-config'],
}
+2 -1
View File
@@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "vite",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore ."
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix ."
},
"dependencies": {
"vueflow": "workspace:*",
@@ -17,6 +17,7 @@
},
"devDependencies": {
"@types/dagre": "^0.7.48",
"@vue-flow/eslint-config": "workspace:*",
"@vitejs/plugin-vue": "^4.0.0",
"dagre": "^0.8.5",
"unplugin-auto-import": "^0.14.4",