Updated prettier step
This commit is contained in:
parent
0da7f11239
commit
14bb8be673
|
@ -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:
|
||||
|
|
|
@ -41,3 +41,5 @@ README.md
|
|||
.dockerignore
|
||||
.editorconfig
|
||||
.gitignore
|
||||
.prettierrc
|
||||
.eslintrc.js
|
||||
|
|
1
docker/frontend/.prettierrc
Normal file
1
docker/frontend/.prettierrc
Normal file
|
@ -0,0 +1 @@
|
|||
{}
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue