👮 add eslint

This commit is contained in:
Joshua Seigler 2019-05-03 18:27:29 -04:00
parent fe109c9f8c
commit b233594643
12 changed files with 2044 additions and 168 deletions

13
.eslintrc.json Normal file
View file

@ -0,0 +1,13 @@
{
"globals": {
"h": "readonly"
},
"extends": [
"standard",
"standard-preact"
],
"rules": {
"semi": [2, "always"],
"comma-dangle": ["error", "only-multiline"]
}
}