Thank you for your interest in contributing! Pull requests, bug reports, and suggestions are all welcome.
-
Fork the repository and clone your fork:
git clone https://github.com/<your-username>/filejson.git cd filejson
-
Install dependencies:
npm install
-
Create a branch for your change:
git checkout -b my-feature-or-fix
# Run all tests
npm test
# Run tests in watch mode (re-runs on file changes)
npm run test:watch
# Run tests with coverage report
npm run test:coverageAll tests must pass before a pull request will be merged. If you add new functionality, please add corresponding tests.
This project uses ESLint to enforce consistent code style.
# Check for lint errors
npm run lint
# Auto-fix fixable issues
npm run lint:fixPlease ensure npm run lint reports no errors before submitting a PR.
- Make sure
npm testandnpm run lintboth pass locally. - Write a clear, descriptive commit message.
- Push your branch to your fork and open a pull request against the
masterbranch. - Describe what the PR does and reference any related issues (e.g.,
Closes #42).
Open an issue at https://github.com/bchr02/filejson/issues with:
- A minimal, reproducible example
- The Node.js version you are using (
node --version) - The
filejsonversion (npm list filejson) - Expected vs. actual behavior
Feel free to open an issue for feature requests or general questions. All constructive feedback is appreciated!