mirror of
https://github.com/react-webpack-generators/generator-react-webpack.git
synced 2025-12-08 18:01:59 +00:00
make jsx hint default to resolve warnings when compiling
This commit is contained in:
parent
6fd793fad0
commit
9c3473b8d1
@ -34,6 +34,7 @@
|
|||||||
"webpack-dev-server": "~1.6.5",
|
"webpack-dev-server": "~1.6.5",
|
||||||
"grunt-open": "~0.2.3",
|
"grunt-open": "~0.2.3",
|
||||||
"jshint-loader": "~0.8.0",
|
"jshint-loader": "~0.8.0",
|
||||||
|
"jsxhint-loader": "~0.2.0",
|
||||||
"grunt-contrib-copy": "~0.5.0",<% if (es6) { %>
|
"grunt-contrib-copy": "~0.5.0",<% if (es6) { %>
|
||||||
"babel": "^4.0.0",
|
"babel": "^4.0.0",
|
||||||
"babel-loader": "^4.0.0",<% } %>
|
"babel-loader": "^4.0.0",<% } %>
|
||||||
|
|||||||
@ -34,7 +34,7 @@ module.exports = {
|
|||||||
preLoaders: [{
|
preLoaders: [{
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
loader: 'jshint'
|
loader: 'jsxhint'
|
||||||
}],
|
}],
|
||||||
loaders: [{
|
loaders: [{
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
|
|||||||
@ -40,7 +40,7 @@ module.exports = {
|
|||||||
preLoaders: [{
|
preLoaders: [{
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
loader: 'jshint'
|
loader: 'jsxhint'
|
||||||
}],
|
}],
|
||||||
|
|
||||||
loaders: [{
|
loaders: [{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user