-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resolves #754 add linter configuration to project
- 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
1 parent
e5d8f04
commit 4c9b4b8
Showing
5 changed files
with
1,850 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"extends": "standard", | ||
"rules": { | ||
"eqeqeq": "off", | ||
"one-var": "off", | ||
"semi": ["error", "always", { "omitLastInOneLineBlock": true }], | ||
"space-before-function-paren": ["error", "never"], | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
language: node_js | ||
sudo: false | ||
node_js: | ||
- "4" | ||
- "6" | ||
- "8" | ||
- "9" | ||
- "node" | ||
- "4" | ||
- "6" | ||
- "8" | ||
- "9" | ||
before_install: if [[ $(node -v) == v4* && $(npm -v) != 3* ]]; then npm i -g npm@3; fi | ||
script: | ||
- npm run lint | ||
- npm test |
Oops, something went wrong.