summaryrefslogtreecommitdiff
path: root/doc/.eslintrc.yaml
blob: 49c4f4f64736c77bc7f5b15e7521b2df5deaf6c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
## Docs-specific linter rules

rules:
  # ease some restrictions in doc examples
  no-restricted-properties: off
  no-undef: off
  no-unused-vars: off
  symbol-description: off

  # add new ECMAScript features gradually
  no-var: error
  prefer-const: error
  prefer-rest-params: error
  prefer-template: error

  # Stylistic Issues
  no-multiple-empty-lines: [error, {max: 1, maxEOF: 0, maxBOF: 0}]