Skip to content

Commit cdaad47

Browse files
committed
Move babel config to separate file and enable color in linting
1 parent 1b35d19 commit cdaad47

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.babelrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"presets": [
3+
"latest"
4+
]
5+
}

package.json

+1-6
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"prestart": "babel-node buildScripts/startMessage.js",
77
"start": "npm-run-all --parallel test:watch open:src lint:watch",
88
"open:src": "babel-node buildScripts/srcServer.js",
9-
"lint": "node_modules/.bin/esw webpack.config.* src buildScripts",
9+
"lint": "node_modules/.bin/esw webpack.config.* src buildScripts --color",
1010
"lint:watch": "npm run lint -- --watch",
1111
"test": "mocha --reporter progress buildScripts/testSetup.js \"src/**/*.spec.js\"",
1212
"test:watch": "npm run test -- --watch",
@@ -49,10 +49,5 @@
4949
"repository": {
5050
"type": "git",
5151
"url": "https://github.com/coryhouse/pluralsight-redux-starter"
52-
},
53-
"babel": {
54-
"presets": [
55-
"latest"
56-
]
5752
}
5853
}

0 commit comments

Comments
 (0)