mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix line length, run jscs & jshint in precommit
This commit is contained in:
parent
3ddb65fc8b
commit
da9e1a7e98
@ -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…
Reference in New Issue
Block a user