3.0 KiB
3.0 KiB
Contributing to Jargon File Explorer
Welcome to the Jargon File Explorer project! We're excited that you're interested in contributing. This guide will help you get started with contributing to the project.
Table of Contents
- Code of Conduct
- How to Contribute
- Reporting Bugs
- Suggesting Enhancements
- Development Setup
- Pull Request Process
- Style Guides
- Additional Resources
Code of Conduct
This project and everyone participating in it is governed by the Code of Conduct. By participating, you are expected to uphold this code.
How to Contribute
There are many ways to contribute to this project:
- Reporting bugs
- Suggesting enhancements
- Writing or improving documentation
- Writing code
- Submitting pull requests
Reporting Bugs
Bugs are tracked as GitHub issues. Before submitting a bug report, please:
- Check if the issue has already been reported
- Ensure you're using the latest version of the application
- Provide a clear description of the problem
- Include steps to reproduce the issue
- Include any relevant error messages or screenshots
Suggesting Enhancements
Enhancement suggestions are also tracked as GitHub issues. Before submitting an enhancement:
- Check if the enhancement has already been suggested
- Clearly describe the enhancement
- Explain why it would be useful
- If possible, include mockups or examples
Development Setup
Prerequisites
- Node.js (version 14 or higher)
- npm (usually comes with Node.js)
Installation
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/jargon-file-explorer.git
cd jargon-file-explorer
- Install dependencies:
npm install
- Start the development server:
npm start
Pull Request Process
- Ensure any install or build dependencies are removed before the end of the layer when doing a build
- Update the README.md with details of changes to the interface, including new environment variables, exposed ports, useful file locations and container parameters
- Increase the version numbers in any examples files and the README.md to the new version that this Pull Request would represent
- You may merge the Pull Request in once the code review is complete, the CI/CD pipeline has passed, and you have the sign-off of other maintainers
Style Guides
JavaScript
- Use functional components with hooks
- Follow React best practices
- Write clean, readable code
- Include comments for complex logic
CSS
- Use CSS Modules for component styling
- Follow a consistent naming convention (BEM or similar)
- Ensure responsive design
Documentation
- Write clear and concise documentation
- Use consistent formatting
- Update documentation when making changes