惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Hackread – Cybersecurity News, Data Breaches, AI and More
G
Google Developers Blog
The GitHub Blog
The GitHub Blog
Jina AI
Jina AI
A
About on SuperTechFans
MongoDB | Blog
MongoDB | Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园_首页
Blog — PlanetScale
Blog — PlanetScale
酷 壳 – CoolShell
酷 壳 – CoolShell
Google DeepMind News
Google DeepMind News
D
DataBreaches.Net
B
Blog RSS Feed
大猫的无限游戏
大猫的无限游戏
美团技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
L
LangChain Blog
WordPress大学
WordPress大学
S
SegmentFault 最新的问题
腾讯CDC
Hugging Face - Blog
Hugging Face - Blog
阮一峰的网络日志
阮一峰的网络日志
H
Help Net Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

Ember.js Blog

Ember 7.0 Released Announcing the Official TypeScript Types Public Preview Accessibility Working Group Update The 2020 Ember Roadmap Countdown to The New Year - Built-in Addons Countdown to The New Year - Ember Exam Countdown to The New Year - Ember Code Snippet Countdown to The New Year - Ember Changeset Countdown to The New Year - Ember In Viewport Countdown to The New Year - Ember CLI Update Countdown to The New Year - Ember Template Invocation Location Countdown to The New Year - Ember CLI TypeScript Countdown to The New Year - Ember Bootstrap and Ember Paper Countdown to The New Year - Ember CSS Modules Countdown to The New Year - Ember Mapbox GL Countdown to The New Year - Ember Shepherd Countdown to The New Year - Ember Composable Helpers Countdown to The New Year - Ember Leaflet Countdown to The New Year - Ember Intl Countdown to The New Year - Ember Test Selectors Countdown to The New Year - Ember Power Select Countdown to The New Year - Ember Simple Auth Countdown to The New Year - Ember SVG Jar Countdown to The New Year - Ember Page Title Countdown to The New Year- Ember A11Y Testing Countdown to The New Year - Ember Angle Brackets Codemod Countdown to The New Year - Ember CLI Sass Countdown to The New Year - Ember Animated Countdown to The New Year - Ember Auto Import Countdown to The New Year - Ember Concurrency
Countdown to The New Year - Ember Template Lint
2019-12-19 · via Ember.js Blog

– By Melanie Sumner

This is the 19th in our DecEmber series–"Countdown to The New Year: 31 Days of Ember Addons". We plan to highlight a new addon each day until the new year, and we hope you'll join us for the fun!

Day 19

Today we are going to look at an addon that is part of every new Ember app. The ember-template-lint addon has many new features added recently, and is worth a close look!

What It Does

As you may guess from the addon title, ember-template-lint is a linter for your template files! It checks for mistakes and advises best practices for the markdown in your component and route templates. Because we work in JavaScript, there are different ways something could be done, but often there is an ideal solution that avoids problems down the line. This is where ember-template-lint shines. It will throw warnings and/or errors when you try to break one of these rules. It's extendable and customizable too, so you can get the right combination of rules for your project.

Why I Like It

The ember-template-lint addon isn't actually an Ember addon, in terms of its file structure (which is why it's not on Ember Observer) but it is an essential ingredient that helps provide accuracy, consistency and best practices in your application.

Recently, I have been contributing to it myself, adding in extra ways that will help Ember developers avoid accessibility pitfalls. Through that work, I have come to deeply appreciate this addon. The linter's contributors have really done an incredible job at helping all of us write better template code.

Recent releases have brought additional linting rules that help avoid common WCAG failures- 16 of which are now preventable through use of ember-template-lint. More accessibility-specific work is planned in the coming months, so checking out the issues in the repository is a great way to figure out how you can contribute!

Do you use this linter? Or one like it? We'd love to hear about Ember addons that bring you joy!