forked from tj/commander.js
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resolves tj#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
- Loading branch information
1 parent
e5d8f04
commit a91cfaa
Showing
4 changed files
with
98 additions
and
87 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 |
---|---|---|
|
@@ -6,3 +6,6 @@ node_js: | |
- "8" | ||
- "9" | ||
- "node" | ||
script: | ||
- npm run lint | ||
- npm test |
Oops, something went wrong.