Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 1.15 KB

README.md

File metadata and controls

56 lines (45 loc) · 1.15 KB

eslint-config-sagastandard

eslint sharable config for sagastandard

Install (project)

Add as dependencies:

$ npm install --save-dev \
  eslint \
  eslint-config-sagastandard \
  eslint-config-semistandard \
  eslint-config-standard \
  eslint-config-standard-jsx \
  eslint-plugin-import \
  eslint-plugin-node \
  eslint-plugin-promise \
  eslint-plugin-react \
  eslint-plugin-standard

Add the following to your eslintrc.json or to your package.json "eslintConfig" key:

{
  "extends": [ "sagastandard" ]
}

Install (global)

$ npm install -g \
  eslint \
  eslint-config-sagastandard \
  eslint-config-semistandard \
  eslint-config-standard \
  eslint-config-standard-jsx \
  eslint-plugin-import \
  eslint-plugin-node \
  eslint-plugin-promise \
  eslint-plugin-react \
  eslint-plugin-standard

Usage

Read up on how to use sharable configs at the eslint website.

Atom

Use linter-eslint

Sublime

Use SublimeLinter-eslint

License

ISC