Skip to content

Commit

Permalink
remove prettier from CircleCI config file
Browse files Browse the repository at this point in the history
  • Loading branch information
YanivWein24 committed Mar 26, 2024
1 parent e807d4e commit 8ad47b4
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,32 +28,9 @@ jobs:
name: Run ESLint
command: npm run fix

prettier:
docker:
- image: cimg/node:15.1
# Add steps to the job
steps:
- checkout
- restore_cache:
# See the configuration reference documentation for more details on using restore_cache and save_cache steps
keys:
- node-deps-v1-{{ .Branch }}-{{checksum "package-lock.json"}}
- run:
name: install packages
command: npm ci
- save_cache:
key: node-deps-v1-{{ .Branch }}-{{checksum "package-lock.json"}}
paths:
- ~/.npm
- run:
name: Run Prettier
command: npm run format
# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
run-linters:
jobs:
- prettier
- es-lint:
requires:
- prettier
- es-lint

0 comments on commit 8ad47b4

Please sign in to comment.