ci: format generated files and remove prettier completely

This commit is contained in:
2024-02-02 16:38:51 +01:00
parent b1e04077f9
commit d1bcaf423f
7 changed files with 66 additions and 191 deletions
+2 -3
View File
@@ -10,13 +10,13 @@
"dev": "nuxi dev",
"build": "nuxi generate",
"start": "nuxi preview",
"lint:js": "eslint --ext \".ts,.js,.vue\" --ignore-path .gitignore .",
"lint:js": "eslint --ext \".ts,.js,.cjs,.vue\" --ignore-path .gitignore .",
"lint:style": "stylelint \"**/*.{css,scss,sass,html,vue}\" --ignore-path .gitignore",
"lint": "yarn lint:js && yarn lint:style",
"lintfix": "yarn lint:js --fix && yarn lint:style --fix",
"prepare": "husky install",
"test": "jest",
"codegen": "graphql-codegen"
"codegen": "graphql-codegen && eslint --ext \".ts\" --ignore-path .gitignore graphql/generated/operations.ts --fix"
},
"dependencies": {
"@apollo/client": "^3.9.2",
@@ -62,7 +62,6 @@
"cypress": "^13.6.4",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-nuxt": "^4.0.0",