5
5
rules:
6
6
# Possible Errors
7
7
# http://eslint.org/docs/rules/#possible-errors
8
- comma-dangle: [2, " only-multiline" ]
8
+ comma-dangle: [2, only-multiline]
9
9
no-control-regex: 2
10
10
no-debugger: 2
11
11
no-dupe-args: 2
14
14
no-empty-character-class: 2
15
15
no-ex-assign: 2
16
16
no-extra-boolean-cast: 2
17
- no-extra-parens: [2, " functions" ]
17
+ no-extra-parens: [2, functions]
18
18
no-extra-semi: 2
19
19
no-func-assign: 2
20
20
no-invalid-regexp: 2
@@ -38,47 +38,47 @@ rules:
38
38
39
39
# Strict Mode
40
40
# http://eslint.org/docs/rules/#strict-mode
41
- strict: [2, " global" ]
41
+ strict: [2, global]
42
42
43
43
# Variables
44
44
# http://eslint.org/docs/rules/#variables
45
45
no-delete-var: 2
46
46
no-undef: 2
47
- no-unused-vars: [2, {" args": " none" }]
47
+ no-unused-vars: [2, {args: none}]
48
48
49
49
# Node.js and CommonJS
50
50
# http://eslint.org/docs/rules/#nodejs-and-commonjs
51
51
no-mixed-requires: 2
52
52
no-new-require: 2
53
53
no-path-concat: 2
54
- no-restricted-modules: [2, " sys", " _linklist" ]
54
+ no-restricted-modules: [2, sys, _linklist]
55
55
56
56
# Stylistic Issues
57
57
# http://eslint.org/docs/rules/#stylistic-issues
58
- brace-style: [2, " 1tbs" , {allowSingleLine: true}]
58
+ brace-style: [2, 1tbs, {allowSingleLine: true}]
59
59
comma-spacing: 2
60
60
eol-last: 2
61
61
indent: [2, 2, {SwitchCase: 1}]
62
- key-spacing: [2, {mode: " minimum" }]
62
+ key-spacing: [2, {mode: minimum}]
63
63
keyword-spacing: 2
64
- linebreak-style: [2, " unix" ]
64
+ linebreak-style: [2, unix]
65
65
max-len: [2, 80, 2]
66
66
new-parens: 2
67
67
no-mixed-spaces-and-tabs: 2
68
68
no-multiple-empty-lines: [2, {max: 2}]
69
69
no-trailing-spaces: 2
70
- quotes: [2, " single", " avoid-escape" ]
70
+ quotes: [2, single, avoid-escape]
71
71
semi: 2
72
- space-before-blocks: [2, " always" ]
73
- space-before-function-paren: [2, " never" ]
74
- space-in-parens: [2, " never" ]
72
+ space-before-blocks: [2, always]
73
+ space-before-function-paren: [2, never]
74
+ space-in-parens: [2, never]
75
75
space-infix-ops: 2
76
76
space-unary-ops: 2
77
77
78
78
# ECMAScript 6
79
79
# http://eslint.org/docs/rules/#ecmascript-6
80
- arrow-parens: [2, " always" ]
81
- arrow-spacing: [2, {" before" : true, " after" : true}]
80
+ arrow-parens: [2, always]
81
+ arrow-spacing: [2, {before: true, after: true}]
82
82
constructor-super: 2
83
83
no-class-assign: 2
84
84
no-confusing-arrow: 2
@@ -93,27 +93,27 @@ rules:
93
93
align-function-arguments: 2
94
94
align-multiline-assignment: 2
95
95
assert-fail-single-argument: 2
96
- new-with-error: [2, " Error", " RangeError", " TypeError", " SyntaxError", " ReferenceError" ]
96
+ new-with-error: [2, Error, RangeError, TypeError, SyntaxError, ReferenceError]
97
97
no-deepEqual: 2
98
98
no-definegetter-definesetter: 2
99
99
100
100
# Global scoped method and vars
101
101
globals:
102
- DTRACE_HTTP_CLIENT_REQUEST : false
103
- LTTNG_HTTP_CLIENT_REQUEST : false
104
- COUNTER_HTTP_CLIENT_REQUEST : false
105
- DTRACE_HTTP_CLIENT_RESPONSE : false
106
- LTTNG_HTTP_CLIENT_RESPONSE : false
107
- COUNTER_HTTP_CLIENT_RESPONSE : false
108
- DTRACE_HTTP_SERVER_REQUEST : false
109
- LTTNG_HTTP_SERVER_REQUEST : false
110
- COUNTER_HTTP_SERVER_REQUEST : false
111
- DTRACE_HTTP_SERVER_RESPONSE : false
112
- LTTNG_HTTP_SERVER_RESPONSE : false
113
- COUNTER_HTTP_SERVER_RESPONSE : false
114
- DTRACE_NET_STREAM_END : false
115
- LTTNG_NET_STREAM_END : false
116
- COUNTER_NET_SERVER_CONNECTION_CLOSE : false
117
- DTRACE_NET_SERVER_CONNECTION : false
118
- LTTNG_NET_SERVER_CONNECTION : false
119
- COUNTER_NET_SERVER_CONNECTION : false
102
+ COUNTER_HTTP_CLIENT_REQUEST : false
103
+ COUNTER_HTTP_CLIENT_RESPONSE : false
104
+ COUNTER_HTTP_SERVER_REQUEST : false
105
+ COUNTER_HTTP_SERVER_RESPONSE : false
106
+ COUNTER_NET_SERVER_CONNECTION : false
107
+ COUNTER_NET_SERVER_CONNECTION_CLOSE : false
108
+ DTRACE_HTTP_CLIENT_REQUEST : false
109
+ DTRACE_HTTP_CLIENT_RESPONSE : false
110
+ DTRACE_HTTP_SERVER_REQUEST : false
111
+ DTRACE_HTTP_SERVER_RESPONSE: false
112
+ DTRACE_NET_SERVER_CONNECTION : false
113
+ DTRACE_NET_STREAM_END : false
114
+ LTTNG_HTTP_CLIENT_REQUEST : false
115
+ LTTNG_HTTP_CLIENT_RESPONSE : false
116
+ LTTNG_HTTP_SERVER_REQUEST : false
117
+ LTTNG_HTTP_SERVER_RESPONSE : false
118
+ LTTNG_NET_SERVER_CONNECTION: false
119
+ LTTNG_NET_STREAM_END : false
0 commit comments