mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 23:16:30 +01:00
0ef04b8133
PR-URL: https://github.com/nodejs/node/pull/21615 Refs: https://github.com/eslint/eslint-plugin-markdown#strict Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
18 lines
400 B
YAML
18 lines
400 B
YAML
## 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}]
|