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

Package detail

eslint-config-poetic

poetic9MIT1.1.0

Poetic's ESlint config based on Airbnb's

style, airbnb, eslint, poetic

readme

eslint-config-poetic

travis npm semantic-release

This linter package is based on AirBnB's configuration.

Installation

  1. npm install --save-dev eslint-config-poetic
  2. add .eslintrc with the following content:
    {
    "extends": "poetic"
    }

Usage

To run eslint from the command line, try this from your app root directory:

eslint --ext .js,.jsx .

Vim Integration

Install the Syntastic plugin, then add the following to your .vimrc:

let g:syntastic_javascript_checkers=['eslint']
let g:syntastic_javascript_eslint_args="--ext .js,.jsx"

Be sure to remove any other lines that set syntastic_javascript_checkers, if they exist.