npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

fly-eslint-xo

1.0.0

@lukeed

npmHomeRepoSnykSocket
Downloads:111
$ npm install fly-eslint-xo
DailyWeeklyMonthlyYearly

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