1.0.0 • Published 8 years ago

fly-eslint-xo v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Use XO's shareable config for fly-eslint

npm package

Install

This package depends on fly-eslint. It must be installed before (or with) fly-eslint-xo.

npm install -D fly-eslint fly-eslint-xo

Then create a .eslintrc file in your project root.

For ES5 linting:

{
  "extends": "xo"
}

For ES2015 (or "ES6") linting:

{
  "extends": "xo/esnext"
}

Check out XO's Documentation for information on usage and configuration.

Usage

Follow the normal fly-eslint usage:

export function* linter () {
  yield this.source("src/**/*.js").eslint()
}

License

MIT © Luke Edwards et al