fly-eslint-xo

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i fly-eslint-xo

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • lukeed