chore: update lint scripts

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-03-31 20:18:59 +02:00
committed by Braks
parent 54493b8120
commit 65db65da2f
11 changed files with 12 additions and 11 deletions

View File

@@ -6,7 +6,7 @@
"dev": "pnpm run typedoc:md && vitepress dev src",
"docs": "pnpm run typedoc:md && vitepress build src",
"serve": "vitepress serve src",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
"lint": "eslint --ext .js,.ts,.vue ./",
"typedoc:md": "typedoc --options ./typedoc.md.json",
"typedocs": "typedoc --options ./typedoc.json"
},

View File

@@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "vite",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix ."
"lint": "eslint --ext .js,.ts,.vue ./"
},
"dependencies": {
"vueflow": "workspace:*",

View File

@@ -24,7 +24,7 @@
"scripts": {
"build": "vite build",
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
"lint": "eslint --ext .js,.ts,.vue ./",
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
"test": "exit 0"
},

View File

@@ -24,7 +24,7 @@
"scripts": {
"build": "vite build",
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
"lint": "eslint --ext .js,.ts,.vue ./",
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
"test": "exit 0"
},

View File

@@ -29,7 +29,7 @@
"types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && tsc -p ./tsconfig.build.json && shx rm -rf tmp && pnpm lint:dist && pnpm run patch",
"patch": "node patch/slots.js",
"theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
"lint": "eslint --ext .js,.ts,.vue ./",
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
"prepublishOnly": "shx cp ../../README.md .",
"postpublish": "shx rm README.md && git commit -a -m \"chore: bump version\"",

View File

@@ -24,7 +24,7 @@
"scripts": {
"build": "vite build",
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
"lint": "eslint --ext .js,.ts,.vue ./",
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
"test": "exit 0"
},

View File

@@ -24,7 +24,7 @@
"scripts": {
"build": "vite build",
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
"lint": "eslint --ext .js,.ts,.vue ./",
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
"test": "exit 0"
},

View File

@@ -24,7 +24,7 @@
"scripts": {
"build": "vite build",
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
"lint": "eslint --ext .js,.ts,.vue ./",
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
"test": "exit 0"
},

View File

@@ -24,7 +24,7 @@
"types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && shx rm -rf tmp",
"postbuild": "shx rm -rf tmp",
"test": "exit 0;",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix ."
"lint": "eslint --ext .js,.ts,.vue ./"
},
"peerDependencies": {
"@vue-flow/core": "^1.12.2"

View File

@@ -25,7 +25,7 @@
"build": "vite build",
"types": "tsc && shx rm -rf tmp && pnpm lint:dist",
"theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
"lint": "eslint --ext .js,.ts,.vue ./",
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
"test": "exit 0"
},

View File

@@ -4,7 +4,8 @@
"private": true,
"scripts": {
"test": "cypress run --component",
"open": "cypress open"
"open": "cypress open",
"lint": "eslint --ext .js,.ts,.vue ./"
},
"dependencies": {
"@vue-flow/background": "workspace:*",