Skip to content

Commit 8be150c

Browse files
authored
Merge pull request #10 from code-pushup/pr-8
feat: add docs
2 parents 804f66a + 180e915 commit 8be150c

File tree

4 files changed

+78
-37
lines changed

4 files changed

+78
-37
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Changelog

CONTRIBUTING.MD

Lines changed: 0 additions & 36 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Contributing to Code-Pushup Community Plugins
2+
3+
Welcome to the Code-Pushup Community Plugins repository! This space is designed for the community to create, share, and publish their own plugins. We're excited to see your contributions.
4+
5+
## Minimum Requirements for Plugin Submissions
6+
7+
To maintain high quality and usability standards, please ensure your plugin meets the following criteria before submission:
8+
9+
### 1. Documentation
10+
11+
- Your code must be well-documented
12+
- Include clear descriptions of functionality and usage
13+
- Provide API documentation where applicable
14+
- Provide a readme file in the root of your plugin, determining the plugin name, description, and usage instructions
15+
16+
### 2. Testing Coverage
17+
18+
- Implement comprehensive unit tests
19+
- Include integration tests
20+
- Maintain good test coverage metrics
21+
22+
### 3. Code Quality
23+
24+
- Code must be properly linted
25+
- It must be formatted too
26+
27+
### 4. Examples
28+
29+
- Include an `examples` directory in your plugin
30+
- Provide at least one `basic-setup` example
31+
- Ensure examples are:
32+
- Easy to reproduce
33+
- Quick to execute
34+
- Demonstrate core functionality
35+
- Well-documented with setup instructions
36+
37+
For reference, you can find plugins examples in our [CLI repository](https://github.com/code-pushup/cli/tree/main/packages), including plugins for ESLint, TypeScript, JSDoc, Lighthouse, and more. These can serve as templates for your own plugin implementation.
38+
39+
We look forward to your contributions! If you have any questions, feel free to open an issue for discussion.

README.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,41 @@
22

33
<a alt="code-pushup logo" href="https://code-pushup.dev" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/code-pushup/cli/master/packages/cli/docs/images/logo.png" width="45"></a>
44

5-
**This is the repository for all our plugin examples.**
5+
**Welcome to the Code-Pushup Community Plugins Repository!**
6+
7+
This repository serves as a central hub for community-created plugins for Code-Pushup. Here you'll find a collection of plugins developed by the community to extend Code-Pushup's functionality.
8+
9+
## What is Code-Pushup?
10+
11+
Code-Pushup is a tool that helps you measure and track your code quality metrics. For more information, visit our [official website](https://code-pushup.dev).
12+
13+
## Available Plugins
14+
15+
This section will list community plugins as they are added. Each plugin will include:
16+
17+
- Brief description
18+
- Installation instructions
19+
- Basic usage example
20+
- Link to detailed documentation
21+
22+
## Creating Your Own Plugin
23+
24+
Want to contribute? Great! You can create your own plugin and share it with the community. Check out our [CONTRIBUTING.md](./CONTRIBUTING.md) guide for:
25+
26+
- Minimum requirements
27+
- Development guidelines
28+
- Submission process
29+
30+
For reference implementations, see our [official plugins](https://github.com/code-pushup/cli/tree/main/packages) in the CLI repository.
31+
32+
## Getting Started
33+
34+
1. Browse the available plugins
35+
2. Follow each plugin's installation and setup instructions
36+
3. Configure the plugin in your Code-Pushup configuration
37+
4. Run Code-Pushup to start measuring your code quality
38+
39+
## Need Help?
40+
41+
- 🤔 Open an [issue](https://github.com/code-pushup/community-plugins/issues) for questions
42+
- 🐛 Report bugs in the respective plugin's issue section

0 commit comments

Comments
 (0)