Friday, April 26, 2024
HomeJavaScriptCountdown to The New 12 months

Countdown to The New 12 months



By

Melanie Sumner

That is the nineteenth in our DecEmber sequence–”Countdown to The New 12 months: 31 Days of Ember Addons”. We plan to focus on a brand new addon every day till the brand new 12 months, and we hope you may be part of us for the enjoyable!

Day 19

Right this moment we’re going to have a look at an addon that’s a part of each new Ember app. The ember-template-lint addon has many new options added lately, and is value a detailed look!

What It Does

As you might guess from the addon title, ember-template-lint is a linter on your template information!
It checks for errors and advises greatest practices for the markdown in your part and route templates.
As a result of we work in JavaScript, there are alternative ways one thing may be executed, however usually there is a perfect resolution that avoids issues down the road.
That is the place ember-template-lint shines. It should throw warnings and/or errors while you attempt to break considered one of these guidelines.
It is extendable and customizable too, so you may get the fitting mixture of guidelines for your venture.

Why I Like It

The ember-template-lint addon is not truly an Ember addon, by way of its file construction (which is why it isn’t on Ember Observer) but it surely is a necessary ingredient that helps present accuracy, consistency and greatest practices in your software.

Not too long ago, I’ve been contributing to it myself, including in further methods that may assist Ember builders keep away from accessibility pitfalls.
By means of that work, I’ve come to deeply admire this addon. The linter’s contributors have actually executed an unbelievable job at serving to all of us write higher template code.

Current releases have introduced further linting guidelines that assist keep away from frequent WCAG failures– 16 of which are actually preventable by way of use of ember-template-lint.
Extra accessibility-specific work is deliberate within the coming months, so trying out the points within the repository is a good way to determine how one can contribute!

Do you employ this linter? Or one prefer it? We might love to listen to about Ember addons that deliver you pleasure!


RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments