-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
43 lines (39 loc) · 1.79 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
// ╔═╗╔═╗╦ ╦╔╗╔╔╦╗┬─┐┌─┐
// ║╣ ╚═╗║ ║║║║ ║ ├┬┘│
// 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
},
"parserOptions": {
"ecmaVersion": 8
},
"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-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"]
}
}