.eslintrc
raw| 1 | # -*- yaml -*- |
| 2 | --- |
| 3 | env: |
| 4 | node: true |
| 5 | |
| 6 | rules: |
| 7 | quotes: |
| 8 | - 2 |
| 9 | - single |
| 10 | - avoid-escape |
| 11 | global-strict: |
| 12 | - 2 |
| 13 | - always |
| 14 | space-in-brackets: 2 |
| 15 | space-in-parens: 2 |
| 16 | space-after-keywords: |
| 17 | - 2 |
| 18 | - always |
| 19 | - { checkFunctionKeyword: true } |
| 20 | space-before-blocks: 2 |
| 21 | space-unary-ops: 2 |
| 22 | brace-style: 2 |
| 23 | comma-style: 2 |
| 24 | func-style: |
| 25 | - 2 |
| 26 | - declaration |
| 27 | no-lonely-if: 2 |
| 28 | no-trailing-spaces: 2 |
| 29 | no-multiple-empty-lines: 2 |
| 30 | max-len: 2 |
| 31 | padded-blocks: |
| 32 | - 2 |
| 33 | - never |