style(*): disallow space after object keys, other rules

add `disallowSpaceAfterObjectKeys` and associated changes.
add `disallowMixedSpacesAndTabs` (no files changed)
add `disallowMultipleLineStrings` (no files changed)

Closes #9679
This commit is contained in:
Henry Zhu
2014-10-18 19:48:33 -04:00
committed by Peter Bacon Darwin
parent b64b9ea02c
commit ed3f799b5c
33 changed files with 359 additions and 355 deletions

View File

@@ -314,7 +314,7 @@ describe("resource", function() {
it('should handle + in url params', function () {
var R = $resource('/api/myapp/:myresource?from=:from&to=:to&histlen=:histlen');
$httpBackend.expect('GET', '/api/myapp/pear+apple?from=2012-04-01&to=2012-04-29&histlen=3').respond('{}');
R.get({ myresource: 'pear+apple', from : '2012-04-01', to : '2012-04-29', histlen : 3 });
R.get({ myresource: 'pear+apple', from: '2012-04-01', to: '2012-04-29', histlen: 3 });
});