{"id":19252740,"url":"https://github.com/morevm/stylelint-config","last_synced_at":"2025-04-21T13:31:18.083Z","repository":{"id":37032504,"uuid":"455838247","full_name":"MorevM/stylelint-config","owner":"MorevM","description":"Strict shareable Stylelint configuration","archived":false,"fork":false,"pushed_at":"2024-10-09T17:05:02.000Z","size":1942,"stargazers_count":0,"open_issues_count":10,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-09T20:21:19.279Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MorevM.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":"2022-02-05T10:25:18.000Z","updated_at":"2024-10-09T17:05:06.000Z","dependencies_parsed_at":"2024-01-14T16:07:14.998Z","dependency_job_id":"881d1306-0a6d-4db4-aee6-f647684473a6","html_url":"https://github.com/MorevM/stylelint-config","commit_stats":{"total_commits":162,"total_committers":3,"mean_commits":54.0,"dds":0.3765432098765432,"last_synced_commit":"fd8ce23eb1e02e8d99abe733ac01bb6d6dc74fe3"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorevM%2Fstylelint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorevM%2Fstylelint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorevM%2Fstylelint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorevM%2Fstylelint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MorevM","download_url":"https://codeload.github.com/MorevM/stylelint-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223867061,"owners_count":17216816,"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-09T18:28:15.316Z","updated_at":"2024-11-09T18:28:15.789Z","avatar_url":"https://github.com/MorevM.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Promo image of @morev/stylelint-config package](./.github/images/banner.svg)\n\n![Stability of \"master\" branch](https://img.shields.io/github/actions/workflow/status/MorevM/stylelint-config/build.yaml?branch=master)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n![Last commit](https://img.shields.io/github/last-commit/morevm/stylelint-config)\n![Release version](https://img.shields.io/github/v/release/morevm/stylelint-config?include_prereleases)\n![GitHub Release Date](https://img.shields.io/github/release-date/morevm/stylelint-config)\n![Keywords](https://img.shields.io/github/package-json/keywords/morevm/stylelint-config)\n\n# @morev/stylelint-config\n\nStrict shareable Stylelint configuration with reasonable defaults.\n\n✔️ 200+ configured rules of Stylelint and its plugins; \\\n✔️ 70+ extra rules for SCSS; \\\n✔️ Consistent order of properties and rules according to BEM methodology.\n\n---\n\n## Installation\n\n### Using `yarn`\n\n```bash\nyarn add stylelint @morev/stylelint-config --dev\n```\n\n### Using `npm`\n\n```bash\nnpm install -D stylelint @morev/stylelint-config\n```\n\n### Using `pnpm`\n\n```bash\npnpm add -d stylelint @morev/stylelint-config\n```\n\n## Usage\n\nCreate a [Stylelint configuration file](https://stylelint.io/user-guide/configure/)\n(`.stylelintrc.js` for the following instruction) in the package root with the following content:\n\n\u003e Note: the following instruction assumes that the package is written in ESM.\n\u003e\n\u003e For projects written in CommonJS (that doesn't have `\"type\": \"module\"` within its `package.json`)\n\u003e you need to specify `.cjs` extension for configuration file and use `module.exports` instead of `export default`.\n\u003e\n\u003e Alternatively you can use a configuration file defined in YAML or JSON format, but it's less extensible.\n\n### SCSS repository (default)\n\n```js\n/** @type {import('stylelint').Config} */\nexport default {\n  extends: [\n    '@morev/stylelint-config',\n  ],\n  rules: {},\n}\n```\n\n### CSS repository\n\n```js\n/** @type {import('stylelint').Config} */\nexport default {\n  extends: [\n    '@morev/stylelint-config/css',\n  ],\n  rules: {},\n}\n```\n\n### Mixed (for some reason O_o) repository\n\n```js\n/** @type {import('stylelint').Config} */\nexport default {\n  overrides: [\n    { files: ['*.css'], extends: ['@morev/stylelint-config/css'] }\n    { files: ['*.scss'], extends: ['@morev/stylelint-config/scss'] }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorevm%2Fstylelint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorevm%2Fstylelint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorevm%2Fstylelint-config/lists"}