{"id":38595424,"url":"https://github.com/htmlacademy/stylelint-config-htmlacademy","last_synced_at":"2026-01-17T08:27:25.726Z","repository":{"id":20494203,"uuid":"85582746","full_name":"htmlacademy/stylelint-config-htmlacademy","owner":"htmlacademy","description":"HTML Academy Stylelint config","archived":false,"fork":false,"pushed_at":"2024-05-28T19:01:49.000Z","size":439,"stargazers_count":71,"open_issues_count":74,"forks_count":48,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-11-01T06:12:42.116Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/htmlacademy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-03-20T13:53:39.000Z","updated_at":"2024-06-21T14:48:15.000Z","dependencies_parsed_at":"2023-10-03T04:14:01.072Z","dependency_job_id":"991bfbab-b4ff-4e6b-a6fd-e930c3197851","html_url":"https://github.com/htmlacademy/stylelint-config-htmlacademy","commit_stats":{"total_commits":120,"total_committers":8,"mean_commits":15.0,"dds":"0.23333333333333328","last_synced_commit":"8380c59b46bf92890319feb1704e03a0900d35b0"},"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"purl":"pkg:github/htmlacademy/stylelint-config-htmlacademy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htmlacademy%2Fstylelint-config-htmlacademy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htmlacademy%2Fstylelint-config-htmlacademy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htmlacademy%2Fstylelint-config-htmlacademy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htmlacademy%2Fstylelint-config-htmlacademy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/htmlacademy","download_url":"https://codeload.github.com/htmlacademy/stylelint-config-htmlacademy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htmlacademy%2Fstylelint-config-htmlacademy/sbom","scorecard":{"id":471162,"data":{"date":"2025-08-11","repo":{"name":"github.com/htmlacademy/stylelint-config-htmlacademy","commit":"bfddce6cccb0c5777c08cd8a90c76a0e92ab5b90"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/htmlacademy/stylelint-config-htmlacademy/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/htmlacademy/stylelint-config-htmlacademy/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/htmlacademy/stylelint-config-htmlacademy/test.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T13:55:11.499Z","repository_id":20494203,"created_at":"2025-08-19T13:55:11.499Z","updated_at":"2025-08-19T13:55:11.499Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28504364,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-17T08:27:25.634Z","updated_at":"2026-01-17T08:27:25.702Z","avatar_url":"https://github.com/htmlacademy.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stylelint-config-htmlacademy\n\n[![Test Status][test-image]][test-url]\n[![License: MIT][license-image]][license-url]\n[![NPM version][npm-image]][npm-url]\n[![Vulnerabilities count][vulnerabilities-image]][vulnerabilities-url]\n\n\u003e Это стандартный конфигурационный файл для stylelint от [HTML Academy](https://htmlacademy.ru/).\n\nИспользуйте его как есть или как основу для вашей собственной конфигурации.\n\n## Установка\n\nВместе с конфигом установите и сам `stylelint`.\n\n```sh\nnpm i -D stylelint-config-htmlacademy stylelint\n```\n\n## Использование\n\nВ корне проекта создайте файл `.stylelintrc` и в нём добавьте `stylelint-config-htmlacademy` в поле `extends`.\n\n_.stylelintrc_\n\n```json\n{\n  \"extends\": \"stylelint-config-htmlacademy\"\n}\n```\n\nЕсли вы установили `stylelint-config-htmlacademy` глобально с помощью флага `-g`, тогда вам нужно использовать абсолютный путь `stylelint-config-htmlacademy` в конфигурационном файле:\n\n_.stylelintrc_\n\n```json\n{\n  \"extends\": \"/absolute/path/to/stylelint-config-htmlacademy\"\n}\n```\n\n## Расширение конфига\n\nВы можете переопределить существующие правила или добавить новые.\n\nДля этого добавьте в конфиг поле `rules` с нужными вам переопределениями правил.\n\n_.stylelintrc_\n\n```json\n{\n  \"extends\": \"stylelint-config-htmlacademy\",\n  \"rules\": {\n    \"property-no-unknown\": [\n      true,\n      {\n        \"ignoreProperties\": [\n          \"composes\"\n        ]\n      }\n    ],\n    \"unit-whitelist\": [\"em\", \"rem\", \"s\", \"px\"]\n  }\n}\n```\n\nВ этом же поле `rules` можно переопределять и больше не поддерживаемые самим Stylelint [стилистические правила](https://github.com/firefoxic/stylelint-codeguide/blob/main/docs/user-guide/rules.md#rules) из плагина `stylelint-codeguide`, добавив перед названием правила префикс `codeguide/`.\n\n_.stylelintrc_\n\n```json\n{\n  \"extends\": \"stylelint-config-htmlacademy\",\n  \"rules\": {\n    \"property-no-unknown\": [\n      true,\n      {\n        \"ignoreProperties\": [\n          \"composes\"\n        ]\n      }\n    ],\n    \"unit-whitelist\": [\"em\", \"rem\", \"s\", \"px\"],\n\n    \"codeguide/indentation\": \"tab\",\n    \"codeguide/number-leading-zero\": null\n  }\n}\n```\n\n## Использование в VSCode\n\n1. Установите стайллинт и конфиг\n2. Откройте VScode\n3. Установите плагин [stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint)\n4. Пользуйтесь\n\n![Несоответствия правилам конфига подчёркиваются красной волнистой линией, по наведению на которую появляется попап с описанием ошибки.](vscode-error.png)\n\n[test-url]: https://github.com/htmlacademy/stylelint-config-htmlacademy/actions\n[test-image]: https://github.com/htmlacademy/stylelint-config-htmlacademy/actions/workflows/test.yml/badge.svg?branch=main\n\n[npm-url]: https://npmjs.org/package/stylelint-config-htmlacademy\n[npm-image]: https://badge.fury.io/js/stylelint-config-htmlacademy.svg\n\n[license-url]: https://github.com/htmlacademy/stylelint-config-htmlacademy/blob/main/LICENSE\n[license-image]: https://img.shields.io/badge/License-MIT-limegreen.svg\n\n[vulnerabilities-url]: https://snyk.io/test/github/htmlacademy/stylelint-config-htmlacademy\n[vulnerabilities-image]: https://img.shields.io/snyk/vulnerabilities/npm/stylelint-config-htmlacademy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtmlacademy%2Fstylelint-config-htmlacademy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhtmlacademy%2Fstylelint-config-htmlacademy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtmlacademy%2Fstylelint-config-htmlacademy/lists"}