Debian Codegraph @

markdown-it-for-inline/.eslintrc

raw
1 env:
2 node: true
3
4 plugins:
5 - nodeca
6
7 rules:
8 block-scoped-var: 2
9 brace-style: [ 2, '1tbs', { allowSingleLine: true } ]
10 comma-spacing: 2
11 comma-style: 2
12 consistent-this: [ 2, self ]
13 consistent-return: 2
14 curly: 2
15 # default-case: 2
16 dot-notation: 2
17 eol-last: 2
18 eqeqeq: 2
19 guard-for-in: 2
20 handle-callback-err: 2
21 max-depth: [ 1, 6 ]
22 max-nested-callbacks: [ 1, 4 ]
23 # string can exceed 80 chars, but should not overflow github website :)
24 max-len: [ 2, 120, 1000 ]
25 new-cap: 2
26 new-parens: 2
27 no-alert: 2
28 no-array-constructor: 2
29 no-bitwise: 2
30 no-caller: 2
31 no-catch-shadow: 2
32 no-comma-dangle: 2
33 no-cond-assign: 2
34 no-console: 1
35 no-constant-condition: 2
36 no-control-regex: 2
37 no-debugger: 2
38 no-delete-var: 2
39 no-dupe-keys: 2
40 no-div-regex: 2
41 no-empty: 2
42 no-empty-class: 2
43 no-empty-label: 2
44 no-else-return: 2
45 no-eq-null: 2
46 no-ex-assign: 2
47 no-extend-native: 2
48 no-extra-bind: 2
49 no-extra-boolean-cast: 2
50 no-extra-semi: 2
51 no-extra-strict: 2
52 no-eval: 2
53 no-floating-decimal: 2
54 no-func-assign: 2
55 no-implied-eval: 2
56 no-inner-declarations: 2
57 no-invalid-regexp: 2
58 no-irregular-whitespace: 2
59 no-label-var: 2
60 no-labels: 2
61 no-lone-blocks: 2
62 no-lonely-if: 2
63 no-loop-func: 2
64 no-mixed-requires: 2
65 no-mixed-spaces-and-tabs: 2
66 no-multi-str: 2
67 no-native-reassign: 2
68 no-negated-in-lhs: 2
69 no-new: 2
70 no-new-func: 2
71 no-new-object: 2
72 no-new-require: 2
73 no-new-wrappers: 2
74 no-obj-calls: 2
75 no-octal: 2
76 no-octal-escape: 2
77 no-path-concat: 2
78 no-redeclare: 2
79 no-regex-spaces: 2
80 no-reserved-keys: 2
81 no-return-assign: 2
82 no-script-url: 2
83 no-sequences: 2
84 no-shadow: 2
85 no-shadow-restricted-names: 2
86 no-space-before-semi: 2
87 no-sparse-arrays: 2
88 no-trailing-spaces: 2
89 no-undef: 2
90 no-undef-init: 2
91 no-undefined: 2
92 no-unreachable: 2
93 no-unused-expressions: 2
94 no-unused-vars: 2
95 no-use-before-define: 2
96 no-with: 2
97 no-wrap-func: 2
98 quotes: [ 2, single, avoid-escape ]
99 radix: 2
100 semi: 2
101 space-after-keywords: [ 2, always, , { "checkFunctionKeyword": true } ]
102 space-before-blocks: 2
103 space-in-brackets: [ 2, always, { propertyName: false } ]
104 space-in-parens: [ 2, never ]
105 space-infix-ops: 2
106 space-return-throw-case: 2
107 space-unary-ops: 2
108 spaced-line-comment: [ 2, always, { exceptions: [ '/' ] } ]
109 strict: 2
110 use-isnan: 2
111 yoda: 2
112 valid-typeof: 2
113
114 #
115 # Our custom rules
116 #
117 nodeca/indent: [ 2, spaces, 2 ]