JSPM

fly-eslint-xo

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q30701F
  • License MIT

Use XO's shareable config for fly-eslint

Package Exports

  • fly-eslint-xo

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fly-eslint-xo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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