Skip to content
Snippets Groups Projects
Unverified Commit 325e80ad authored by Tarik Gul's avatar Tarik Gul Committed by GitHub
Browse files

chore(lint): adjust lint script (#1184)


* chore(lint): adjust lint script

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

Co-authored-by: default avatarDominique <dsaripapazoglou@gmail.com>
parent c7461c67
Branches
Tags
No related merge requests found
Pipeline #240508 passed with stages
in 18 minutes and 49 seconds
...@@ -17,7 +17,7 @@ where reviewers will be able to review your changes made. ...@@ -17,7 +17,7 @@ where reviewers will be able to review your changes made.
### Before submitting a PR ### 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. automatically fix some of those errors.
- `yarn test`: Make sure all tests pass. - `yarn test`: Make sure all tests pass.
- If any changes are made to the OpenApi specs : - If any changes are made to the OpenApi specs :
...@@ -57,11 +57,8 @@ result in: ...@@ -57,11 +57,8 @@ result in:
Asking for help in the Parity community is encouraged and welcomed! The best Asking for help in the Parity community is encouraged and welcomed! The best
ways to reach us are: ways to reach us are:
- Chat with us: - Ask a question in the [Substrate and Polkadot Stack Exchange](https://substrate.stackexchange.com/)
[Substrate Technical Element](https://app.element.io/#/room/!HzySYSaIhtyWrwiwEV:matrix.org) - Attend the Biweekly [Substrate Seminars](https://substrate.io/ecosystem/resources/seminar/)
- Ask a question tagged `substrate`:
[Stack Overflow](https://stackoverflow.com/questions/tagged/substrate)
- Weekly office hours: [Substrate Seminar](https://substrate.dev/en/seminar)
## Heritage ## Heritage
......
...@@ -28,7 +28,8 @@ ...@@ -28,7 +28,8 @@
"build:docker": "docker build -t substrate-api-sidecar .", "build:docker": "docker build -t substrate-api-sidecar .",
"build:docs": "(cd docs && yarn && yarn build)", "build:docs": "(cd docs && yarn && yarn build)",
"main": "node ./build/src/main.js", "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", "lint:ci": "substrate-dev-run-lint",
"deploy": "yarn build && npm publish", "deploy": "yarn build && npm publish",
"start": "yarn run main", "start": "yarn run main",
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment