ci: remove prettier and use eslint for formatting

This commit is contained in:
2024-02-02 14:46:42 +01:00
parent 6ff8688760
commit b1e04077f9
20 changed files with 222 additions and 383 deletions
+3 -7
View File
@@ -2,7 +2,7 @@
"name": "dancefinder-app",
"version": "1.0.0",
"engines": {
"node": ">=16"
"node": ">=20"
},
"author": "Joakim Olsson <joakim@unbound.se>",
"private": true,
@@ -12,9 +12,8 @@
"start": "nuxi preview",
"lint:js": "eslint --ext \".ts,.js,.vue\" --ignore-path .gitignore .",
"lint:style": "stylelint \"**/*.{css,scss,sass,html,vue}\" --ignore-path .gitignore",
"lint:prettier": "prettier --check .",
"lint": "yarn lint:js && yarn lint:style # ignore prettier for now # && yarn lint:prettier",
"lintfix": "prettier --write --list-different . && yarn lint:js --fix && yarn lint:style --fix",
"lint": "yarn lint:js && yarn lint:style",
"lintfix": "yarn lint:js --fix && yarn lint:style --fix",
"prepare": "husky install",
"test": "jest",
"codegen": "graphql-codegen"
@@ -67,13 +66,10 @@
"eslint-loader": "^4.0.2",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-nuxt": "^4.0.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.21.1",
"husky": "^9.0.10",
"postcss-html": "^1.6.0",
"prettier": "^3.2.4",
"stylelint": "^14.16.1",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^29.0.0",
"typescript": "^5.3.3",