18 строки
400 B
YAML
18 строки
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}]
|