0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 15:30:56 +01:00
nodejs/doc/.eslintrc.yaml
Rich Trott e9b67f7e5d tools: remove legacy indentation linting
All linting now uses the current ESLint 4.3.0 indentation linting.
Remove legacy indentation rules.

PR-URL: https://github.com/nodejs/node/pull/14515
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
2017-07-30 09:21:52 -07:00

14 lines
274 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
# add new ECMAScript features gradually
no-var: error
prefer-const: error
prefer-rest-params: error