{"id":18264865,"url":"https://github.com/bem/jscs-bem","last_synced_at":"2025-04-04T21:30:58.183Z","repository":{"id":25090566,"uuid":"28511453","full_name":"bem/jscs-bem","owner":"bem","description":"jscs bem preset and some tasty rules","archived":false,"fork":false,"pushed_at":"2016-02-03T18:42:56.000Z","size":16,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":27,"default_branch":"master","last_synced_at":"2024-09-30T21:49:51.672Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-26T13:25:59.000Z","updated_at":"2016-10-17T08:12:29.000Z","dependencies_parsed_at":"2022-08-06T06:16:29.380Z","dependency_job_id":null,"html_url":"https://github.com/bem/jscs-bem","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bem%2Fjscs-bem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bem%2Fjscs-bem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bem%2Fjscs-bem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bem%2Fjscs-bem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bem","download_url":"https://codeload.github.com/bem/jscs-bem/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223158928,"owners_count":17097375,"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.619Z","updated_at":"2024-11-05T11:16:21.354Z","avatar_url":"https://github.com/bem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jscs-bem\n\nPlugin for [`jscs`][] with `bem` code style preset.\n\n## What is it?\n\nA preset library for [`jscs`][] (code-style linter) with examples and `bem`-specific code-style checks.\n\n### Presets inside\n\n- `bem` — used in [`bem-core`][] v3+ code base and [`bem-components`][] v2+;\n- `canonical-bem` — used in [`bem-core`][] v2 and [`bem-components`][] below v2.\n\n## Usage\n\nTo use it you need fresh [`jscs`][], and simple `.jscsrc` file in your project root.\n\nRun in your project root to quick start:\n```sh\nnpm i jscs jscs-bem --save-dev\necho '{ plugins: [\"jscs-bem\"], preset: \"bem\" }' \u003e .jscsrc\n```\n\n## Contribution\n\n1. [File an issue](https://github.com/bem/jscs-bem/issues/new) with properly described suggestion or problem;\n2. Decide which presets or rules your issue affects;\n3. Create a feature-branch with an issue number (`issues/\u003cissue_number\u003e`). E.g. for an issue 42 it will looks like `issues/42`;\n4. Commit changes with a proper message, e.g.:\n  ```js\n  \u003cpreset\u003e: \u003cshort description\u003e\n\n  [\u003cfull description if needed\u003e]\n\n  Fixes #\u003cissue_number\u003e\n  [Ref #\u003creferenced issue/pr\u003e]\n  ```\n5. Push and make a pull-request from your feature-branch.\n6. Link your pull request with an issue number any way you like (if you forget to do it in commit message). A comment will work perfectly.\n7. Wait for your pull request and the issue to be closed ;-)\n\n## Licence\n\nCode and documentation copyright 2015 YANDEX LLC. Code released under the [Mozilla Public License 2.0](LICENSE.txt).\n\n[`jscs`]: http://jscs.info/\n[`bem-core`]: http://bem.info/libs/bem-core\n[`bem-components`]: http://bem.info/libs/bem-components\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbem%2Fjscs-bem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbem%2Fjscs-bem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbem%2Fjscs-bem/lists"}