Skip to content

Commit 6aa92d5

Browse files
Trottevanlucas
authored andcommitted
tools: disallow multiple spaces except indentation
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 <[email protected]> Reviewed-By: Brian White <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
1 parent 955c90d commit 6aa92d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ rules:
3030
# Best Practices
3131
# http://eslint.org/docs/rules/#best-practices
3232
no-fallthrough: 2
33+
no-multi-spaces: 2
3334
no-octal: 2
3435
no-redeclare: 2
3536
no-self-assign: 2

0 commit comments

Comments
 (0)