mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
d6fc7e3af4
PR-URL: https://github.com/nodejs/node/pull/18831 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
19 lines
414 B
YAML
19 lines
414 B
YAML
## Docs-specific linter rules
|
|
|
|
rules:
|
|
# ease some restrictions in doc examples
|
|
no-restricted-properties: off
|
|
no-undef: off
|
|
no-unused-vars: off
|
|
strict: 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}]
|