{"id":18561272,"url":"https://github.com/apostrophecms/stylelint-config-apostrophe","last_synced_at":"2025-06-27T15:07:12.795Z","repository":{"id":46381346,"uuid":"331335210","full_name":"apostrophecms/stylelint-config-apostrophe","owner":"apostrophecms","description":"An stylelint configuration for Apostrophe.","archived":false,"fork":false,"pushed_at":"2025-06-11T16:04:50.000Z","size":64,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-27T15:06:23.043Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apostrophecms.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2021-01-20T14:42:12.000Z","updated_at":"2025-06-11T16:04:44.000Z","dependencies_parsed_at":"2024-04-22T14:30:40.369Z","dependency_job_id":"fdda815e-e024-43a9-b694-1eadcd0f5dcf","html_url":"https://github.com/apostrophecms/stylelint-config-apostrophe","commit_stats":{"total_commits":29,"total_committers":6,"mean_commits":4.833333333333333,"dds":0.5862068965517242,"last_synced_commit":"e0c83b0e47feb80d5eaa01d000f3ac0d4f08958a"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/apostrophecms/stylelint-config-apostrophe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apostrophecms%2Fstylelint-config-apostrophe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apostrophecms%2Fstylelint-config-apostrophe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apostrophecms%2Fstylelint-config-apostrophe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apostrophecms%2Fstylelint-config-apostrophe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apostrophecms","download_url":"https://codeload.github.com/apostrophecms/stylelint-config-apostrophe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apostrophecms%2Fstylelint-config-apostrophe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262279120,"owners_count":23286549,"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-06T22:06:23.925Z","updated_at":"2025-06-27T15:07:12.772Z","avatar_url":"https://github.com/apostrophecms.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stylelint-config-apostrophe\n\n\u003e An stylelint configuration for the Apostrophe team.\n\nExtends `stylelint-config-standard`\n\nThis config also leverages the following plugins to fine tune our rules.\n\n```json\n\"stylelint-order\"\n\"stylelint-declaration-strict-value\"\n\"stylelint-scss\"\n\"stylelint-selector-bem-pattern\"\n```\n\n## Installation\n\n```bash\nnpm i stylelint-config-apostrophe --save-dev\n```\n\n## Package versions\n\nChoose the appropriate for your application `stylelint-config-apostrophe` version based on the `stylelint` dependency introduced on a project level:\n\n| Stylelint       | Apostrophe config |\n| :-------------- | ----------------: |\n| \u003e= v13.8.x \u003c 14 |            v1.x.x |\n| v14.x.x         |            v2.x.x |\n| v16.x.x         |            v2.x.x |\n\n[Migrating to stylelint v14](https://stylelint.io/migration-guide/to-14/)\n\n## Usage\n\nIf you've installed `stylelint-config-apostrophe` locally within your project, just set your `stylelint` config to:\n\n```json\n{\n  \"extends\": \"stylelint-config-apostrophe\"\n}\n```\n\nIn order to also use the `stylelint-selector-bem-pattern` rules, you'll also need to configure this rule at a project level.\n\nIf using our build tools you can configure this as in your `webpack.config` by setting the `prefix` option of the `prefixer` setting. You may also use the `ignore` option to allow vendor prefixes to be allowed.\n\n```js\nprefixer: {\n  prefix: 'my-project',\n  ignore: [ /apos-/ ]\n}\n```\n\nIf you're not using our build tools, you may simply configure your rules in your `.stylelintrc` file per the instructions from the [`stylelint-selector-bem-pattern` plugin](https://github.com/simonsmith/stylelint-selector-bem-pattern#usage).\n\n## Viewing differences between the standard configuration and ours\n\nFrom this project's root, run\n\n```\nnpm run compare\n```\n\nThis will print a report in your terminal which shows which rules we not added to our config and which rules we have specifically modified.\n\nAll missing rules should be added to the `.stylelintrc.json` with a definition even if we agree with the standard. This ensures that we are aware of any new rules or changed definitions that are made to the standard and will allow us to lock down the rule definitions that we agree with.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapostrophecms%2Fstylelint-config-apostrophe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapostrophecms%2Fstylelint-config-apostrophe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapostrophecms%2Fstylelint-config-apostrophe/lists"}