mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 23:15:16 +00:00
679a8ab3cb
Fix errors and warnings reported by eslint Add CONTRIBUTING document for vscode-extension
1011 B
1011 B
CONTRIBUTING
Pull requests
To submit your change:
- Make sure your code is in line with our coding conventions.
- Create an issue describing the bug the PR fixes or the feature you intend to implement.
- Submit a pull request into the main branch.
Coding conventions
Format
The codebase is formatted by Prettier
and the .prettierrc.json
has been
configured.
- VSCode along with
Format on Save
configuration could easily format your code during development. - You can run
prettier-format-check
andprettier-format-apply
to check and format your codebase withprettier
in terminal.
Lint
ESlint
is used as linter for the codebase and the .eslintrc.json
has been
configured.
- It's suggested to run
npm run lint
then fix errors and warnings before committing.