1# ESLint styles for Horizon's Legacy javascript code. These rule overrides exist to enforce an
2# older linting style, to ensure backward compatibility.
3
4rules:
5
6  # Various rules applicable to our new Code Style guidelines were only intermittently enforced
7  # in the legacy code, and were not addressed during the JSCS move. This disables the applicable
8  # rules.
9  camelcase: 0
10  max-len: 0
11  space-before-blocks: 0
12  one-var: 0
13  space-infix-ops: 0
14  space-after-keywords: 0
15  keyword-spacing: 0
16  no-console: 0
17  no-multiple-empty-lines: 0
18  no-sync: 0
19  no-process-exit: 0
20  space-unary-ops: 0
21  curly: 0
22  indent: 0
23  valid-jsdoc: 0
24  no-undefined: 0
25  brace-style: 0
26  strict: 0
27  no-extra-parens: 0
28  eqeqeq: 0
29  consistent-return: 0
30  callback-return: 0
31  guard-for-in: 0
32  block-scoped-var: 0
33  semi-spacing: 0
34  no-redeclare: 0
35  no-new: 0