4 # enable ECMAScript features
14 # list: https://github.com/eslint/eslint/tree/master/docs/rules#possible-errors
15 ## check debugger sentence
17 ## check duplicate arguments
19 ## check duplicate object keys
21 ## check duplicate switch-case
23 ## disallow assignment of exceptional params
25 ## disallow use of reserved words as keys like enum, class
27 ## disallow unreachable code
29 ## require valid typeof compared string like typeof foo === 'strnig'
33 # list: https://github.com/eslint/eslint/tree/master/docs/rules#best-practices
34 ## require falls through comment on switch-case
38 # list: https://github.com/eslint/eslint/tree/master/docs/rules#stylistic-issues
39 ## use single quote, we can use double quote when escape chars
44 ## 2 space indentation
48 ## add space after comma
49 ## set to 'warn' because of https://github.com/eslint/eslint/issues/2408
53 ## require spaces operator like var sum = 1 + 1;
55 ## require spaces return, throw, case
56 space-return-throw-case: 2
57 ## require parens for Constructor
66 # list: https://github.com/eslint/eslint/tree/master/docs/rules#strict-mode
67 ## 'use strict' on top
72 # Global scoped method and vars
74 DTRACE_HTTP_CLIENT_REQUEST: true
75 LTTNG_HTTP_CLIENT_REQUEST: true
76 COUNTER_HTTP_CLIENT_REQUEST: true
77 DTRACE_HTTP_CLIENT_RESPONSE: true
78 LTTNG_HTTP_CLIENT_RESPONSE: true
79 COUNTER_HTTP_CLIENT_RESPONSE: true
80 DTRACE_HTTP_SERVER_REQUEST: true
81 LTTNG_HTTP_SERVER_REQUEST: true
82 COUNTER_HTTP_SERVER_REQUEST: true
83 DTRACE_HTTP_SERVER_RESPONSE: true
84 LTTNG_HTTP_SERVER_RESPONSE: true
85 COUNTER_HTTP_SERVER_RESPONSE: true
86 DTRACE_NET_STREAM_END: true
87 LTTNG_NET_STREAM_END: true
88 COUNTER_NET_SERVER_CONNECTION_CLOSE: true
89 DTRACE_NET_SERVER_CONNECTION: true
90 LTTNG_NET_SERVER_CONNECTION: true
91 COUNTER_NET_SERVER_CONNECTION: true