0.3.0 • Published 6 years ago
@awardit/eslint-config-xo v0.3.0
Crossroads Loyalty Solutions JavaScript Code Style
Installation
npm i -DE xo @crossroads-loyalty-solutions/eslint-config-xoAdd 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.
0.3.0
6 years ago