0.3.0 • Published 4 years ago

@awardit/eslint-config-xo v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Crossroads Loyalty Solutions JavaScript Code Style

Greenkeeper badge

Installation

npm i -DE xo @crossroads-loyalty-solutions/eslint-config-xo

Add the following to your package.json:

{
  "scripts": {
    "test:xo": "xo"
  },
  "xo": {
    "extends": [
      "@crossroads-loyalty-solutions/eslint-config-xo"
    ]
  }
}

React and GraphQL lints

React and GraphQL will only their lints if react and graphql modules are installed, respectively. This will avoid unnecessary depenencies or errors.