Skip to content

Commit 5a96b1d

Browse files
committed
Rename check-all:verbose to ci-check, add some useful eslint config
1 parent d26cf5f commit 5a96b1d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.eslintrc

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
{
2+
"extends": [
3+
"eslint:recommended",
4+
"plugin:react/recommended"
5+
],
26
"plugins": [
37
"prettier",
48
"react"
59
],
610
"parser": "babel-eslint",
7-
}
11+
"env": {
12+
"node": true,
13+
"browser": true
14+
}
15+
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"scripts": {
7070
"build": "gatsby build",
7171
"check-all": "yarn prettier && yarn lint && yarn flow",
72-
"check-all:verbose": "yarn prettier:diff && yarn lint && yarn flow",
72+
"ci-check": "yarn prettier:diff && yarn lint && yarn flow",
7373
"dev": "gatsby develop -H 0.0.0.0",
7474
"lint": "eslint .",
7575
"netlify": "yarn install && yarn build",

0 commit comments

Comments
 (0)