File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232
3333 include :
3434 - stage : " Tests"
35- name : " ember-template-lint 1.6.1 "
35+ name : " ember-template-lint 2.1.0 "
3636 install : yarn install --frozen-lockfile --non-interactive
3737
3838 - name : " ember-template-lint latest"
Original file line number Diff line number Diff line change @@ -38,15 +38,7 @@ module.exports = class Prettier extends Rule {
3838 }
3939
4040 const source = this . sourceForNode ( node ) ;
41- // Following
42- // https://github.com/ember-template-lint/ember-template-lint/commit/a7bf55cf36ee90d0460e7cb94e7ca4731aaa4be7
43- // `templateEnvironmentData` is deprecated (in v1.8.0).
44- // This code aims at remaining compatible with
45- // ember-template-lint@>=1.3.0. The ternary might be removed when
46- // upgrading the peerDependency to ember-template-lint@2.
47- let filepath = this . filePath
48- ? this . filePath
49- : this . templateEnvironmentData . moduleName + ".hbs" ;
41+ let filepath = this . filePath ;
5042
5143 if ( ! prettier ) {
5244 // Prettier is expensive to load, so only load it if needed.
Original file line number Diff line number Diff line change 2626 "license" : " Apache-2.0" ,
2727 "private" : false ,
2828 "peerDependencies" : {
29- "ember-template-lint" : " ^1.6.1 " ,
29+ "ember-template-lint" : " ^2.1.0 " ,
3030 "prettier" : " ^1.18.2"
3131 },
3232 "devDependencies" : {
33- "ember-template-lint" : " ^1.6.1 " ,
33+ "ember-template-lint" : " ^2.1.0 " ,
3434 "eslint" : " ^6.0.1" ,
3535 "eslint-config-prettier" : " ^6.0.0" ,
3636 "eslint-plugin-node" : " ^11.0.0" ,
You can’t perform that action at this time.
0 commit comments