Skip to content

Commit

Permalink
style: Use eslint-config-standard + prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Sep 25, 2017
1 parent 524775e commit 07bff6a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -6,6 +6,6 @@
[![Coverage Status](https://coveralls.io/repos/semantic-release/error/badge.svg)](https://coveralls.io/r/semantic-release/error)
[![Dependency Status](https://david-dm.org/semantic-release/error.svg)](https://david-dm.org/semantic-release/error)
[![devDependency Status](https://david-dm.org/semantic-release/error/dev-status.svg)](https://david-dm.org/semantic-release/error#info=devDependencies)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
[![license](https://img.shields.io/github/license/semantic-release/error.svg)](https://github.com/semantic-release/error/blob/master/LICENSE)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
29 changes: 28 additions & 1 deletion package.json
Expand Up @@ -15,10 +15,30 @@
"coveralls": "^2.11.4",
"commitizen": "^2.9.6",
"cz-conventional-changelog": "^2.0.0",
"eslint": "^4.7.0",
"eslint-config-prettier": "^2.5.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-node": "^5.1.1",
"eslint-plugin-prettier": "^2.2.0",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"nyc": "^11.2.1",
"semantic-release": "^8.0.0",
"standard": "^10.0.3",
"tap": "^10.7.2"
"prettier": "^1.7.0",
},
"eslintConfig": {
"extends": [
"standard",
"prettier"
],
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": 2
}
},
"files": [
"index.js"
Expand All @@ -30,6 +50,12 @@
],
"license": "MIT",
"main": "index.js",
"prettier": {
"printWidth": 120,
"singleQuote": true,
"bracketSpacing": false,
"trailingComma": "es5"
},
"repository": {
"type": "git",
"url": "https://github.com/semantic-release/error.git"
Expand All @@ -39,6 +65,7 @@
"coverage:upload": "npm run -s coverage -- --reporter=text-lcov | coveralls",
"pretest": "standard",
"cm": "git-cz",
"lint": "eslint .",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"test": "nyc tap --no-cov test/*.js"
},
Expand Down

0 comments on commit 07bff6a

Please sign in to comment.