Skip to content

Commit

Permalink
ci: include prettier in lint:*
Browse files Browse the repository at this point in the history
  • Loading branch information
samsiegart committed Jul 11, 2023
1 parent 718e69b commit 2e3810b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ jobs:
cache: 'yarn'
- run: yarn install --frozen-lockfile # optional, --immutable
- run: cd wallet && yarn lint
- run: cd wallet && yarn pretty-check
- run: yarn test
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"start": "web-dev-server --port=3000 packages/wallet/public/",
"preview": "web-dev-server --port=3001 build/",
"test": "yarn workspaces run test",
"pretty-fix": "prettier --write '**/*.{js,html}'",
"pretty-check": "prettier --check '**/*.{js,html}'",
"format": "prettier --write '**/*.{js,html}'",
"lint:format": "prettier --check '**/*.{js,html}'",
"lint-fix": "yarn lint:eslint --fix && yarn lint:types",
"lint-check": "yarn lint",
"lint:check": "yarn lint",
"lint": "yarn lint:types && yarn lint:eslint",
"lint:types": "tsc -p jsconfig.json",
"lint:eslint": "eslint '**/*.js'"
Expand Down
4 changes: 2 additions & 2 deletions wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@
"build": "yarn build:ses && yarn build:react",
"build:ses": "cp node_modules/ses/dist/lockdown.umd.js public/",
"build:react": "react-app-rewired build",
"pretty-check": "yarn prettier --check '**/*.{js,jsx,ts,tsx}'",
"pretty-fix": "yarn prettier --write '**/*.{js,jsx,ts,tsx}'",
"lint:format": "yarn prettier --check '**/*.{js,jsx,ts,tsx}'",
"format": "yarn prettier --write '**/*.{js,jsx,ts,tsx}'",
"lint": "run-s --continue-on-error lint:*",
"lint:eslint": "eslint '**/*.{js,jsx,ts,tsx}'",
"lint:types": "yarn tsc",
Expand Down

0 comments on commit 2e3810b

Please sign in to comment.