fix line length, run jscs & jshint in precommit

pull/10505/head
Dan Cech 8 years ago
parent 3ddb65fc8b
commit da9e1a7e98
No known key found for this signature in database
GPG Key ID: 6F1146C5B66FBD41
  1. 3
      public/app/plugins/datasource/graphite/func_editor.js
  2. 2
      scripts/grunt/default_task.js

@ -265,7 +265,8 @@ function (angular, _, $, rst2html) {
element: e.target,
position: 'bottom left',
classNames: 'drop-popover drop-function-def',
template: '<div style="overflow:auto;max-height:30rem;"><h4>' + funcDef.name + '</h4>' + rst2html(funcDef.description) + '</div>',
template: '<div style="overflow:auto;max-height:30rem;">'
+ '<h4>' + funcDef.name + '</h4>' + rst2html(funcDef.description) + '</div>',
openOn: 'click',
});
} else {

@ -20,6 +20,8 @@ module.exports = function(grunt) {
]);
grunt.registerTask('precommit', [
'jscs',
'jshint',
'sasslint',
'exec:tslint',
'no-only-tests'

Loading…
Cancel
Save