mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-13 05:31:37 +08:00
Added example based on react
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user