4 # enable ECMAScript features
13 # list: https://github.com/eslint/eslint/tree/master/docs/rules#possible-errors
14 ## check debugger sentence
16 ## check duplicate arguments
18 ## check duplicate object keys
20 ## check duplicate switch-case
22 ## disallow assignment of exceptional params
24 ## disallow use of reserved words as keys like enum, class
26 ## disallow unreachable code
28 ## require valid typeof compared string like typeof foo === 'strnig'
32 # list: https://github.com/eslint/eslint/tree/master/docs/rules#best-practices
33 ## require falls through comment on switch-case
37 # list: https://github.com/eslint/eslint/tree/master/docs/rules#stylistic-issues
38 ## use single quote, we can use double quote when escape chars
43 ## 2 space indentation
47 ## add space after comma
51 ## require spaces operator like var sum = 1 + 1;
53 ## require spaces return, throw, case
54 space-return-throw-case: 2
55 ## require parens for Constructor
65 # list: https://github.com/eslint/eslint/tree/master/docs/rules#strict-mode
66 ## 'use strict' on top
71 # Global scoped method and vars
73 DTRACE_HTTP_CLIENT_REQUEST: true
74 LTTNG_HTTP_CLIENT_REQUEST: true
75 COUNTER_HTTP_CLIENT_REQUEST: true
76 DTRACE_HTTP_CLIENT_RESPONSE: true
77 LTTNG_HTTP_CLIENT_RESPONSE: true
78 COUNTER_HTTP_CLIENT_RESPONSE: true
79 DTRACE_HTTP_SERVER_REQUEST: true
80 LTTNG_HTTP_SERVER_REQUEST: true
81 COUNTER_HTTP_SERVER_REQUEST: true
82 DTRACE_HTTP_SERVER_RESPONSE: true
83 LTTNG_HTTP_SERVER_RESPONSE: true
84 COUNTER_HTTP_SERVER_RESPONSE: true
85 DTRACE_NET_STREAM_END: true
86 LTTNG_NET_STREAM_END: true
87 COUNTER_NET_SERVER_CONNECTION_CLOSE: true
88 DTRACE_NET_SERVER_CONNECTION: true
89 LTTNG_NET_SERVER_CONNECTION: true
90 COUNTER_NET_SERVER_CONNECTION: true