Skip to content

Commit eccba63

Browse files
committed
Remove a few unneed lines and have the linting tests run by CircleCI
1 parent 40d5d45 commit eccba63

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.eslintrc.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"airbnb",
44
"plugin:prettier/recommended"
55
],
6-
"parser": "babel-eslint",
7-
"root": true,
86
"env": {
97
"browser": true,
108
"es6": true,

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@
2020
"react-scripts": "1.1.1"
2121
},
2222
"scripts": {
23-
"prettier": "prettier --write 'src/**/*.jsx' 'src/**/*.js'",
24-
"lint": "eslint -c .eslintrc.json ./src",
23+
"prettier": "prettier --write 'src/**/*.js'",
2524
"start": "react-scripts start",
2625
"build": "react-scripts build",
27-
"test": "react-scripts test --env=jsdom",
26+
"test": "yarn test:lint && yarn test:unit",
27+
"test:unit": "react-scripts test --env=jsdom",
28+
"test:lint": "eslint ./src",
2829
"eject": "react-scripts eject"
2930
}
3031
}

0 commit comments

Comments
 (0)