Browse Source

Rename check-all:verbose to ci-check, add some useful eslint config

main
jxom 7 years ago
parent
commit
5a96b1da03
  1. 10
      .eslintrc
  2. 2
      package.json

10
.eslintrc

@ -1,7 +1,15 @@
{
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"plugins": [
"prettier",
"react"
],
"parser": "babel-eslint",
}
"env": {
"node": true,
"browser": true
}
}

2
package.json

@ -69,7 +69,7 @@
"scripts": {
"build": "gatsby build",
"check-all": "yarn prettier && yarn lint && yarn flow",
"check-all:verbose": "yarn prettier:diff && yarn lint && yarn flow",
"ci-check": "yarn prettier:diff && yarn lint && yarn flow",
"dev": "gatsby develop -H 0.0.0.0",
"lint": "eslint .",
"netlify": "yarn install && yarn build",

Loading…
Cancel
Save