Skip to content

Commit

Permalink
build: update lint system and coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed Jun 6, 2019
1 parent 74f3cca commit 1539df8
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 9 deletions.
29 changes: 28 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"version": "conventional-changelog -i changelog.md -s -r 0 && git commit -am \"build: update changelog\"",
"prepare": "npm run build",
"build": "rimraf lib && babel src -d lib",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"test": "nyc ava"
},
"files": [
Expand Down Expand Up @@ -56,11 +57,13 @@
"coveralls": "^3.0.3",
"eslint": "^5.16.0",
"eslint-config-xo": "^0.26.0",
"eslint-config-xo-space": "^0.21.0",
"eslint-plugin-ava": "^7.0.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-dependencies": "^2.4.0",
"eslint-plugin-html": "^5.0.5",
"eslint-plugin-markdown": "^1.0.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-unicorn": "^9.0.0",
"husky": "^2.4.0",
"lint-staged": "^8.1.7",
Expand Down Expand Up @@ -108,24 +111,20 @@
"eslintConfig": {
"parser": "babel-eslint",
"plugins": [
"prettier",
"dependencies",
"html",
"unicorn",
"babel",
"markdown"
],
"extends": [
"plugin:ava/recommended",
"plugin:unicorn/recommended",
"xo"
"xo",
"xo-space"
],
"rules": {
"indent": [
2,
4,
{
"SwitchCase": 1
}
],
"capitalized-comments": "off"
}
},
Expand Down

0 comments on commit 1539df8

Please sign in to comment.