Skip to content

Commit

Permalink
resolves tj#754 add linter configuration to project
Browse files Browse the repository at this point in the history
- add linter configuration based on StandardJS
- customize linter to fit with style of project
- update source to reconcile violations
  • Loading branch information
mojavelinux committed Jan 23, 2018
1 parent e5d8f04 commit a91cfaa
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 87 deletions.
9 changes: 9 additions & 0 deletions .eslintrc
@@ -0,0 +1,9 @@
{
"extends": "standard",
"rules": {
"eqeqeq": "off",
"one-var": "off",
"semi": ["error", "always", { "omitLastInOneLineBlock": true }],
"space-before-function-paren": ["error", "never"],
}
}
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -6,3 +6,6 @@ node_js:
- "8"
- "9"
- "node"
script:
- npm run lint
- npm test

0 comments on commit a91cfaa

Please sign in to comment.