Skip to content

Commit

Permalink
New: object-curly-newline (fixes #6072) (#6223)
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea authored and nzakas committed Jun 3, 2016
1 parent 72c2ea5 commit 2663569
Show file tree
Hide file tree
Showing 5 changed files with 1,345 additions and 0 deletions.
1 change: 1 addition & 0 deletions conf/eslint.json
Expand Up @@ -175,6 +175,7 @@
"newline-after-var": "off",
"newline-before-return": "off",
"newline-per-chained-call": "off",
"object-curly-newline": "off",
"object-curly-spacing": ["off", "never"],
"object-property-newline": "off",
"object-shorthand": "off",
Expand Down
1 change: 1 addition & 0 deletions docs/rules/README.md
Expand Up @@ -201,6 +201,7 @@ These rules relate to style guidelines, and are therefore quite subjective:
* [no-underscore-dangle](no-underscore-dangle.md): disallow dangling underscores in identifiers
* [no-unneeded-ternary](no-unneeded-ternary.md): disallow ternary operators when simpler alternatives exist
* [no-whitespace-before-property](no-whitespace-before-property.md): disallow whitespace before properties (fixable)
* [object-curly-newline](object-curly-newline.md): enforce consistent line breaks inside braces (fixable)
* [object-curly-spacing](object-curly-spacing.md): enforce consistent spacing inside braces (fixable)
* [object-property-newline](object-property-newline.md): enforce placing object properties on separate lines
* [one-var](one-var.md): enforce variables to be declared either together or separately in functions
Expand Down

0 comments on commit 2663569

Please sign in to comment.