7 # http://eslint.org/docs/rules/#possible-errors
8 comma-dangle: [2, "only-multiline"]
14 no-empty-character-class: 2
16 no-extra-boolean-cast : 2
17 no-extra-parens: [2, "functions"]
21 no-irregular-whitespace: 2
25 no-unexpected-multiline: 2
31 # http://eslint.org/docs/rules/#best-practices
39 # http://eslint.org/docs/rules/#strict-mode
43 # http://eslint.org/docs/rules/#variables
46 no-unused-vars: [2, {"args": "none"}]
48 # Node.js and CommonJS
49 # http://eslint.org/docs/rules/#nodejs-and-commonjs
53 no-restricted-modules: [2, "sys", "_linklist"]
56 # http://eslint.org/docs/rules/#stylistic-issues
59 indent: [2, 2, {SwitchCase: 1}]
63 no-mixed-spaces-and-tabs: 2
64 no-multiple-empty-lines: [2, {max: 2}]
66 quotes: [2, "single", "avoid-escape"]
68 space-before-blocks: [2, "always"]
69 space-before-function-paren: [2, "never"]
70 space-in-parens: [2, "never"]
75 # http://eslint.org/docs/rules/#ecmascript-6
76 arrow-parens: [2, "always"]
77 arrow-spacing: [2, {"before": true, "after": true}]
82 no-dupe-class-members: 2
84 no-this-before-super: 2
87 # Custom rules in tools/eslint-rules
88 new-with-error: [2, "Error", "RangeError", "TypeError", "SyntaxError", "ReferenceError"]
91 # Global scoped method and vars
93 DTRACE_HTTP_CLIENT_REQUEST : false
94 LTTNG_HTTP_CLIENT_REQUEST : false
95 COUNTER_HTTP_CLIENT_REQUEST : false
96 DTRACE_HTTP_CLIENT_RESPONSE : false
97 LTTNG_HTTP_CLIENT_RESPONSE : false
98 COUNTER_HTTP_CLIENT_RESPONSE : false
99 DTRACE_HTTP_SERVER_REQUEST : false
100 LTTNG_HTTP_SERVER_REQUEST : false
101 COUNTER_HTTP_SERVER_REQUEST : false
102 DTRACE_HTTP_SERVER_RESPONSE : false
103 LTTNG_HTTP_SERVER_RESPONSE : false
104 COUNTER_HTTP_SERVER_RESPONSE : false
105 DTRACE_NET_STREAM_END : false
106 LTTNG_NET_STREAM_END : false
107 COUNTER_NET_SERVER_CONNECTION_CLOSE : false
108 DTRACE_NET_SERVER_CONNECTION : false
109 LTTNG_NET_SERVER_CONNECTION : false
110 COUNTER_NET_SERVER_CONNECTION : false