Added eslint-config-openstack

This project is intended to be a javascript equivalent of openstack's
"hacking" project. It will also act as a testbed for any openstack tools
used to publish this project to the npm repository.

Rules within the project have been set to what is currently under
discussion in the 'depends-on' patch. The openstack namespace has been
chosen over openstack-dev, as I was informed that the latter is being
deprecated in favor of the former.

Channel notifications have been added to openstack-javascript,
openstack-merges, and openstack-qa. Projects that use these linting
rules should add their own channel subscriptions.

Change-Id: I434465d126ee22bd7fb5e1f9d6d77763640aa3d9
Depends-on: Ib4c3f77f8cc3cdaa3c7558b7bc3a6d1299b6dcbe
This commit is contained in:
Michael Krotscheck 2015-06-23 21:58:07 -07:00
parent 02360a54cc
commit 7a914c2377
6 changed files with 45 additions and 0 deletions

View File

@ -109,6 +109,7 @@ channels:
- name: openstack-infra
- name: openstack-infra-incident
- name: openstack-ironic
- name: openstack-javascript
- name: openstack-keystone
- name: openstack-ko
- name: openstack-lbaas

View File

@ -0,0 +1,15 @@
[access "refs/heads/*"]
abandon = group eslint-config-openstack-core
create = group eslint-config-openstack-release
label-Code-Review = -2..+2 group eslint-config-openstack-core
label-Workflow = -1..+1 group eslint-config-openstack-core
[access "refs/tags/*"]
pushSignedTag = group eslint-config-openstack-release
[receive]
requireChangeId = true
requireContributorAgreement = true
[submit]
mergeContent = true

View File

@ -927,6 +927,9 @@
description: OpenStack Documentation Specifications
- project: openstack/dragonflow
description: SDN based Distributed Virtual Router for OpenStack Neutron
- project: openstack/eslint-config-openstack
description: JavaScript Style Guidelines for OpenStack.
upstream: https://github.com/krotscheck/eslint-config-openstack.git
- project: openstack/futurist
description: A collection of async functionality and additions from the future.
groups:

View File

@ -717,6 +717,16 @@ openstack-ironic:
branches:
- master
openstack-javascript:
events:
- patchset-created
- change-merged
- x-vrif-minus-2
projects:
- openstack/eslint-config-openstack
branches:
- master
openstack-keystone:
events:
- change-merged
@ -830,6 +840,7 @@ openstack-merges:
- openstack/oslo.sphinx
- openstack/oslo.utils
- openstack/oslo.vmware
- openstack/eslint-config-openstack
- openstack-dev/cookiecutter
- openstack-dev/hacking
- openstack-dev/pbr
@ -1132,6 +1143,7 @@ openstack-qa:
- openstack/qa-specs
- openstack/tempest
- openstack/tempest-lib
- openstack/eslint-config-openstack
- openstack-dev/devstack
- openstack-dev/devstack-plugin-cookiecutter
- openstack-dev/grenade

View File

@ -176,6 +176,15 @@
branch-designator: ''
branch-override: default
- project:
name: eslint-config-openstack
node: 'bare-precise || bare-trusty'
tarball-site: tarballs.openstack.org
doc-publisher-site: docs.openstack.org
jobs:
- javascript-jobs
- project:
name: gantt
node: 'bare-precise || bare-trusty'

View File

@ -1726,6 +1726,11 @@ projects:
check:
- check-tempest-dsvm-dragonflow
- name: openstack/eslint-config-openstack
template:
- name: merge-check
- name: javascript-jobs
- name: openstack/gantt
template:
- name: merge-check