Browse Source

Update to xo

pull/46/merge
Luke Childs 8 years ago
parent
commit
ab8f1d4515
  1. 2
      .travis.yml
  2. 19
      package.json

2
.travis.yml

@ -3,7 +3,7 @@ node_js:
- 'node'
- '6'
- '4'
script: npm run lint && npm test
script: npm test
after_success: npm run coverage
notifications:
email:

19
package.json

@ -7,15 +7,14 @@
"node": ">=4"
},
"scripts": {
"test": "nyc ava test",
"lint": "eslint src",
"test": "xo && nyc ava",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},
"eslintConfig": {
"extends": "lukechilds",
"rules": {
"prefer-rest-params": "off"
}
"xo": {
"extends": "xo-lukechilds",
"envs": [
"browser"
]
},
"repository": {
"type": "git",
@ -41,8 +40,8 @@
"devDependencies": {
"ava": "^0.20.0",
"coveralls": "^2.11.13",
"eslint": "^4.1.0",
"eslint-config-lukechilds": "^1.9.0",
"nyc": "^11.0.1"
"eslint-config-xo-lukechilds": "^1.0.0",
"nyc": "^11.0.2",
"xo": "^0.18.2"
}
}

Loading…
Cancel
Save