Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Add .editorconfig file for multiple editors to honor spacing/tabs. See
Browse files Browse the repository at this point in the history
  • Loading branch information
mtho11 authored and ppalaga committed Jul 17, 2015
1 parent fecb39a commit 94f6a12
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
14 changes: 14 additions & 0 deletions console/src/main/scripts/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# EditorConfig: http://EditorConfig.org

# top-most EditorConfig file
root= true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{js,ts,html,less,css,json}]
indent_style = space
indent_size = 2
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ module HawkularMetrics {
*/
export class MetricsViewController {
/// for minification only
public static $inject = ['$scope', '$rootScope', '$interval', '$log', 'HawkularMetric', 'HawkularAlert',
'$routeParams','HawkularAlertsManager' ,'HawkularErrorManager', 'AlertService'];
public static $inject = ['$scope', '$rootScope', '$interval', '$log', 'HawkularMetric', 'HawkularAlert', '$routeParams','HawkularAlertsManager' ,'HawkularErrorManager', 'AlertService'];

private bucketedDataPoints:IChartDataPoint[] = [];
private contextDataPoints:IChartDataPoint[] = [];
Expand Down

0 comments on commit 94f6a12

Please sign in to comment.