Added eslintrc config

This commit is contained in:
dbroqua 2019-06-25 14:58:57 +02:00
parent b5538ee287
commit 4dc1d30012

34
.eslintrc.json Normal file
View file

@ -0,0 +1,34 @@
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"airbnb"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
]
}
}