-
Notifications
You must be signed in to change notification settings - Fork 1
How to contribute
capoaira edited this page Jun 21, 2024
·
4 revisions
- Please create a fork
- Setup your Fork on your local PC (git clone)
- run
npm install
in the base directory of your repo (Check out nodejs.org if you're new to Node.js)
This project uses ESLint and prettier to ensure code quality
If you're using VSCode just install the extensions dbaeumer.vscode-eslint
and esbenp.prettier-vscode
.
If you're not use VS Code, you may find a similar extension for your program. If not, you can run it in your terminal:
# Linter:
npm run lint
# or to fix errors
npm run lint:fix
# Formater
npm run format
How you can test your local changes depends on the browser you are using.
- Open about:debugging
- Click on This Firefox
- Click the Load Temporary Add-on button
- Select any file in your extension's directory (e.g., the manifest.json)
- If you change a file: Click the "Reload" button
- Open chrome://extensions
- Enable Developer Mode in the top right
- Click on "Load unpacked"
- Open the Base directory
- If you change a file: Click the "Reload" button
- Open edge://extensions/
- Enable Developer Mode at the bottom of the left sidebar
- Click on "Load unpacked"
- Open the Base directory
- If you change a file: Click the "Reload" button
All changes have to be tested on the common browsers Chrome, Firefox, and Edge.