Skip to content

Commit

Permalink
add prettier-plugin-ember-template-tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Aug 8, 2023
1 parent 09c6cdc commit 375afa0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions files/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use strict';

module.exports = {
plugins: ['prettier-plugin-ember-template-tag'],
singleQuote: true,
};
1 change: 1 addition & 0 deletions files/__addonLocation__/.prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use strict';

module.exports = {
plugins: ['prettier-plugin-ember-template-tag'],
singleQuote: true,
};
1 change: 1 addition & 0 deletions files/__addonLocation__/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"eslint-plugin-n": "^16.0.0",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.5.1",
"prettier-plugin-ember-template-tag": "^1.0.0",
"rollup": "^3.21.8"<% if (!isExistingMonorepo) { %>,
"rollup-plugin-copy": "^3.4.0"<% } %><% if (typescript) { %>,
"typescript": "^5.0.4"<% } %>
Expand Down
3 changes: 2 additions & 1 deletion files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"scripts": {},
"devDependencies": {
"concurrently": "^7.2.1",
"prettier": "^2.5.1"
"prettier": "^2.5.1",
"prettier-plugin-ember-template-tag": "^1.0.0"
},
"workspaces": [
"<%= addonInfo.location %>",
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/default/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use strict';

module.exports = {
plugins: ['prettier-plugin-ember-template-tag'],
singleQuote: true,
};

0 comments on commit 375afa0

Please sign in to comment.