chore(package): simplify xo configuration

This commit is contained in:
Pierre Vanduynslager 2018-02-15 00:25:12 -05:00
parent ce15b75edf
commit aa724e80f7

View File

@ -53,8 +53,6 @@
"cz-conventional-changelog": "^2.0.0", "cz-conventional-changelog": "^2.0.0",
"delay": "^2.0.0", "delay": "^2.0.0",
"dockerode": "^2.5.2", "dockerode": "^2.5.2",
"eslint-config-prettier": "^2.5.0",
"eslint-plugin-prettier": "^2.3.0",
"file-url": "^2.0.2", "file-url": "^2.0.2",
"fs-extra": "^5.0.0", "fs-extra": "^5.0.0",
"got": "^8.0.0", "got": "^8.0.0",
@ -63,7 +61,6 @@
"nock": "^9.0.2", "nock": "^9.0.2",
"nyc": "^11.2.1", "nyc": "^11.2.1",
"p-retry": "^1.0.0", "p-retry": "^1.0.0",
"prettier": "~1.10.0",
"proxyquire": "^1.8.0", "proxyquire": "^1.8.0",
"sinon": "^4.0.0", "sinon": "^4.0.0",
"tempy": "^0.2.1", "tempy": "^0.2.1",
@ -107,10 +104,7 @@
"all": true "all": true
}, },
"prettier": { "prettier": {
"printWidth": 120, "printWidth": 120
"singleQuote": true,
"bracketSpacing": false,
"trailingComma": "es5"
}, },
"publishConfig": { "publishConfig": {
"tag": "next" "tag": "next"
@ -131,14 +125,7 @@
"test": "nyc ava -v" "test": "nyc ava -v"
}, },
"xo": { "xo": {
"extends": [ "prettier": true,
"prettier" "space": true
],
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": 2
}
} }
} }