Improve HTML lint.

This commit is contained in:
Alexis Lahouze 2016-02-01 22:42:31 +01:00
parent 5ad6733b6a
commit d6c0527390

View File

@ -1,6 +1,15 @@
module.exports = {
frontend: {
options: {},
options: {
'attr-name-style': 'dash',
'attr-quote-style': 'double',
'attr-req-value': false,
'doctype-html5': true,
'id-class-ignore-regex': '{{.*?}}',
'id-class-style': 'dash',
'indent-style': 'spaces',
'indent-width': 2
},
src: [
'accountant/frontend/templates/**/*.html',
'accountant/frontend/static/templates/**/*.html'