forked from balderdashy/sails
-
Notifications
You must be signed in to change notification settings - Fork 0
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
654ae07
commit 8fdbf83
Showing
6 changed files
with
21 additions
and
51 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
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
./.jshintrc | ||
./.editorconfig | ||
./.travis.yml | ||
./appveyor.yml | ||
./example | ||
./examples | ||
./test | ||
|
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 |
---|---|---|
@@ -1,48 +1,20 @@ | ||
{ | ||
// ╔═╗╔═╗╦ ╦╔╗╔╔╦╗┬─┐┌─┐ | ||
// ║╣ ╚═╗║ ║║║║ ║ ├┬┘│ | ||
// o╚═╝╚═╝╩═╝╩╝╚╝ ╩ ┴└─└─┘ | ||
// A set of basic conventions (similar to .jshintrc) for use within any | ||
// arbitrary JavaScript / Node.js package -- inside or outside Sails.js. | ||
// 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`. | ||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
// ╔═╗╔═╗╦ ╦╔╗╔╔╦╗┬─┐┌─┐ ┌─┐┬ ┬┌─┐┬─┐┬─┐┬┌┬┐┌─┐ | ||
// ║╣ ╚═╗║ ║║║║ ║ ├┬┘│ │ │└┐┌┘├┤ ├┬┘├┬┘│ ││├┤ | ||
// 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": { | ||
"node": true, | ||
"mocha": true | ||
}, | ||
|
||
"parserOptions": { | ||
"ecmaVersion": 5 | ||
}, | ||
|
||
"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": [1, 2, {"SwitchCase": 1}], | ||
"linebreak-style": [2, "unix"], | ||
"no-dupe-keys": [2], | ||
"no-duplicate-case": [2], | ||
"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"], | ||
"quotes": [1, "single", { "avoidEscape": false, "allowTemplateLiterals": true }], | ||
"semi": [2, "always"] | ||
} | ||
|
||
} |