Skip to content

Commit

Permalink
DO-1481: Update linting and formatting checks commands
Browse files Browse the repository at this point in the history
  • Loading branch information
krishanthisera committed Jun 15, 2023
1 parent 7721699 commit 6c2c052
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

**Notes to PR author**

⚠️ Please make sure the changes are adhered to the guidelines mention [here](https://aligent.atlassian.net/wiki/spaces/AL/pages/2728919167/Pull+Request+guidelines)
⚠️ Please make sure the changes adhere to the guidelines mentioned [here](https://aligent.atlassian.net/wiki/spaces/AL/pages/2728919167/Pull+Request+guidelines)

**Notes to reviewers**

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ jobs:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run lint && npm run format
- run: npm run lint:check && npm run format:check
- run: npm run build
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
"build": "tsc",
"prepublish": "tsc",
"lint": "eslint --ignore-path .eslintignore --ext .ts .",
"lint:check": "npm run lint",
"lint:fix": "npm run lint --fix",
"format": "prettier --ignore-path .prettierignore --check \"**/*.+(js|ts|json)\"",
"format:check": "npm run format",
"format:fix": "prettier --ignore-path .prettierignore --write \"**/*.+(js|ts|json)\""
},
"devDependencies": {
Expand Down

0 comments on commit 6c2c052

Please sign in to comment.