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
- inherit using util.inherits; must be add top of file for node 4
  • Loading branch information
mojavelinux committed Jan 23, 2018
1 parent e5d8f04 commit 3a7daee
Show file tree
Hide file tree
Showing 5 changed files with 1,849 additions and 189 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"],
}
}
12 changes: 7 additions & 5 deletions .travis.yml
@@ -1,8 +1,10 @@
language: node_js
sudo: false
node_js:
- "4"
- "6"
- "8"
- "9"
- "node"
- "4"
- "6"
- "8"
- "9"
script:
- npm run lint
- npm test

0 comments on commit 3a7daee

Please sign in to comment.