diff --git a/ui/.template-lintrc.js b/ui/.template-lintrc.js index b45e96ffd..c16df0bf7 100644 --- a/ui/.template-lintrc.js +++ b/ui/.template-lintrc.js @@ -1,5 +1,40 @@ 'use strict'; module.exports = { - extends: 'recommended' + extends: 'recommended', + rules: { + // should definitely move to template only + // glimmer components for this one + 'no-partial': false, + + // these need to be looked into, but + // may be a bigger change + 'no-invalid-interactive': false, + 'simple-unless': false, + + 'self-closing-void-elements': false, + 'no-unnecessary-concat': false, + 'no-quoteless-attributes': false, + 'no-nested-interactive': false, + + // Only used in list-pager, which can be replaced with + // an angle-bracket component + 'no-attrs-in-components': false, + + // Used in practice with charts. Ideally this would be true + // except for a whitelist of chart files. + 'no-inline-styles': false, + + // not sure we'll ever want these on, + // would be nice but if prettier isn't doing + // it for us, then not sure it's worth it + 'attribute-indentation': false, + 'block-indentation': false, + quotes: false, + }, + + ignore: [ + 'app/templates/components/freestyle/**', + 'nomad-ui/templates/components/freestyle/**' + ] };