accent/webapp/.template-lintrc.js
Simon Prévost 704553e0dd Fix lint
2020-11-25 07:53:48 -05:00

40 lines
1.1 KiB
JavaScript

'use strict';
module.exports = {
extends: 'octane',
rules: {
'attribute-indentation': {'open-invocation-max-len': 120},
'block-indentation': 2,
'eol-last': 'always',
'inline-link-to': true,
'link-href-attributes': true,
'link-rel-noopener': true,
'no-abstract-roles': true,
'no-bare-strings': true,
'no-curly-component-invocation': {
allow: ['inline-svg', 't', 'string-diff', 'time-ago-in-words'],
},
'no-debugger': true,
'no-element-event-actions': true,
'no-duplicate-attributes': true,
'no-html-comments': true,
'no-implicit-this': false,
'no-invalid-interactive': false,
'no-log': true,
'no-nested-interactive': true,
'no-outlet-outside-routes': true,
'no-obsolete-elements': true,
'no-shadowed-elements': true,
'no-trailing-spaces': true,
'no-triple-curlies': false,
'no-unused-block-params': true,
quotes: 'double',
'require-valid-alt-text': false,
'self-closing-void-elements': true,
'simple-unless': false,
'style-concatenation': true,
'table-groups': true,
'template-length': [true, {min: 1, max: 200}],
},
};