{"id":18264867,"url":"https://github.com/bem/eslint-plugin-bem-xjst","last_synced_at":"2025-07-26T02:41:03.165Z","repository":{"id":45660191,"uuid":"54503492","full_name":"bem/eslint-plugin-bem-xjst","owner":"bem","description":"ESLint environments for bem-xjst","archived":false,"fork":false,"pushed_at":"2023-06-22T18:48:30.000Z","size":16,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-05-28T09:04:53.950Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bem.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2016-03-22T19:36:52.000Z","updated_at":"2024-10-03T01:15:41.000Z","dependencies_parsed_at":"2024-06-21T18:56:21.694Z","dependency_job_id":"817fbd95-5857-48b1-81fc-787f0e2dba4e","html_url":"https://github.com/bem/eslint-plugin-bem-xjst","commit_stats":{"total_commits":30,"total_committers":7,"mean_commits":4.285714285714286,"dds":0.5,"last_synced_commit":"5978502d95b08a95903f41a11388d75e5a298cc2"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/bem/eslint-plugin-bem-xjst","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bem%2Feslint-plugin-bem-xjst","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bem%2Feslint-plugin-bem-xjst/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bem%2Feslint-plugin-bem-xjst/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bem%2Feslint-plugin-bem-xjst/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bem","download_url":"https://codeload.github.com/bem/eslint-plugin-bem-xjst/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bem%2Feslint-plugin-bem-xjst/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261814664,"owners_count":23213805,"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":[],"created_at":"2024-11-05T11:16:20.955Z","updated_at":"2025-06-25T05:39:49.551Z","avatar_url":"https://github.com/bem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ESLint environments for bem-xjst\n================================\n\n[![NPM Status][npm-img]][npm]\n[![Travis Status][test-img]][travis]\n\n[npm]:          https://www.npmjs.org/package/eslint-plugin-bem-xjst\n[npm-img]:      https://img.shields.io/npm/v/eslint-plugin-bem-xjst.svg\n\n[travis]:       https://travis-ci.org/bem/eslint-plugin-bem-xjst\n[test-img]:     https://img.shields.io/travis/bem/eslint-plugin-bem-xjst.svg?label=tests\n\nThis plugin includes two ESLint environments:\n\n* `bem-xjst/bemhtml` - for [BEMHTML](https://en.bem.info/technology/bemhtml/v2/rationale/) templates\n* `bem-xjst/bemtree` - for [BEMTREE](https://en.bem.info/technology/bemtree/v2/bemtree/) templates\n\nInstall\n-------\n\nYou'll first need to install `ESLint`:\n\n```\n$ npm install eslint --save-dev\n```\n\n**Note**: You may install ESLint globally using the `-g` flag.\n\nNext, install `eslint-plugin-bem-xjst`:\n\n```\n$ npm install eslint-plugin-bem-xjst --save-dev\n```\n\n**Note**: If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-bem-xjst` globally.\n\nA globally-installed instance of ESLint can only use globally-installed ESLint plugins. A locally-installed ESLint can make use of both locally- and globally- installed ESLint plugins.\n\nUsage\n-----\n\nAdd `bem-xjst` to the plugins section of your `.eslintrc` configuration file.\n\n```json\n{\n    \"plugins\": [\n        \"bem-xjst\"\n    ]\n}\n```\n\n**Note**: We omitted the `eslint-plugin-` prefix since it is automatically assumed by ESLint.\n\nFor BEMHTML templates add the `bem-xjst/bemhtml` environment to `.eslintrc`:\n\n```json\n{\n    \"env\": {\n        \"bem-xjst/bemhtml\": true\n    }\n}\n```\n\nFor BEMTREE templates add the `bem-xjst/bemtree` environment to `.eslintrc`:\n\n```json\n{\n    \"env\": {\n        \"bem-xjst/bemtree\": true\n    }\n}\n```\n\nLicense\n-------\n\nMIT © [Andrew Abramov](https://github.com/blond)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbem%2Feslint-plugin-bem-xjst","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbem%2Feslint-plugin-bem-xjst","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbem%2Feslint-plugin-bem-xjst/lists"}