New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@jenkins-cd/eslint-config-jenkins

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jenkins-cd/eslint-config-jenkins

Jenkins JavaScript ESLint configuration

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

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.

FAQs

Package last updated on 07 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc