Skip to content

Commit

Permalink
fix: add eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabrina Heid committed May 27, 2020
1 parent dc2f658 commit 311f718
Show file tree
Hide file tree
Showing 2 changed files with 19 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 @@
# not ignored folders/files
!.travis.yml
17 changes: 17 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = {
env: {
browser: true,
es6: true
},
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module'
},
plugins: [
'yaml',
'json'
],
extends: [
'plugin:json/recommended'
]
};

0 comments on commit 311f718

Please sign in to comment.