Skip to content

Commit

Permalink
doc: add object-curly-spacing to doc/.eslintrc
Browse files Browse the repository at this point in the history
PR-URL: #13354
Refs: http://eslint.org/docs/rules/object-curly-spacing
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
vsemozhetbyt committed Jun 2, 2017
1 parent de411a4 commit e0f4310
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/.eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## Docs-specific linter rules

rules:
object-curly-spacing: [2, always]

# ease some restrictions in doc examples
no-restricted-properties: 0
no-undef: 0
Expand Down

0 comments on commit e0f4310

Please sign in to comment.