Skip to content

Commit

Permalink
🔧 Add ESLint configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
kghugo committed Aug 4, 2020
1 parent d3a23fe commit ba2bdb8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Ignore dist folder
/dist/*.js
23 changes: 23 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"env": {
"browser": true,
"jasmine": true,
"es2020": true
},
"plugins": [
"mocha"
],
"extends": [
"standard",
"plugin:mocha/recommended"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"rules": {
"no-unused-vars": 1,
"no-unreachable": 0,
"prefer-object-spread": 1
}
}

0 comments on commit ba2bdb8

Please sign in to comment.