If you wish to contribute to Obscenity, feel free to fork the repository and submit a pull request. We use ESLint and Prettier to enforce a consistent code style and catch possible issues; setting up relevant plugins for your editor of choice is highly recommended.
Prerequisites: Node.js (preferably latest version, but any version >= 12 will work), and pnpm for managing packages.
- Fork & clone the main repository.
- Create a new branch for your changes:
git checkout -b feat/my-feature
. - Run
pnpm install
to install all dependencies. - Make your changes.
- Run
pnpm lint
andpnpm style
to lint and format the code. Then, runpnpm test
to make sure all the tests are still passing after your change. - Commit your changes (make sure you follow our commit convention, which is based off Angular's commit message guidelines).
- Submit a pull request.