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

Add ability to lint templates. #5561

Merged
merged 1 commit into from
Mar 5, 2016
Merged

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Mar 3, 2016

Allows tooling like ember-cli-template-lint to work.

@rwjblue rwjblue force-pushed the lint-templates branch 2 times, most recently from 6a1b0b3 to a6455f7 Compare March 3, 2016 22:14
@rwjblue rwjblue changed the title [WIP] Add ability to lint templates. Add ability to lint templates. Mar 3, 2016
@rwjblue rwjblue force-pushed the lint-templates branch 4 times, most recently from a0bbf9b to 4945655 Compare March 4, 2016 01:21
@rwjblue
Copy link
Member Author

rwjblue commented Mar 4, 2016

Updated to add tests and remove WIP label. This should be ready to go.

@Turbo87 Turbo87 added the Feature label Mar 4, 2016
@rwjblue
Copy link
Member Author

rwjblue commented Mar 4, 2016

Node 0.12 and 5 passed in AppVeyor, the failures there seem random (I've restarted 3 times and a different node version fails each time 😞).

@rwjblue
Copy link
Member Author

rwjblue commented Mar 4, 2016

@stefanpenner - any objections?

@rwjblue
Copy link
Member Author

rwjblue commented Mar 5, 2016

Chatted in slack about this with Stef, we need to do some benchmarks to make sure we don't introduce a perf regression...

@rwjblue
Copy link
Member Author

rwjblue commented Mar 5, 2016

Tests of master vs these changes in the ember-cli/stress-app (after updating it in ember-cli/stress-app#13) are here.

Basic gist:

Description master (b88de69) #5561
Initial Boot - Cold 171216ms 172612ms
Initial Boot - Warm 9329ms 7931ms
Rebuild - js file 2027ms 1660ms
Rebuild - sass file 1826ms 1872ms

@stefanpenner
Copy link
Contributor

@rwjblue 👍 looks like nothing surprising snuck in re: perf, 🚢

@rwjblue
Copy link
Member Author

rwjblue commented Mar 5, 2016

Ya, but definitely better to be safe than sorry...

@rwjblue
Copy link
Member Author

rwjblue commented Mar 5, 2016

I'm doing a few more small checks locally with my addon (ember-cli-template-lint) to make sure all is well. Will land it as soon as everything there checks out...

@rwjblue
Copy link
Member Author

rwjblue commented Mar 5, 2016

@homu r+

@homu
Copy link
Contributor

homu commented Mar 5, 2016

📌 Commit 17619b8 has been approved by rwjblue

@homu
Copy link
Contributor

homu commented Mar 5, 2016

⚡ Test exempted - status

@homu homu merged commit 17619b8 into ember-cli:master Mar 5, 2016
homu added a commit that referenced this pull request Mar 5, 2016
Add ability to lint templates.

Allows tooling like ember-cli-template-lint to work.
@rwjblue rwjblue deleted the lint-templates branch March 5, 2016 22:20
@homu homu mentioned this pull request Mar 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants