{"id":24458252,"url":"https://github.com/zeixcom/stylelint-config","last_synced_at":"2026-04-09T20:48:31.410Z","repository":{"id":57170512,"uuid":"425905105","full_name":"zeixcom/stylelint-config","owner":"zeixcom","description":"Zeix shareable config for Stylelint","archived":false,"fork":false,"pushed_at":"2023-11-08T10:21:38.000Z","size":369,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-24T19:12:35.083Z","etag":null,"topics":["order","prettier","scss","stylelint"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/zeixcom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2021-11-08T16:06:50.000Z","updated_at":"2023-08-01T21:34:22.000Z","dependencies_parsed_at":"2025-01-21T03:13:22.426Z","dependency_job_id":"63450a0b-b2a4-496c-b248-324195ad659d","html_url":"https://github.com/zeixcom/stylelint-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeixcom%2Fstylelint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeixcom%2Fstylelint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeixcom%2Fstylelint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeixcom%2Fstylelint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeixcom","download_url":"https://codeload.github.com/zeixcom/stylelint-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243551239,"owners_count":20309290,"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":["order","prettier","scss","stylelint"],"created_at":"2025-01-21T03:13:20.121Z","updated_at":"2025-12-29T20:04:38.775Z","avatar_url":"https://github.com/zeixcom.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @zeix/stylelint-config\n\nZeix Stylelint config optimized for SCSS and Prettier.\n\n- extends: [`stylelint-config-standard-scss`](https://github.com/stylelint-scss/stylelint-config-standard-scss), [`stylelint-config-prettier`](https://github.com/prettier/stylelint-config-prettier)\n- plugins: [`stylelint-order`](https://github.com/hudochenkov/stylelint-order)\n\nTo see the rules that this config uses, please read the [config itself](https://github.com/zeixcom/stylelint-config/blob/master/index.js).\n\n## Installation\n\n`npm i @zeix/stylelint-config --save-dev`\n\n## Usage\n\nCreate a `stylelint.config.js` file and add an extends key.\n\n```js\nmodule.exports = {\n  extends: [\"@zeix/stylelint-config\"],\n};\n```\n\n[Documentation for the extends option](https://stylelint.io/user-guide/configure/#extends)\n\n## Extending the config\n\nSimply add a \"rules\" key to your config, then add your overrides and additions there.\n\nFor example, to turn off the scss/at-if-no-null rule:\n\n```js\nmodule.exports = {\n  extends: [\"@zeix/stylelint-config\"],\n  rules: {\n    \"scss/at-if-no-null\": null,\n  },\n};\n```\n\n## BEM\n\nProjects using the BEM methodology may add the following rule to check selectors accordingly:\n\n```js\nmodule.exports = {\n  extends: [\"@zeix/stylelint-config\"],\n  rules: {\n    \"selector-class-pattern\": [\n      \"^(?:(?:o|c|u|t|s|is|has|_|js|qa)-)?[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*(?:__[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?(?:--[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?(?:\\\\[.+\\\\])?$\",\n      {\n        resolveNestedSelectors: true,\n      },\n    ],\n  },\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeixcom%2Fstylelint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeixcom%2Fstylelint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeixcom%2Fstylelint-config/lists"}