added .eslintrc

This commit is contained in:
notnull 2019-03-23 13:18:11 -04:00
parent 269b39979d
commit a7a9a3e97b

21
.eslintrc Normal file
View File

@ -0,0 +1,21 @@
{
"extends": ["eslint:recommended", "plugin:react/recommended"],
"parser": "babel-eslint",
"env": {
"browser": true,
"es6": true,
"node": true,
"mocha": true
},
"rules": {
"quotes": [1, "single"],
"no-unused-vars": [1],
"no-use-before-define": [2, "nofunc"],
"indent": [1, 2],
"semi": [1, "never"],
"no-console": 0,
"no-irregular-whitespace": 0,
"react/prop-types": 0
}
}