Improve HTML lint.
This commit is contained in:
parent
5ad6733b6a
commit
d6c0527390
@ -1,6 +1,15 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
frontend: {
|
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: [
|
src: [
|
||||||
'accountant/frontend/templates/**/*.html',
|
'accountant/frontend/templates/**/*.html',
|
||||||
'accountant/frontend/static/templates/**/*.html'
|
'accountant/frontend/static/templates/**/*.html'
|
||||||
|
Loading…
Reference in New Issue
Block a user