Skip to content

Commit

Permalink
Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
pahans committed May 21, 2024
1 parent 74f07d5 commit da42f28
Show file tree
Hide file tree
Showing 28 changed files with 19,367 additions and 63 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- run: npm ci
- run: npm run lint
- run: npm test --coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
SONAR_TOKEN: ${{ secrets. SONARCLOUD_TOKEN }}
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "es5",
"semi": true,
"tabWidth": 2,
"plugins": ["prettier-plugin-tailwindcss"]
}
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[![codecov](https://codecov.io/gh/pahans/simple-press/graph/badge.svg?token=NAQKD348PJ)](https://codecov.io/gh/pahans/simple-press)

## Getting Started

First, run the development server:
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"test:watch": "jest --watch",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"format": "prettier --check --ignore-path .gitignore .",
"format:fix": "prettier --write --ignore-path .gitignore .",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"seed": "ts-node --compiler-options='{\"module\":\"commonJS\"}' ./scripts/seed.ts"
},
"dependencies": {
Expand Down Expand Up @@ -71,6 +71,7 @@
"jest-environment-jsdom": "^29.7.0",
"postcss": "^8",
"pre-commit": "^1.2.2",
"prettier-plugin-tailwindcss": "^0.5.14",
"storybook": "^8.1.1",
"tailwindcss": "^3.4.1",
"ts-node": "^10.9.2",
Expand Down
Loading

0 comments on commit da42f28

Please sign in to comment.