Skip to content

Commit d121938

Browse files
committed
auto-fix lint rule for missing template imports
1 parent 8e1fed4 commit d121938

File tree

3 files changed

+69
-69
lines changed

3 files changed

+69
-69
lines changed

packages/host/.eslintrc.js

+8
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ module.exports = {
9696
'deprecation/deprecation': 'off',
9797
'window-mock/mock-window-only': 'error',
9898
'window-mock/wrapped-setup-helpers-only': 'error',
99+
'ember/template-missing-invokable': [
100+
'error',
101+
{
102+
invokables: {
103+
eq: ['eq', '@cardstack/boxel-ui/helpers'],
104+
},
105+
},
106+
],
99107
},
100108
},
101109
// node files

packages/host/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
"ember-window-mock": "^1.0.1",
135135
"eslint": "^8.52.0",
136136
"eslint-config-prettier": "^9.0.0",
137-
"eslint-plugin-ember": "^12.1.1",
137+
"eslint-plugin-ember": "ember-cli/eslint-plugin-ember#870ee2fa24ae826d431fca8e6109dbc389f368f6",
138138
"eslint-plugin-import": "^2.28.1",
139139
"eslint-plugin-n": "^16.2.0",
140140
"eslint-plugin-prettier": "^5.0.1",

pnpm-lock.yaml

+60-68
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)