You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
741 B

## Docs-specific linter rules
rules:
object-curly-spacing: [error, always]
# 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
# use stricter indent over indent-legacy
indent-legacy: off
indent: [error, 2, {ArrayExpression: first,
CallExpression: {arguments: first},
FunctionDeclaration: {parameters: first},
FunctionExpression: {parameters: first},
MemberExpression: off,
ObjectExpression: first,
SwitchCase: 1}]