Permalink
Browse files

Deactivate line length linting rule

Angular service injection makes for lengthy lines when defining
services, and attempts to go multiline interfered with indentation of
subsequent lines.

Unlinted line length is the least annoying alternative.
  • Loading branch information...
lovett committed Oct 18, 2017
1 parent 6902eac commit 461da26ba4bc9c16b60a854e42894c4548b985ce
Showing with 2 additions and 18 deletions.
  1. +1 −15 app/services.ts
  2. +1 −3 tslint.json
@@ -209,21 +209,7 @@ via the browser's Notifications settings`);
return {state, enable, send};
}]);

appServices.factory(
'MessageList',
['$rootScope',
'$http',
'$log',
'$window',
'$location',
'BrowserNotification', (
$rootScope: angular.IRootScopeService,
$http: angular.IHttpService,
$log: angular.ILogService,
$window: angular.IWindowService,
$location: angular.ILocationService,
BrowserNotification: app.BrowserNotificationService,
) => {
appServices.factory('MessageList', ['$rootScope', '$http', '$log', '$window', '$location', 'BrowserNotification', ($rootScope: angular.IRootScopeService, $http: angular.IHttpService, $log: angular.ILogService, $window: angular.IWindowService, $location: angular.ILocationService, BrowserNotification: app.BrowserNotificationService) => {

const store = new Store();

@@ -6,9 +6,7 @@
"indent": [true, "spaces"],
"interface-name": [true, "never-prefix"],
"linebreak-style": [true, "LF"],
"max-line-length": {
"options": [300]
},
"max-line-length": false,
"new-parens": true,
"no-arg": true,
"no-bitwise": true,

0 comments on commit 461da26

Please sign in to comment.