Added example based on react

This commit is contained in:
Christoph Oberhofer
2016-05-22 22:12:22 +02:00
parent bc2d8c5f5e
commit 1f3ff9bc70
15 changed files with 7677 additions and 4362 deletions
+11 -1
View File
@@ -3,10 +3,19 @@
"ecmascript": 6,
"jsx": true
},
"plugins": [
"react"
],
"env": {
"browser": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"ecmaFeatures": {
"blockBindings": true,
"forOf": true,
@@ -75,6 +84,7 @@
"space-infix-ops": 2,
"max-len" : [1, 120],
"consistent-return": 2,
"yoda": 2
"yoda": 2,
"react/jsx-no-undef": 1
}
}