Override default template lintrc (borrowed this one from vault)
This commit is contained in:
parent
3c51579498
commit
f775fa564e
|
@ -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/**'
|
||||
]
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue