eslint-config-spur

0.0.2 • Public • Published
Spur

eslint-config-spur

Extends eslint-config-airbnb with some basic overrides for the style to be used on the Spur based packages.

NPM version Build Status

This package provides Spur's .eslintrc as an extensible shared config. We extend eslint-config-airbnb-base.

Usage

We export three ESLint configurations for your usage.

The export lints ES6/2015+. It requires eslint.

  1. npm install --save-dev eslint-config-spur eslint
  2. add "extends": "spur" to your .eslintrc

See Airbnb's Javascript styleguide and the ESlint config docs for more information.

Major differences

The main difference between this config and airbnb's is a set of minor adjustments. This will change overtime as we conduct more reviews of our process.

  • Console logs are allowed, but warnings are reported.
  • Double equals (==) is permitted for one special case: == null. This allows you to determine equality with undefined and/or null in one statement.
  • Comma dangle is turned off. Some consider this good practice, some don't. We don't.

Package Sidebar

Install

npm i eslint-config-spur

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • acolchado
  • arnoldzokas