blob: 5b7ea75de5ce4ac1bf5e12fb1c292e3a5943b537 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
## Docs-specific linter rules
rules:
object-curly-spacing: [2, always]
# ease some restrictions in doc examples
no-restricted-properties: 0
no-undef: 0
no-unused-vars: 0
strict: 0
# add new ECMAScript features gradually
no-var: 2
prefer-const: 2
prefer-rest-params: 2
|