{"id":20838423,"url":"https://github.com/reload/stylelint","last_synced_at":"2025-12-27T02:34:32.142Z","repository":{"id":40698320,"uuid":"373540061","full_name":"reload/stylelint","owner":"reload","description":"A Reload opinionated way of making sure our CSS/SCSS code is up to snuff.","archived":false,"fork":false,"pushed_at":"2025-08-01T09:18:30.000Z","size":101,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-30T14:19:07.138Z","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/reload.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-06-03T14:39:40.000Z","updated_at":"2025-08-01T09:18:33.000Z","dependencies_parsed_at":"2025-08-01T11:02:36.302Z","dependency_job_id":"38f5f2af-a29f-471c-b370-1686b478d1aa","html_url":"https://github.com/reload/stylelint","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reload/stylelint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Fstylelint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Fstylelint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Fstylelint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Fstylelint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reload","download_url":"https://codeload.github.com/reload/stylelint/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Fstylelint/sbom","scorecard":{"id":769965,"data":{"date":"2025-08-11","repo":{"name":"github.com/reload/stylelint","commit":"a0f573e124c1698ece3b3c4f4730706bc33a7fe0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"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":"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Maintained","score":5,"reason":"7 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/21 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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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 14 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":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"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-23T01:57:25.294Z","repository_id":40698320,"created_at":"2025-08-23T01:57:25.295Z","updated_at":"2025-08-23T01:57:25.295Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28069705,"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","status":"online","status_checked_at":"2025-12-27T02:00:05.897Z","response_time":58,"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-18T01:10:13.620Z","updated_at":"2025-12-27T02:34:32.124Z","avatar_url":"https://github.com/reload.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![stylelint_reload](https://figmage.com/images/ckEiyoCFCiQM0I-uA_WAd.png)\n\n# Styling the Reload way\n\nA [Reload](https://reload.dk/) opinionated way of making sure our CSS/SCSS code is up to snuff.\n\n## Usage\n\n### Install\n\n```sh\nnpm install stylelint prettier --save-dev\n```\n\nInstall either `@reloaddk/stylelint-recommended` or `@reloaddk/stylelint-recommended-scss`\ndepending upon your usecase.\n\n```sh\nnpm install @reloaddk/stylelint-recommended --save-dev\n```\n\nCreate these two files alongside your `package.json` file.\n\n### .prettierrc.json\n\n```json\n{}\n```\n\n### .stylelintrc.json\n\n```json\n{\n  \"extends\": [\"@reloaddk/stylelint-recommended\"]\n}\n```\n\nSpin this badboy up and point stylelint and prettier towards your CSS or SCSS files.\n\n#### Lint\n\n```sh\nnpx stylelint \"**/*.css\" \u0026\u0026 npx prettier \"**/*.css\" --check\n```\n\n#### Format\n\n```sh\nnpx stylelint \"**/*.css\" --fix \u0026\u0026 npx prettier \"**/*.css\" --write\n```\n\n## Additional rules\n\nWanting to add additional rules is straightforward.\n\n### [.stylelintrc.json](https://stylelint.io/user-guide/configure#rules)\n\n```json\n{\n  \"extends\": [\"@reloaddk/stylelint-recommended\"],\n  \"rules\": {\n    \"color-no-invalid-hex\": true\n  }\n}\n```\n\nIf wanting to extend the `@reloaddk/stylelint-recommended` we need to re-apply\nthe prettier `stylelint-config-prettier` configuration that turns off all\nstylelint rules that is prettiers responsability.\n\nImagine we wanted to apply the Github CSS guidelines we would have to install\ntheir config, extend from it and then make sure to append `stylelint-config-prettier`.\n\n```sh\nnpm install stylelint-config-primer stylelint-config-prettier --save-dev\n```\n\n```json\n{\n  \"extends\": [\n    \"@reloaddk/stylelint-recommended\",\n    \"stylelint-config-primer\",\n    \"stylelint-config-prettier\"\n  ]\n}\n```\n\n## Editor integration\n\nThe `editor_integration` directory is an example of smart editor integration\nthat will help you with code quality and code style on save.\nThe equivelant can be configured for additional editors.\nPR's are encouraged to broaden the example support.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freload%2Fstylelint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freload%2Fstylelint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freload%2Fstylelint/lists"}