{"id":15161426,"url":"https://github.com/clarksource/ember-template-lint-config","last_synced_at":"2025-09-30T13:32:27.366Z","repository":{"id":35947580,"uuid":"220428531","full_name":"ClarkSource/ember-template-lint-config","owner":"ClarkSource","description":"Clark’s config for ember-template-lint","archived":true,"fork":false,"pushed_at":"2022-12-02T07:42:07.000Z","size":214,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":24,"default_branch":"main","last_synced_at":"2024-12-15T00:42:22.656Z","etag":null,"topics":["ember","ember-template-lint","ember-template-lint-config","emberjs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ClarkSource.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-08T09:06:49.000Z","updated_at":"2022-12-02T08:50:27.000Z","dependencies_parsed_at":"2023-01-16T09:39:22.575Z","dependency_job_id":null,"html_url":"https://github.com/ClarkSource/ember-template-lint-config","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClarkSource%2Fember-template-lint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClarkSource%2Fember-template-lint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClarkSource%2Fember-template-lint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClarkSource%2Fember-template-lint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ClarkSource","download_url":"https://codeload.github.com/ClarkSource/ember-template-lint-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234744628,"owners_count":18879955,"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","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":["ember","ember-template-lint","ember-template-lint-config","emberjs"],"created_at":"2024-09-27T00:20:27.948Z","updated_at":"2025-09-30T13:32:26.988Z","avatar_url":"https://github.com/ClarkSource.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.clark.de/de/jobs\"\u003e\n    \u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n    \u003cimg alt=\"CLARK\" src=\"./docs/assets/clark.svg\" height=\"40\"\u003e\n    \u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# @clark/ember-template-lint-config\n\n[![Node.js CI](https://github.com/ClarkSource/ember-template-lint-config/workflows/Node.js%20CI/badge.svg)](https://github.com/ClarkSource/ember-template-lint-config/actions)\n[![npm version](https://badge.fury.io/js/@clark%2Fember-template-lint-config.svg)](http://badge.fury.io/js/@clark%2Fember-template-lint-config)\n[![Download Total](https://img.shields.io/npm/dt/@clark%2Fember-template-lint-config.svg)](http://badge.fury.io/js/@clark%2Fember-template-lint-config)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![CLARK Open Source](https://img.shields.io/badge/CLARK-Open%20Source-%232B6CDE.svg)](https://www.clark.de/de/jobs)\\\n[![dependencies Status](https://david-dm.org/ClarkSource/ember-template-lint-config/status.svg)](https://david-dm.org/ClarkSource/ember-template-lint-config)\n[![devDependencies Status](https://david-dm.org/ClarkSource/ember-template-lint-config/dev-status.svg)](https://david-dm.org/ClarkSource/ember-template-lint-config?type=dev)\n\nThe configuration for [`ember-template-lint`][ember-template-lint] we use across\nall of our [Ember.js][ember] projects.\n\n[ember-template-lint]: https://github.com/ember-template-lint/ember-template-lint\n[ember]: https://github.com/emberjs/ember.js\n\n## Installation\n\nInstall the dependencies:\n\n```bash\n# Install `ember-template-lint` itself and our config\nyarn add -D ember-template-lint @clark/ember-template-lint-config\n\n# Remove the linting integration into ember-cli\nyarn remove ember-cli-template-lint\n```\n\nUpdate or create the `.template-lintrc.js`:\n\n```js\n'use strict';\n\nmodule.exports = {\n  plugins: ['@clark/ember-template-lint-config'],\n  extends: 'clark:octane'\n};\n```\n\nAdd the `lint:hbs` script to the `package.json`, in case it does not exist yet:\n\n```json\n{\n  \"name\": \"my-awesome-app\",\n  \"scripts\": {\n    \"lint:hbs\": \"ember-template-lint .\"\n  },\n  \"devDependencies\": {\n    \"@clark/ember-template-lint-config\": \"^0.1.0\",\n    \"ember-template-lint:\" \"^1.8.1\"\n  }\n}\n```\n\nDon't forget to run `yarn lint:hbs` in CI!\n\n## Usage\n\nThis package exports two configurations you can extend from.\n\n### `clark:octane`\n\nThis is the recommended default configuration to use. It extends the official\n[`octane` config][config-octane] and makes the following changes to it:\n\n[config-octane]: https://github.com/ember-template-lint/ember-template-lint/blob/master/lib/config/octane.js\n\n- [`no-curly-component-invocation`][no-curly-component-invocation]: whitelist\n  all [known helpers][known-helpers]\n- [`simple-unless`][simple-unless]: allow to use a single, simple helper in\n  `{{unless}}`\n\n[no-curly-component-invocation]: https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/rule/no-curly-component-invocation.md\n[simple-unless]: https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/rule/simple-unless.md\n[known-helpers]: /known-helpers.js\n\n### `clark:legacy`\n\nThis config extends [`clark:octane`](#clark:octane) and disables a few rules, so\nthat the linter does not go crazy on code that was written pre-Octane. Use this\nconfig for legacy packages, when `clark:octane` throws too many, not easily\nfixable errors. Ideally though, migrate your code.\n\nThe following rules are disabled:\n\n- [`no-implicit-this`][no-implicit-this]: prefix context access with `this.` and\n  component arguments with `@`\n- [`no-curly-component-invocation`][no-curly-component-invocation]: migrate\n  curly component invocation to angle bracket invocations\n- [`no-action`][no-action]: use the `{{on}}` modifier and `(fn)` helper over\n  `{{action}}`\n\n[no-implicit-this]: https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/rule/no-implicit-this.md\n[no-action]: https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/rule/no-action.md\n\n## Q \u0026 A\n\n### Why remove `ember-cli-template-lint`?\n\n`ember-cli-template-lint` is a wrapper around the actual `ember-template-lint`,\nthat integrates it into the linting pipeline of `ember-cli`. We strongly agree\nwith [RFC #121 \"Remove `ember-cli-eslint`\"][rfc-121] and believe that the\nlinting pipeline, as it is implemented in `ember-cli`, is hacky and should not\nrun alongside the browser tests.\n\nInstead we run all our lint jobs as extra steps in CI.\n\n[rfc-121]: https://github.com/emberjs/rfcs/blob/master/text/0121-remove-ember-cli-eslint.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarksource%2Fember-template-lint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclarksource%2Fember-template-lint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarksource%2Fember-template-lint-config/lists"}