chore: Set up ESLint

This commit is contained in:
Cole Bemis 2017-07-03 14:30:44 -07:00 committed by Cole Bemis
parent 9b5dc81118
commit c089ee1f89
2 changed files with 13 additions and 0 deletions

1
.eslintignore Normal file
View File

@ -0,0 +1 @@
dist

12
.eslintrc.json Normal file
View File

@ -0,0 +1,12 @@
{
"extends": "airbnb-base",
"plugins": [
"import"
],
"rules": {
"no-use-before-define": "off",
"arrow-parens": ["error", "as-needed"],
"no-shadow": "off",
"no-console": ["error", { "allow": ["warn", "error"] }]
}
}