You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/contribute/development-environment.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,10 @@
1
1
---
2
-
title: Development Environment
2
+
title: Set up a Development Environment
3
3
eleventyNavigation:
4
-
key: set up a development environment
5
-
parent: developer guide
6
-
title: Set Up a Development Environment
7
-
order: 2
8
-
4
+
key: development environment
5
+
parent: contribute to eslint
6
+
title: Set up a Development Environment
7
+
order: 6
9
8
---
10
9
11
10
ESLint has a very lightweight development environment that makes updating code fast and easy. This is a step-by-step guide to setting up a local development environment that will let you contribute back to the project.
One of the great things about open source projects is that anyone can contribute in any number of meaningful ways. ESLint couldn't exist without the help of the many contributors it's had since the project began, and we want you to feel like you can contribute and make a difference as well.
@@ -16,34 +14,54 @@ This guide is intended for anyone who wants to contribute to an ESLint project.
16
14
17
15
ESLint welcomes contributions from everyone and adheres to the [OpenJS Foundation Code of Conduct](https://eslint.org/conduct). We kindly request that you read over our code of conduct before contributing.
18
16
19
-
## [Bug Reporting](report-bugs)
17
+
## [Report Bugs](report-bugs)
20
18
21
19
Think you found a problem? We'd love to hear about it. This section explains how to submit a bug, the type of information we need to properly verify it, and the overall process.
22
20
23
-
## Proposing a [New Rule](propose-new-rule)
21
+
## [Propose a New Rule](propose-new-rule)
24
22
25
23
We get a lot of proposals for new rules in ESLint. This section explains how we determine which rules are accepted and what information you should provide to help us evaluate your proposal.
26
24
27
-
## Proposing a [Rule Change](propose-rule-change)
25
+
## [Propose a Rule Change](propose-rule-change)
28
26
29
27
Want to make a change to an existing rule? This section explains the process and how we evaluate such proposals.
30
28
31
-
## Requesting a [Change](request-change)
29
+
## [Request a Change](request-change)
32
30
33
31
If you'd like to request a change other than a bug fix or new rule, this section explains that process.
34
32
35
-
## Reporting a security vulnerability
33
+
## [Architecture](architecture)
34
+
35
+
Learn about the architecture of the ESLint project.
36
+
37
+
## [Get the Source Code](source-code)
38
+
39
+
Before you can get started developing ESLint, you'll need to get a copy of the ESLint source code. This section explains how to do that and a little about the source code structure.
40
+
41
+
## [Set up a Development Environment](development-environment)
42
+
43
+
Developing for ESLint is a bit different than running it on the command line. This section shows you how to set up a development environment and get you ready to write code.
36
44
37
-
To report a security vulnerability in ESLint, please use our [HackerOne program](https://hackerone.com/eslint).
45
+
## [Run the Tests](tests)
38
46
39
-
## [Working on Issues](work-on-issue)
47
+
There are a lot of unit tests included with ESLint to make sure that we're keeping on top of code quality. This section explains how to run the unit tests.
48
+
49
+
## [Work on Issues](work-on-issue)
40
50
41
51
Have some extra time and want to contribute? This section talks about the process of working on issues.
42
52
43
-
## Submitting a [Pull Request](pull-requests)
53
+
## [Submit a Pull Request](pull-requests)
44
54
45
55
We're always looking for contributions from the community. This section explains the requirements for pull requests and the process of contributing code.
46
56
47
-
## Signing the CLA
57
+
## [Governance](governance)
58
+
59
+
Describes the governance policy for ESLint, including the rights and privileges of individuals inside the project.
60
+
61
+
## Report a Security Vulnerability
62
+
63
+
To report a security vulnerability in ESLint, please use our [create an advisory](https://github.com/eslint/eslint/security/advisories/new).
64
+
65
+
## Sign the CLA
48
66
49
67
In order to submit code or documentation to an ESLint project, you will need to electronically sign our Contributor License Agreement. The CLA is the commonly used Apache-style template, and is you giving us permission to use your contribution. You only need to sign the CLA once for any OpenJS Foundation projects that use EasyCLA. You will be asked to sign the CLA in the first pull request you open.
Copy file name to clipboardExpand all lines: docs/src/contribute/propose-new-rule.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
1
---
2
-
title: New Rules
3
-
2
+
title: Propose a New Rule
3
+
eleventyNavigation:
4
+
key: propose rule
5
+
parent: contribute to eslint
6
+
title: Propose a New Rule
7
+
order: 2
4
8
---
5
9
6
10
ESLint is all about rules. For most of the project's lifetime, we've had over 200 rules, and that list continues to grow. However, we can't just accept any proposed rule because all rules need to work cohesively together. As such, we have some guidelines around which rules can be part of the ESLint core and which are better off as custom rules and plugins.
@@ -42,4 +46,4 @@ The ESLint team doesn't implement new rules that are suggested by users because
42
46
43
47
## Alternative: Creating Your Own Rules
44
48
45
-
Remember that ESLint is completely pluggable, which means you can create your own rules and distribute them using plugins. We did this on purpose because we don't want to be the gatekeepers for all possible rules. Even if we don't accept a rule into the core, that doesn't mean you can't have the exact rule that you want. See the [working with rules](../extend/custom-rules) and [working with plugins](../extend/plugins) documentation for more information.
49
+
Remember that ESLint is completely pluggable, which means you can create your own rules and distribute them using plugins. We did this on purpose because we don't want to be the gatekeepers for all possible rules. Even if we don't accept a rule into the core, that doesn't mean you can't have the exact rule that you want. See the [Custom Rules](../extend/custom-rules) and [Create Plugins](../extend/plugins) documentation for more information.
Copy file name to clipboardExpand all lines: docs/src/contribute/propose-rule-change.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
1
---
2
-
title: Rule Changes
3
-
2
+
title: Propose a Rule Change
3
+
eleventyNavigation:
4
+
key: propose rule change
5
+
parent: contribute to eslint
6
+
title: Propose a Rule Change
7
+
order: 3
4
8
---
5
9
6
10
Occasionally, a core ESLint rule needs to be changed. This is not necessarily a bug, but rather, an enhancement that makes a rule more configurable. In those situations, we will consider making changes to rules.
Copy file name to clipboardExpand all lines: docs/src/contribute/pull-requests.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
1
---
2
-
title: Pull Requests
3
-
2
+
title: Submit a Pull Request
3
+
eleventyNavigation:
4
+
key: submit pull request
5
+
parent: contribute to eslint
6
+
title: Submit a Pull Request
7
+
order: 9
4
8
---
5
9
6
10
If you want to contribute to an ESLint repo, please use a GitHub pull request. This is the fastest way for us to evaluate your code and to merge it into the code base. Please don't file an issue with snippets of code. Doing so means that we need to manually merge the changes in and update any appropriate tests. That decreases the likelihood that your code is going to get included in a timely manner. Please use pull requests.
0 commit comments