Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-config-nashdot

nashdot49MIT1.1.1

Nashdot's ESLint config

eslint, eslintconfig, config, nashdot, javascript, styleguide

readme

eslint-config-nashdot

This package provides Nashdot's .eslintrc as an extensible shared config.

Usage

We export three ESLint configurations for your usage.

eslint-config-nashdot

Our default export contains all of our ESLint rules, including EcmaScript 6+ and React. It requires eslint and eslint-plugin-react.

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

eslint-config-nashdot/base

Lints ES6+ but does not lint React. Requires eslint.

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

eslint-config-nashdot/legacy

Lints ES5 and below. Only requires eslint.

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

changelog

1.1.0-1 / 2016-02-24

  • Sync with airbnb styles

1.0.2-6 / 2016-02-20

  • 'max-len': 140 chars
  • 'quote-props': as-needed
  • 'object-shorthand': never
  • 'arrow-body-style': always
  • Update eslint-plugin-react to 4.0.0

1.0.1 / 2016-02-17

  • Update ESLint to 2.1.0
  • Adapt and correct rules

0.0.1 / 2016-02-17

  • Initial: copy from airbnb