Add some lint checks.

This commit is contained in:
Alexis Lahouze
2016-02-01 21:57:12 +01:00
parent 601f6aeec3
commit 5ad6733b6a
5 changed files with 51 additions and 14 deletions
+5
View File
@@ -0,0 +1,5 @@
module.exports = {
src: [
'accountant/**/*.py'
]
}
+9
View File
@@ -0,0 +1,9 @@
module.exports = {
frontend: {
options: {},
src: [
'accountant/frontend/templates/**/*.html',
'accountant/frontend/static/templates/**/*.html'
]
}
}
+12 -1
View File
@@ -5,7 +5,18 @@ module.exports = {
},
js: {
files: '<%= paths.frontend_js %>',
tasks: ['devjs']
tasks: ['jsdev']
},
py: {
files: 'accountant/**/*.py',
tasks: ['pydev']
},
html: {
files: [
'accountant/frontend/templates/**/*.html',
'accountant/frontend/static/templates/**/*.html'
],
tasks: ['htmldev']
},
gruntfile: {
files: ['Gruntfile.js']