Thanks for taking the initiative to contribute to REFRF! π
Contributions of all sorts are welcome. Check out open issues if you're looking for something to work on.
- Correct technical inaccuracies
- Proofread
- Add examples and/or illuminating test cases
- Improve explanations
- Add chapters
- Add translations
- π€β¦
- Create a directory within
chapters/
with the two-letter ISO code of the language you're translating to (en
for English,fr
for French, β¦). - Duplicate the contents of
chapters/en/
into the new directory. - Translate the newly created files. Do not translate the names of the files themselves.
- Create a PR!
- Refactor code for components and layouts
- Resolve our open issues
- π€β¦
Clone the repo:
git clone git@github.com:shreyasminocha/regex-for-regular-folk.git refrf
cd refrf
Assuming you have npm
and node
installed, install dependencies:
npm install
npm run dev
Please format your commit messages according to the seven rules of commit messages. You can look through the repo's commit history for examples.
You can test your commit messages with:
npx seven-rule-msg 'Add advanced examples'
We use prettier for formatting our code and mdx files.
Check for formatting errors:
npm run lint-check
Fix formatting errors:
npm run lint
We use British English.