Add react plugin to eslinter
parent
d6c82aabcd
commit
8b0a91ffbb
|
@ -13,6 +13,10 @@
|
||||||
"modules": [2]
|
"modules": [2]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"plugins": [
|
||||||
|
"react"
|
||||||
|
],
|
||||||
|
|
||||||
"rules": {
|
"rules": {
|
||||||
"block-scoped-var": [0],
|
"block-scoped-var": [0],
|
||||||
"brace-style": [2, "1tbs", {
|
"brace-style": [2, "1tbs", {
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
"coffee-jsx-loader" : "^0.1.2",
|
"coffee-jsx-loader" : "^0.1.2",
|
||||||
"css-loader" : "^0.14.5",
|
"css-loader" : "^0.14.5",
|
||||||
"eslint" : "^1.3.1",
|
"eslint" : "^1.3.1",
|
||||||
|
"eslint-plugin-react" : "^3.3.1",
|
||||||
"extract-text-webpack-plugin" : "^0.8.1",
|
"extract-text-webpack-plugin" : "^0.8.1",
|
||||||
"expect" : "^1.8.0",
|
"expect" : "^1.8.0",
|
||||||
"karma" : "^0.13.3",
|
"karma" : "^0.13.3",
|
||||||
|
|
Loading…
Reference in New Issue