{"id":22354068,"url":"https://github.com/movableink/template-lint-plugin","last_synced_at":"2025-09-18T08:32:42.783Z","repository":{"id":36984138,"uuid":"218997538","full_name":"movableink/template-lint-plugin","owner":"movableink","description":"Custom `ember-template-lint` rules for Movable Ink","archived":false,"fork":false,"pushed_at":"2023-09-01T02:51:00.000Z","size":2451,"stargazers_count":2,"open_issues_count":5,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-14T00:17:55.046Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/movableink.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-01T14:08:20.000Z","updated_at":"2022-12-14T23:07:34.000Z","dependencies_parsed_at":"2024-12-04T13:11:16.023Z","dependency_job_id":"4a29dd6c-b4fa-4305-b0b7-8e84ac689347","html_url":"https://github.com/movableink/template-lint-plugin","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/movableink/template-lint-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movableink%2Ftemplate-lint-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movableink%2Ftemplate-lint-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movableink%2Ftemplate-lint-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movableink%2Ftemplate-lint-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/movableink","download_url":"https://codeload.github.com/movableink/template-lint-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movableink%2Ftemplate-lint-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267845486,"owners_count":24153724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-04T13:11:04.807Z","updated_at":"2025-09-18T08:32:42.655Z","avatar_url":"https://github.com/movableink.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `@movable/template-lint-plugin`\n\n[![CI](https://github.com/movableink/template-lint-plugin/actions/workflows/ci.yml/badge.svg)](https://github.com/movableink/template-lint-plugin/actions/workflows/ci.yml)\n\nThis is a collection of custom [`ember-template-lint`](https://github.com/ember-template-lint/ember-template-lint) rules written for and used at [Movable Ink](https://github.com/movableink).\n\n## Rules\n\n| Name                                                                             | Description                                                                 |\n| :------------------------------------------------------------------------------- | :-------------------------------------------------------------------------- |\n| [`no-expression-like-strings`](./docs/rules/no-expression-like-strings.md)       | Catch strings that you probably meant to be Handlebars expressions          |\n| [`no-forbidden-elements`][no-forbidden-elements-docs]                            | Catch `\u003cb\u003e, \u003ci\u003e` that you probably meant to be `\u003cstrong\u003e, \u003cem\u003e` expressions |\n| [`require-purgeable-class-names`](./docs/rules/require-purgeable-class-names.md) | Require class names are written such that they can be detected by PurgeCSS  |\n| [`svg-aria-required`](./docs/rules/svg-aria-required.md)                         | Require all svgs to have aria label attributes                              |\n\n## Configurations\n\nThe following sets of rules are available for your `ember-template-lint` configuration to extend from:\n\n| Name                        | Description                                                            |\n| :-------------------------- | :--------------------------------------------------------------------- |\n| `avoid-possible-typos`      | Rules meant to catch possible typos in your templates                  |\n| `avoid-deprecated-elements` | Rules meant to catch `\u003cb\u003e` and `\u003ci\u003e` tags, use `\u003cstrong\u003e` and `\u003cem\u003e`   |\n| `svg-aria-required`         | Rules meant to catch svgs without an `aria-label` or `aria-labelledby` |\n| `base`                      | The base set of rules used across all Movable Ink projects             |\n\n## Usage\n\nStart with installing this package into your Ember application\n\n```sh\nyarn add -D @movable/template-lint-plugin\n```\n\nThen, include the plugin in your `.template-lintrc.js`\n\n```javascript\n// .template-lintrc.js\n\nmodule.exports = {\n  plugins: ['@movable/template-lint-plugin'],\n\n  extends: [\n    // You can extend a whole set of rules\n    '@movable/template-lint-plugin:avoid-possible-typos',\n    '@movable/template-lint-plugin:avoid-deprecated-elements',\n    '@movable/template-lint-plugin:svg-aria-required',\n  ],\n\n  rules: [\n    // ... Or just the ones you want\n    ('no-expression-like-strings': true),\n  ],\n};\n```\n\n[no-forbidden-elements-docs]: https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/rule/no-forbidden-elements.md#no-forbidden-elements\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmovableink%2Ftemplate-lint-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmovableink%2Ftemplate-lint-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmovableink%2Ftemplate-lint-plugin/lists"}