{"id":19953749,"url":"https://github.com/ember-tooling/ember-eslint-parser","last_synced_at":"2026-04-28T05:00:58.918Z","repository":{"id":211928816,"uuid":"730295840","full_name":"ember-tooling/ember-eslint-parser","owner":"ember-tooling","description":"This is the eslint parser for ember's gjs and gts files (using \u003ctemplate\u003e).","archived":false,"fork":false,"pushed_at":"2026-04-27T02:05:56.000Z","size":990,"stargazers_count":6,"open_issues_count":10,"forks_count":14,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-27T04:11:22.018Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/ember-tooling.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-12-11T16:06:32.000Z","updated_at":"2026-04-25T16:04:07.000Z","dependencies_parsed_at":"2023-12-11T17:29:18.345Z","dependency_job_id":"2546de2c-52ca-48a3-aa63-ece712a522e4","html_url":"https://github.com/ember-tooling/ember-eslint-parser","commit_stats":null,"previous_names":["nullvoxpopuli/ember-eslint-parser"],"tags_count":44,"template":false,"template_full_name":null,"purl":"pkg:github/ember-tooling/ember-eslint-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-tooling%2Fember-eslint-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-tooling%2Fember-eslint-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-tooling%2Fember-eslint-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-tooling%2Fember-eslint-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ember-tooling","download_url":"https://codeload.github.com/ember-tooling/ember-eslint-parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-tooling%2Fember-eslint-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32367021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"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-11-13T01:17:38.461Z","updated_at":"2026-04-28T05:00:58.842Z","avatar_url":"https://github.com/ember-tooling.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-eslint-parser\n\nThis is the eslint parser for ember's gjs and gts files (using `\u003ctemplate\u003e`), and also for Handlebars (`.hbs`) template files.\n\nIt is meant to be used with [eslint-plugin-ember](https://github.com/ember-cli/eslint-plugin-ember), which provides nice defaults for all the different file types in ember projects.\n\nIt's recommended to only use _overrides_ when defining your eslint config, so using this parser would look like this:\n```js \n    {\n      files: ['**/*.gjs'],\n      parser: 'ember-eslint-parser',\n      plugins: ['ember'],\n      extends: [\n        'eslint:recommended',\n        'plugin:ember/recommended',\n        'plugin:ember/recommended-gjs',\n      ],\n    },\n    {\n      files: ['**/*.gts'],\n      parser: 'ember-eslint-parser',\n      plugins: ['ember'],\n      extends: [\n        'eslint:recommended',\n        'plugin:ember/recommended',\n        'plugin:ember/recommended-gts',\n      ],\n    },\n```\n\nif we detect a typescript parser, it will also be used for all files, otherwise babel parser will be used.\nIf we cannot find a typescript parser when linting gts we throw an error. \n\n## HBS (Handlebars) support\n\nFor `.hbs` template files, use the `ember-eslint-parser/hbs` parser. In ESLint's flat config format (ESLint 9+):\n\n```js\n// eslint.config.mjs\nimport hbsParser from 'ember-eslint-parser/hbs';\n\nexport default [\n  {\n    files: ['**/*.hbs'],\n    languageOptions: {\n      parser: hbsParser,\n    },\n  },\n];\n```\n\n\u003e **Note:** In `.hbs` files, all locals not defined in the template are assumed to be defined at runtime. This avoids false-positive `no-undef` errors for template identifiers. This is a known limitation of the classic HBS format — use `.gjs`/`.gts` for full static analysis.\n\n## Support\n\neslint-plugin-ember is the primary consumer of this parser library, so SemVer _may_ not be respected for other consumers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fember-tooling%2Fember-eslint-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fember-tooling%2Fember-eslint-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fember-tooling%2Fember-eslint-parser/lists"}