Skip to content

Commit

Permalink
Merge pull request #69 from oliverroick/jshint
Browse files Browse the repository at this point in the history
Linting + Refactoring to pass linting
  • Loading branch information
oliverroick authored Jan 23, 2019
2 parents c44c128 + 35cb08c commit 67fad88
Show file tree
Hide file tree
Showing 6 changed files with 1,999 additions and 826 deletions.
23 changes: 23 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"extends": "airbnb-base",
"parserOptions": {
"ecmaVersion": 5,
"sourceType": "script"
},
"globals": {
"L": true,
"describe": false,
"beforeEach": false,
"afterEach": false,
"it": false
},
"rules": {
"no-underscore-dangle": "off",
"no-var": "off",
"func-names": "off",
"object-shorthand": "off",
"prefer-destructuring": "off",
"no-param-reassign": "off",
"prefer-arrow-callback": "off"
}
}
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ language: node_js
node_js:
- "8"
- "10"
jobs:
include:
- stage: Lint
node_js: "10"
script: npm run lint
Loading

0 comments on commit 67fad88

Please sign in to comment.