Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-changes

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-changes

Run with TravisCI and have the ESLint results for the changed files added to your GitHub statuses for the pull request or commit.

  • 0.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

ESLint Changes

ESLint changes is a script that is run by TravisCI for commits and pull requests. It runs ESLint on the files that were changed and adds the results to GitHub as a status.

ESLint Changes status

Installation

  • Set GITHUB_TOKEN environment variable in Travis to be a GitHub access token with repo privileges.
  • Install the eslint-changes package from npm during the Travis install step:
install:
  - npm install eslint-changes
  • Run the ESLint Changes bin during the Travis script step:
script:
  - ./node_modules/.bin/eslint-changes

Details

  • ESLint Changes has eslint: "3.x" as a peer dependency. That means that your project must already have eslint installed and configured.
  • ESLint Changes will use any configuration like .eslintrc, .eslintignore, plugins or other configurations that are present in the project.
  • If you don't like installing eslint-changes from Travis, you can add it to your projects package.json and add only the script part to .travis.yml.

Keywords

FAQs

Package last updated on 24 Oct 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