🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@shiftgig/eslint-config

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shiftgig/eslint-config

eslint config for Shiftgig apps

latest
npmnpm
Version
1.0.6
Version published
Maintainers
2
Created
Source

This repo contains Shiftgig JavaScript linting rules. In order to be sharable between apps it's published to the Shiftgig npm org as @shiftgig/eslint-config.

The config is centered around Airbnb defaults with a few rule changes. Many default Airbnb rules are set to warn temporarily while we work on fixing them.

Install

npm install eslint --save-dev

npm install @shiftgig/eslint-config --save-dev

Then just create a .eslintrc file in the root of your project with:

{ "extends": ["@shiftgig/eslint-config"] }

Run with ./node_modules/.bin/eslint yourfile.js

Updating the npm package

Create a PR to master so everyone can review and agree on changes. Then run npm publish

FAQs

Package last updated on 27 Apr 2018

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