42 lines
918 B
JavaScript
42 lines
918 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
module.exports = {
|
|
plugins: ['ember-template-lint-plugin-prettier'],
|
|
extends: ['recommended', 'ember-template-lint-plugin-prettier:recommended'],
|
|
overrides: [
|
|
{
|
|
files: [
|
|
'addon/components/rose/anonymous/index.hbs',
|
|
'addon/components/rose/table/row/cell/index.hbs',
|
|
'addon/components/rose/anonymous/index.hbs',
|
|
],
|
|
rules: {
|
|
'no-yield-only': false,
|
|
},
|
|
},
|
|
{
|
|
files: ['addon/components/rose/dialog/index.hbs'],
|
|
rules: {
|
|
'no-duplicate-landmark-elements': false,
|
|
},
|
|
},
|
|
{
|
|
files: ['addon/components/rose/form/actions/index.hbs'],
|
|
rules: {
|
|
'no-passed-in-event-handlers': false,
|
|
},
|
|
},
|
|
{
|
|
files: '**/tests/**/*.{js,gts,gjs}',
|
|
rules: {
|
|
prettier: false,
|
|
},
|
|
},
|
|
],
|
|
};
|