-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d82ea5b
commit de71f22
Showing
6 changed files
with
61 additions
and
8 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,39 @@ | ||
{ | ||
// ╔═╗╔═╗╦ ╦╔╗╔╔╦╗┬─┐┌─┐ | ||
// ║╣ ╚═╗║ ║║║║ ║ ├┬┘│ | ||
// o╚═╝╚═╝╩═╝╩╝╚╝ ╩ ┴└─└─┘ | ||
// A set of basic conventions designed to complement the .jshintrc file. | ||
// For the master copy of this file, see the `.eslintrc` template file in | ||
// the `sails-generate` package (https://www.npmjs.com/package/sails-generate.) | ||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
// For more information about any of the rules below, check out the relevant | ||
// reference page on eslint.org. For example, to get details on "no-sequences", | ||
// you would visit `http://eslint.org/docs/rules/no-sequences`. | ||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
|
||
"env": { | ||
"node": true | ||
}, | ||
|
||
"rules": { | ||
"callback-return": [2, ["callback", "cb", "next", "done", "proceed"]], | ||
"camelcase": [1, {"properties": "always"}], | ||
"comma-style": [2, "last"], | ||
"curly": [2], | ||
"eqeqeq": [2, "always"], | ||
"eol-last": [1], | ||
"handle-callback-err": [2], | ||
"indent": [2, 2, {"SwitchCase": 1}], | ||
"linebreak-style": [2, "unix"], | ||
"no-mixed-spaces-and-tabs": [2, "smart-tabs"], | ||
"no-return-assign": [2, "always"], | ||
"no-sequences": [2], | ||
"no-trailing-spaces": [1], | ||
"no-undef": [2], | ||
"no-unexpected-multiline": [1], | ||
"no-unused-vars": [1], | ||
"one-var": [2, "never"], | ||
"semi": [2, "always"] | ||
} | ||
|
||
} |
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
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 |
---|---|---|
|
@@ -12,10 +12,7 @@ | |
language: node_js | ||
|
||
node_js: | ||
- "0.10" | ||
- "0.12" | ||
- "4" | ||
- "5" | ||
- "6" | ||
- "7" | ||
- "node" | ||
|
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
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
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,20 @@ | ||
{ | ||
// ╔═╗╔═╗╦ ╦╔╗╔╔╦╗┬─┐┌─┐ ┌─┐┬ ┬┌─┐┬─┐┬─┐┬┌┬┐┌─┐ | ||
// ║╣ ╚═╗║ ║║║║ ║ ├┬┘│ │ │└┐┌┘├┤ ├┬┘├┬┘│ ││├┤ | ||
// o╚═╝╚═╝╩═╝╩╝╚╝ ╩ ┴└─└─┘ └─┘ └┘ └─┘┴└─┴└─┴─┴┘└─┘ | ||
// ┌─ ┌─┐┌─┐┬─┐ ┌─┐┬ ┬┌┬┐┌─┐┌┬┐┌─┐┌┬┐┌─┐┌┬┐ ┌┬┐┌─┐┌─┐┌┬┐┌─┐ ─┐ | ||
// │ ├┤ │ │├┬┘ ├─┤│ │ │ │ ││││├─┤ │ ├┤ ││ │ ├┤ └─┐ │ └─┐ │ | ||
// └─ └ └─┘┴└─ ┴ ┴└─┘ ┴ └─┘┴ ┴┴ ┴ ┴ └─┘─┴┘ ┴ └─┘└─┘ ┴ └─┘ ─┘ | ||
// > An .eslintrc configuration override for use with the tests in this directory. | ||
// | ||
// (See .eslintrc in the root directory of this package for more info.) | ||
|
||
"extends": [ | ||
"../.eslintrc" | ||
], | ||
|
||
"env": { | ||
"mocha": true | ||
} | ||
|
||
} |