Updated prettier step
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing

This commit is contained in:
Dominic Grimm 2022-02-02 17:29:45 +01:00
parent 0da7f11239
commit 14bb8be673
4 changed files with 6 additions and 4 deletions

View file

@ -54,8 +54,8 @@ steps:
image: node:alpine
commands:
- cd docker/frontend/
- yarn global add prettier eslint
- yarn lint
- yarn global add prettier eslint nextjs
- prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .
- name: build
image: tmaier/docker-compose
volumes:

View file

@ -41,3 +41,5 @@ README.md
.dockerignore
.editorconfig
.gitignore
.prettierrc
.eslintrc.js

View file

@ -0,0 +1 @@
{}

View file

@ -4,8 +4,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"start": "next start"
},
"dependencies": {
"@apollo/client": "^3.5.8",