Skip to content

Commit 01f3ec3

Browse files
committed
Introduce ember-template-lint per latest addon blueprint
1 parent a1ad98c commit 01f3ec3

File tree

3 files changed

+454
-16
lines changed

3 files changed

+454
-16
lines changed

.template-lintrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
'use strict';
2+
3+
module.exports = {
4+
extends: 'recommended',
5+
};

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
"build": "ember build",
1717
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel \"lint:!(fix)\"",
1818
"lint:fix": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*:fix",
19+
"lint:hbs": "ember-template-lint .",
20+
"lint:hbs:fix": "ember-template-lint . --fix",
1921
"lint:js": "eslint . --cache",
2022
"lint:js:fix": "eslint . --fix",
2123
"start": "ember server",
@@ -46,6 +48,7 @@
4648
"ember-qunit": "^5.1.5",
4749
"ember-resolver": "^5.1.3",
4850
"ember-source": "~3.12.0",
51+
"ember-template-lint": "^4.10.0",
4952
"ember-try": "^2.0.0",
5053
"eslint": "^8.13.0",
5154
"eslint-config-prettier": "^8.4.0",

0 commit comments

Comments
 (0)