Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ember 3.5.1, lots of template lint fixes #896

Merged
merged 4 commits into from Dec 14, 2018

Conversation

RobbieTheWagner
Copy link
Member

Lots of template lint issues here. Still disabled a bunch of rules for us to fix later, but tried to fix a lot of the formatting ones.

@@ -30,6 +31,8 @@
"0.0.0"
],
"devDependencies": {
"@ember/jquery": "^0.5.2",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding this is 👍, but it will mean that you need to tweak all of your Ember < 2.8 ember-try scenarios to bring jQuery@2.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checkout this 2.4 scenario:

        {
          name: 'ember-lts-2.4',
          env: {
            EMBER_OPTIONAL_FEATURES: JSON.stringify({ 'jquery-integration': true }),
          },
          bower: {
            dependencies: {
              ember: 'components/ember#lts-2-4',
            },
            resolutions: {
              ember: 'lts-2-4',
            },
          },
          npm: {
            devDependencies: {
              '@ember/jquery': '^0.5.1',
              'ember-source': null,
              'jquery': '^2.2.4',
            },
          },
        },

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Just made the changes. Hopefully tests will pass now 🤞

@@ -1,40 +1,168 @@
{{#if isRight}}
{{#if isExpanded}}
<svg width="16px" height="14px" viewBox="0 0 16 14" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this to a file an use svg-jar?

Copy link
Member

@thorsteinsson thorsteinsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, well done 👍

Copy link
Contributor

@pbishop16 pbishop16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay; poor job estimating my Friday load. Regardless, this PR is clearly in good hands. 👍

@RobbieTheWagner RobbieTheWagner merged commit fefd549 into master Dec 14, 2018
@RobbieTheWagner RobbieTheWagner deleted the bump-ember-template-lint branch December 14, 2018 21:59
cyril-sf pushed a commit to cyril-sf/ember-inspector that referenced this pull request Mar 30, 2022
* Ember 3.5.1, lots of template lint fixes

* Remove deprecated propertyDidChange

* Set jquery version to 2.x for Ember 2.7

* Ignore lint for one computed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants