- Update to [email protected]
- Allow Babel to run in parrallel
- Update blueprint to use
octaneconfig - Run
npx ember-cli-update - Drop NodeJs 6, 8, 11
- Update dependency to support Dynamic styles. Please review ember-template-lint's CHANGELOG.md for a detailed list of changs.
- Remove jshintrc file.
- Support parallel babel configuration.
- Update ember-template-lint to 1.1.0.
- Update dependencies to latest versions.
- Drop support for Node 4, 5, 7, and 9.
- Update ember-template-lint to 1.0.0-beta.2. Please review ember-template-lint's CHANGELOG.md for a detailed list of changs.
- Update dependencies to latest versions.
- Ensure compatible with Broccoli 2.
- Update to latest version of
ember-template-lint(see its changelog for details). - Fix blueprint to account for the
bare-string->no-bare-stringdeprecation.
- Fix test framework detection to allow prerelease versions.
- Fix issue with warning when no testing framework is detected.
- Update various dependencies.
- Fix another issue with new console output formatting.
- Update ember-template-lint to 0.8.1 to include a fix for console output formatting.
- Update dependencies.
- Update ember-template-lint to 0.8.0 which provides a much nicer ESLint-like console output.
- Add
.handlebarsextension to the list of files to process.
- Update to ember-template-lint @ 0.7.0. Read more about the changes between 0.6.x and 0.7.0 here.
- Update to new unified testing system. This will result in a single test module for template linting related tests, which should make filtering your tests much easier.
- Drop support for Node < 4.
- Update test file generation to use proper file extension. This allows usage of the
Disable Lintingcheckbox in the ember-cli test runner to properly suppress template linting tests.
- Ensure linting warnings honor the
--silentflag.
- Update ember-template-lint to 0.6.0. Changes from 0.5.x are:
- Add
invalid-interactiveto recommended rules. - Add
img-alt-attributesto recommended rules. - Add
style-concatenationto recommended rules. - Add
deprecated-inline-view-helperto recommended rules. - Add
link-rel-noopenerto recommended rules. - Remove support for Node 0.10.
- Add
- Remove support for Node 0.10
- Update various internal dependencies.
- Fix caching related warning message when used with recent ember-cli-htmlbars versions.
- Fix typos in
ember template-lint:print-failingcommand output.
- Cleanup error messages (prevent the message from being squashed onto the location info).
- Fix compatibility with Ember versions older than 2.1.0.
- Fix publishing issue (included
.tern-portfile in blueprint).
- Update underlying
ember-template-lintto v0.5.10. - Add ability to mark specific rules as pending for a module. Given the following
.template-lintrc.jsfile, thefoo/bar/bazmodule would have only its indentation related issues labeled as warnings:
module.exports = {
extends: 'recommended',
pending: [
{ moduleId: 'foo/bar/baz', only: ['block-indentation']}
]
}- Update
ember template-lint:print-failingto emit rule specific pending list.
- Update ember-template-lint to v0.5.9 (mostly internal changes/fixes).
- Remove extra
htmlbarsdependency.
- Fix cosmetic issues with error message display:
- Ensure that multiple errors are listed on separate lines.
- Fix formatting when
error.line/error.columnare missing. - Fix formatting when
error.sourceis missing. - Include rule name in all error messages.
- Ensure Node 0.10, 0.12, 4.x, 6.x are all tested in CI.
- Add warning when using
ember-cli-template-lintwith a localization framework (identified byisLocalizationFrameworkon the addon instance). When a localization framework is present, and thebare-stringsrule is not listed in the.template-lintrc.jsfile, a warning will be issued saying:
The `bare-strings` rule must be configured when using a localization framework (`ember-i18n`). To prevent this warning, add the following to your `.template-lintrc.js`:
rules: {
'bare-strings\': true
}
- Add
ember template-lint:print-failingcommand to list all templates inapp/that are currently failing. This command can be used to easily update thependinglisting in.template-lintrc.jsso that ember-cli-template-lint can be incorporated into a project immediately (ensuring new templates conform to rules, but providing time to fix older templates). - Ensure that modules listed as
pendingin the.template-lintrc.jsfile do not trigger failed tests.
- Fix typo in default blueprint that triggers warnings on new installations.
- Error when used with ember-cli versions prior to 2.4.3.
- Migrate to using ember-template-lint. All existing rules are supported and were migrated to ember-template-lint as the underlying linting engine. ember-cli-template-lint is now an ember-cli specific wrapper around ember-template-lint.
- Add
deprecate-each-syntaxrule. Prevents usage of{{#each foo}}(context shifting each) and{{#each foo in bar}}. - Add
self-closing-void-elementsrule. Prevents closing void elements (<input />will error in favor of<input>). See here for a list.
-
Update the
bare-stringsrule to allow the following configuration:- boolean --
truefor enabled /falsefor disabled - array -- an array of whitelisted strings
- object -- An object with the following keys:
whitelist-- An array of whitelisted stringsglobalAttributes-- An array of attributes to check on every element.elementAttributes-- An object whose keys are tag names and value is an array of attributes to check for that tag name.
- boolean --
-
Change default
.template-lintrc.jsfile value forbare-stringsto betrue, which defaults the configuration to:
{
whitelist: ['(', ')', ',', '.', '&', '+', '-', '=', '*', '/', '#', '%', '!', '?', ':', '[', ']', '{', '}'],
globalAttributes: [ 'title' ],
elementAttributes: { input: [ 'placeholder' ], img: [ 'alt' ]}
};- Fix bug with
bare-stringswhere an allowed whitelisted string would only be allowed once in a given string. i.e&&would have failed, even though&was a whitelisted string.
- Add support for TextNode/CommentNode location information. Now the
bare-strings/html-commentsrules include line and column info. - Add
nested-interactiverule. Usage of nested interactive content can lead to UX problems, accessibility problems, bugs and in some cases to DOM errors. You should not put interactive content elements nested inside other interactive content elements.
- Fix issue with per-template rule configuration.
- Fix issue with
block-indentationrule when a given block starts on the same line as a previous item. i.e.:
- Add
html-commentsrule which forbids the usage of HTML comments (other than<!-- template-lint bare-strings=false -->style control comments).
- Change default configuration so that no plugins are enabled (warns when
.template-lintrc.jsis not found).
- Add better default whitelist for
bare-stringsrule.
- Add blueprint that generate
.template-lintrc.js. - Deprecate using ember-cli-template-lint without a
.template-lintrc.js.