Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.eslintrc.yaml « doc - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e8d24adb6e00aad45daa958565d611ea2d597773 (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-expressions: off
  no-unused-vars: off
  symbol-description: off

  # Add new ECMAScript features gradually
  prefer-const: error
  prefer-rest-params: error
  prefer-template: error

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