Skip to content

Commit 0cb220b

Browse files
committed
feat: new docs
1 parent bc33ae0 commit 0cb220b

File tree

4 files changed

+73
-37
lines changed

4 files changed

+73
-37
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Changelog

CONTRIBUTING.MD

-36
This file was deleted.

CONTRIBUTING.md

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
- Your code must be well-documented
11+
- Include clear descriptions of functionality and usage
12+
- Provide API documentation where applicable
13+
- Provide a readme file in the root of your plugin, determining the plugin name, description, and usage instructions
14+
15+
### 2. Testing Coverage
16+
- Implement comprehensive unit tests
17+
- Include integration tests
18+
- Maintain good test coverage metrics
19+
20+
### 3. Code Quality
21+
- Code must be properly linted
22+
- It must be formatted too
23+
24+
### 4. Examples
25+
- Include an `examples` directory in your plugin
26+
- Provide at least one `basic-setup` example
27+
- Ensure examples are:
28+
- Easy to reproduce
29+
- Quick to execute
30+
- Demonstrate core functionality
31+
- Well-documented with setup instructions
32+
33+
34+
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.
35+
36+
We look forward to your contributions! If you have any questions, feel free to open an issue for discussion.

README.md

+36-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,39 @@
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+
- Brief description
17+
- Installation instructions
18+
- Basic usage example
19+
- Link to detailed documentation
20+
21+
## Creating Your Own Plugin
22+
23+
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:
24+
- Minimum requirements
25+
- Development guidelines
26+
- Submission process
27+
28+
For reference implementations, see our [official plugins](https://github.com/code-pushup/cli/tree/main/packages) in the CLI repository.
29+
30+
## Getting Started
31+
32+
1. Browse the available plugins
33+
2. Follow each plugin's installation and setup instructions
34+
3. Configure the plugin in your Code-Pushup configuration
35+
4. Run Code-Pushup to start measuring your code quality
36+
37+
## Need Help?
38+
39+
- 🤔 Open an [issue](https://github.com/code-pushup/community-plugins/issues) for questions
40+
- 🐛 Report bugs in the respective plugin's issue section

0 commit comments

Comments
 (0)