mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 23:43:09 +01:00
b07894d8dc
PR-URL: https://github.com/nodejs/node/pull/42573 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
18 lines
413 B
YAML
18 lines
413 B
YAML
## 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}]
|