-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGruntfile.coffee
More file actions
33 lines (24 loc) · 784 Bytes
/
Gruntfile.coffee
File metadata and controls
33 lines (24 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
module.exports = ->
@initConfig
jshint:
files: [ 'scripts.js' ]
# Relax some options
options:
globals:
$: false
jQuery: false
_: false
csslint:
lint:
options:
'ids': false
'box-model': false
'qualified-headings': false
'unique-headings': false
src: [ 'style.css' ]
validation:
files: '_site/**/!(google*).html'
@loadNpmTasks "grunt-contrib-jshint"
@loadNpmTasks "grunt-contrib-csslint"
@loadNpmTasks "grunt-html-validation"
@registerTask "default", ["jshint", "csslint"]