Skip to content

Commit

Permalink
tools: disallow multiple spaces except indentation
Browse files Browse the repository at this point in the history
Except for indentation, disallow multiple whitespace around logical
expressions, conditional expressions, declarations, array elements,
object properties, sequences and function parameters.

PR-URL: #6645
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Roman Reiss <me@silverwind.io>
  • Loading branch information
Trott authored and evanlucas committed May 17, 2016
1 parent 955c90d commit 6aa92d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Expand Up @@ -30,6 +30,7 @@ rules:
# Best Practices
# http://eslint.org/docs/rules/#best-practices
no-fallthrough: 2
no-multi-spaces: 2
no-octal: 2
no-redeclare: 2
no-self-assign: 2
Expand Down

0 comments on commit 6aa92d5

Please sign in to comment.