- Start Date: 2018-01-04
- Relevant Team(s): Ember CLI
- RFC PR: #114
Add https://github.com/rwjblue/ember-cli-template-lint as a default addon for the app and addon blueprints using the recommended rules.
Linting and security in templates would help not only individual developers write better apps with better accessibility and security, but would also help teams to be on the same page and stick to a handful of standards.
- Move ember-cli-template-lint to the ember-cli org (better for contributing and getting work off one person, @rwjblue)
- Add the dependency to the app blueprint here: https://github.com/ember-cli/ember-cli/blob/master/blueprints/app/files/package.json#L19
- Also add it to the addon blueprint, like the eslint addon here: https://github.com/ember-cli/ember-cli/blob/master/blueprints/addon/index.js#L66
The same way that we teach ESLint being on by default.
- More chatter in the terminal.
- An additional dependency.
- Recommended rules might not be good for everyone.. but that same issue probably exists with ESLint.
Do nothing and have people write sub par template code.