Skip to content

Commit

Permalink
chore(lint): adjust lint script (#1184)
Browse files Browse the repository at this point in the history
* chore(lint): adjust lint script

* docs: additional changes in contributing page (#1186)

Co-authored-by: Dominique <dsaripapazoglou@gmail.com>
  • Loading branch information
TarikGul and Imod7 committed Jan 19, 2023
1 parent c7461c6 commit 325e80a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
9 changes: 3 additions & 6 deletions guides/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ where reviewers will be able to review your changes made.

### Before submitting a PR

- `yarn lint`: Make sure your code follows our linting rules. You can also run `yarn lint --fix` to
- `yarn lint`: Make sure your code follows our linting rules. You can also run `yarn lint:fix` or `yarn lint --fix` to
automatically fix some of those errors.
- `yarn test`: Make sure all tests pass.
- If any changes are made to the OpenApi specs :
Expand Down Expand Up @@ -57,11 +57,8 @@ result in:
Asking for help in the Parity community is encouraged and welcomed! The best
ways to reach us are:

- Chat with us:
[Substrate Technical Element](https://app.element.io/#/room/!HzySYSaIhtyWrwiwEV:matrix.org)
- Ask a question tagged `substrate`:
[Stack Overflow](https://stackoverflow.com/questions/tagged/substrate)
- Weekly office hours: [Substrate Seminar](https://substrate.dev/en/seminar)
- Ask a question in the [Substrate and Polkadot Stack Exchange](https://substrate.stackexchange.com/)
- Attend the Biweekly [Substrate Seminars](https://substrate.io/ecosystem/resources/seminar/)

## Heritage

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"build:docker": "docker build -t substrate-api-sidecar .",
"build:docs": "(cd docs && yarn && yarn build)",
"main": "node ./build/src/main.js",
"lint": "substrate-dev-run-lint --fix",
"lint": "substrate-dev-run-lint",
"lint:fix": "substrate-dev-run-lint --fix",
"lint:ci": "substrate-dev-run-lint",
"deploy": "yarn build && npm publish",
"start": "yarn run main",
Expand Down

0 comments on commit 325e80a

Please sign in to comment.