Skip to content

Commit

Permalink
format check
Browse files Browse the repository at this point in the history
  • Loading branch information
sidmohanty11 committed Feb 17, 2024
1 parent ff679e9 commit c92c405
Show file tree
Hide file tree
Showing 38 changed files with 649 additions and 562 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ jobs:
- name: Install dependencies
run: yarn

- name: Lint
- name: Format check
run: yarn format:check

- name: Lint check
run: yarn lint

- name: Build
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
"postinstall": "yarn build",
"build": "lerna run build",
"lint": "lerna run lint",
"build:storybook": "lerna run build-storybook"
"build:storybook": "lerna run build-storybook",
"format": "lerna run format",
"format:check": "lerna run format:check"
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
Expand Down
4 changes: 3 additions & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "rollup -c",
"dev": "yarn parcel playground/index.html"
"dev": "yarn parcel playground/index.html",
"format": "prettier --write 'src/'",
"format:check": "prettier --check 'src/'"
},
"author": "",
"license": "ISC",
Expand Down
Loading

0 comments on commit c92c405

Please sign in to comment.