@jenkins-cd/eslint-config-jenkins
Jenkins JavaScript ESLint configuration
Last updated 4 years ago by tfennelly .
MIT · Original npm · Tarball · package.json
$ cnpm install @jenkins-cd/eslint-config-jenkins 
SYNC missed versions from official npm registry.

ESLint configurations for Jenkins JavaScript projects.

We are hoping that people will try taking these and using them as they are. It would be nice for all Jenkins related JavaScript code to follow the same standards as much as possible.

Note: If using @jenkins-cd/js-builder, there's typically no need to specify a .eslintrc file. @jenkins-cd/js-builder will automatically lint using one of the following configurations, using the builder instance lang setting (default es6), or will use react if it detects .jsx files in the builder source paths.

ES6

.eslintrc:

{
    "extends": "@jenkins-cd/jenkins/es6"
}

Note: Applied by default if using @jenkins-cd/js-builder i.e. no need to specify the .eslintrc file.

ES5

.eslintrc:

{
    "extends": "@jenkins-cd/jenkins/es5"
}

Note: Applied by @jenkins-cd/js-builder if the builder instance lang is es5 (builder.lang('es5')).

React

.eslintrc:

{
    "extends": "@jenkins-cd/jenkins/react"
}

Note: Applied by @jenkins-cd/js-builder if the builder instance lang is react (builder.lang('react')), or if .jsx files are detected in any of the source paths.

Current Tags

  • 0.0.2                                ...           latest (4 years ago)
  • 0.0.3-thor5                                ...           thor (4 years ago)

7 Versions

  • 0.0.3-thor5                                ...           4 years ago
  • 0.0.3-thor4                                ...           4 years ago
  • 0.0.3-thor3                                ...           4 years ago
  • 0.0.3-thor2                                ...           4 years ago
  • 0.0.3-thor                                ...           4 years ago
  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Downloads
Today 0
This Week 8
This Month 11
Last Day 7
Last Week 1
Last Month 4
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |