Skip to content

lukeed/fly-eslint-xo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Use XO's shareable config for fly-eslint

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published