mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 05:23:51 +08:00
eb94ec16da
The gjs/gts formats are a new pattern for authoring Ember components. This commit introduces support for these patterns to our build pipeline for core/plugins, and converts a handful of components to use the new format. It also introduces relevant updates to our linting config, and to our sample vscode configuration. Co-authored-by: Godfrey Chan <godfreykfc@gmail.com> Co-authored-by: Krystan HuffMenne <kmenne+github@gmail.com>
18 lines
283 B
Plaintext
18 lines
283 B
Plaintext
{
|
|
"plugins": ["prettier-plugin-ember-template-tag"],
|
|
"overrides": [
|
|
{
|
|
"files": "*.gjs",
|
|
"options": {
|
|
"parser": "ember-template-tag"
|
|
}
|
|
},
|
|
{
|
|
"files": "*.gts",
|
|
"options": {
|
|
"parser": "ember-template-tag"
|
|
}
|
|
}
|
|
]
|
|
}
|