This patch updates/adds the contributor documentation to follow the guidelines of the Ussuri cycle community goal.  https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html Story: #2007236 Task: #38554 Change-Id: I6feaa5e6ef9ec56094cbb725a44893aabb83dd24
|7 months ago|
|doc||7 months ago|
|spec||4 years ago|
|.editorconfig||5 years ago|
|.eslintrc||4 years ago|
|.eslintrc-es2015||4 years ago|
|.gitignore||4 years ago|
|.gitreview||1 year ago|
|.npmrc||5 years ago|
|.zuul.yaml||2 years ago|
|CONTRIBUTING.rst||7 months ago|
|LICENSE||5 years ago|
|README.md||4 years ago|
|bindep.txt||4 years ago|
|es2015.js||4 years ago|
|index.js||4 years ago|
|load-config.js||4 years ago|
|package.json||1 year ago|
OpenStack has a set of style guidelines for clarity. OpenStack is a very large code base, spanning dozens of git trees, with over a thousand developers contributing every 6 months. As such, common style helps developers understand code in reviews, move between projects smoothly, and overall make the code more maintainable.
Even though eslint permits overriding rules on a per-project basis, it should be the goal of every project to stay as close to the common guidelines as possible.
To add these rules to your project, follow these steps.
npm install --save-dev eslint eslint-config-openstack
extends: "openstack"to your
.eslintrcyaml file. If your project is using ES2015, add
If you would like to contribute, please follow OpenStack’s contribution guidelines.
Patches that activate, deactivate, or modify rules, should only be merged if a consensus of reviewers is reached. In this case, consensus means at least five positive votes (+1 or +2), with no -1 votes. Cores may not override and/or ignore -1 votes.
Patches that upgrade eslint only require two core approvers to land. These patches must add new upstream rules in a deactivated state, and delete any deprecated rules.
Updates to policies and governance on this project require +2 votes from all direct cores on the project. Core votes from the parent OpenStack QA project are optional.
Cores should attempt to keep the list of extant patches small and managable. As such, they should talk to any author whose patch has failed to garner the necessary support, and has experienced one month of inactivity. Reasonable notice should be given to the author before a patch is abandoned.