{"id":19561832,"url":"https://github.com/valantic/stylelint-config-valantic","last_synced_at":"2026-02-01T22:02:29.145Z","repository":{"id":30428157,"uuid":"124868247","full_name":"valantic/stylelint-config-valantic","owner":"valantic","description":"Default valantic configuration for stylelint.","archived":false,"fork":false,"pushed_at":"2025-10-02T12:33:32.000Z","size":581,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-23T16:31:46.245Z","etag":null,"topics":["css","scss","stylelint","stylelint-config","valantic"],"latest_commit_sha":null,"homepage":null,"language":"SCSS","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/valantic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","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":"2018-03-12T09:55:11.000Z","updated_at":"2025-10-02T12:30:43.000Z","dependencies_parsed_at":"2024-01-11T16:49:17.406Z","dependency_job_id":"6f953704-e376-4db2-adb8-baa572e2a8d8","html_url":"https://github.com/valantic/stylelint-config-valantic","commit_stats":{"total_commits":93,"total_committers":4,"mean_commits":23.25,"dds":0.3548387096774194,"last_synced_commit":"c43e1f1b3e8105651609f1170cf84639cbdd1c64"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/valantic/stylelint-config-valantic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valantic%2Fstylelint-config-valantic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valantic%2Fstylelint-config-valantic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valantic%2Fstylelint-config-valantic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valantic%2Fstylelint-config-valantic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valantic","download_url":"https://codeload.github.com/valantic/stylelint-config-valantic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valantic%2Fstylelint-config-valantic/sbom","scorecard":{"id":914887,"data":{"date":"2025-08-11","repo":{"name":"github.com/valantic/stylelint-config-valantic","commit":"e47ba6f36dd6e505f3563d51a10d94bd5871a825"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"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":"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":"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":"Code-Review","score":0,"reason":"Found 2/23 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":"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":"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":"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:0","Info: FSF or OSI recognized license: MIT License: LICENSE: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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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 10 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":5,"reason":"5 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-3xgq-45jj-v275","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-24T20:36:31.802Z","repository_id":30428157,"created_at":"2025-08-24T20:36:31.802Z","updated_at":"2025-08-24T20:36:31.802Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28992650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T22:01:47.507Z","status":"ssl_error","status_checked_at":"2026-02-01T21:58:37.335Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["css","scss","stylelint","stylelint-config","valantic"],"created_at":"2024-11-11T05:12:40.156Z","updated_at":"2026-02-01T22:02:29.105Z","avatar_url":"https://github.com/valantic.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# valantic stylelint configuration\n\nTo ensure a high an consistent code quality for SCSS/CSS we use stylelint.\n\n[https://stylelint.io/](https://stylelint.io/)\n\n## Version\n\nOur config is currently optimized for Stylelint 13.0.0 To check for updates, see [https://github.com/stylelint/stylelint/releases](https://github.com/stylelint/stylelint/releases)\n\n**Note that Stylelint is not backwards compatible and linting will fail if the configuration contains settings, which are not known to the current version!**\n\n## Installing stylelint-config-valantic package\n\n```shell\nnpm install stylelint-config-valantic stylelint --save-dev\n```\n\n### Create config\n\nIn the root of your project add a `.stylelintrc.js` file and add the following content to enable the valantic config for your project.\n\n```js\nmodule.exports = {\n  \"extends\": \"stylelint-config-valantic\",\n  \"rules\": {\n    // Project related rules\n  }\n}\n\n```\n\n### Create --fix config\n\nIt is recommended to have a separate `--fix` config, that uses some additional rules (e.g. for property order) to hide non-blocking issues from the user but auto apply them on git hooks.\n\n1. Create an additional `.stylelintrc.fix.js` file\n\n```js\nmodule.exports = {\n  extends: [\n    'stylelint-config-valantic/fix',\n    './.stylelintrc.js'\n  ],\n};\n```\n\n**NOTE: using `--config` in the fix command will disable the auto-merging of nested stylelint configurations.** It therefore is recommended to move folder specific conigurations to the `overrides` section of the base configuration.\n\n```js\nmodule.exports = {\n  overrides: [\n    {\n      files: ['src/styleguide/routes/**/*.*'],\n      rules: {\n        'selector-class-pattern': null,\n      }\n    }\n  ]\n};\n```\n\n2. Add a `package.json` script, if you want to test manually.\n\n```json\n{\n  \"stylelint\": \"stylelint --cache 'src/**/*.?(vue|scss)'\",\n  \"stylelint:fix\": \"npm run stylelint -- --cache=false --config .stylelintrc.fix.js --fix\"\n}\n```\n\n3. Assign the `--fix` config for `lint-staged`.\n\n```json\n{\n  \"lint-staged\": {\n    \"*.{css,vue,scss}\": [\n      \"stylelint --config .stylelintrc.fix.js --fix\"\n    ]\n  }\n}\n```\n\n## Use\n\nNow you're ready to enable Stylelint in your editor or use it on the command line!\n\n### PhpStorm\n\nGo to `PhpStorm \u003e Preferences` and search for Stylelint or navigate to `Languages \u0026 Frameworks \u003e Stylesheets \u003e Stylelint` and enable it.\n\n### Console\n\nYou can also lint your code from the console. To do this, add a script to your `package.json`.\n\n```\n\"scripts\": {\n  \"stylelint\": \"stylelint 'app/**/*.scss' --config .stylelintrc; exit 0\"\n}\n```\n\nNow you can execute the linter with the following command.\n\n```\n$ npm run stylelint\n```\n\n## Know issues\n\n### Undefined rule\n\nIn case you get errors like \"Undefined rule ...\" you may have a version conflict between Stylelint and this configuration. Make sure you're using the above mentioned Stylelint version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalantic%2Fstylelint-config-valantic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalantic%2Fstylelint-config-valantic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalantic%2Fstylelint-config-valantic/lists"}