{"id":13410592,"url":"https://github.com/stormwarning/stylelint-config-recess-order","last_synced_at":"2025-05-15T17:06:43.327Z","repository":{"id":16536265,"uuid":"80129880","full_name":"stormwarning/stylelint-config-recess-order","owner":"stormwarning","description":"🗂️ Recess-based property sort order for Stylelint.","archived":false,"fork":false,"pushed_at":"2025-05-01T22:42:43.000Z","size":1070,"stargazers_count":358,"open_issues_count":8,"forks_count":23,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-13T19:17:34.380Z","etag":null,"topics":["bootstrap","recess","stylelint","stylelint-config"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stormwarning.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2017-01-26T16:01:41.000Z","updated_at":"2025-04-27T11:19:24.000Z","dependencies_parsed_at":"2024-02-06T18:33:32.566Z","dependency_job_id":"05d02c8d-4d66-4649-8ffb-8e3ef56bcc2d","html_url":"https://github.com/stormwarning/stylelint-config-recess-order","commit_stats":{"total_commits":145,"total_committers":16,"mean_commits":9.0625,"dds":0.3931034482758621,"last_synced_commit":"54f99cd7fb6ed35c595e7a6150419e9cc95d75f7"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stormwarning%2Fstylelint-config-recess-order","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stormwarning%2Fstylelint-config-recess-order/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stormwarning%2Fstylelint-config-recess-order/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stormwarning%2Fstylelint-config-recess-order/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stormwarning","download_url":"https://codeload.github.com/stormwarning/stylelint-config-recess-order/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254384988,"owners_count":22062422,"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":["bootstrap","recess","stylelint","stylelint-config"],"created_at":"2024-07-30T20:01:07.856Z","updated_at":"2025-05-15T17:06:38.319Z","avatar_url":"https://github.com/stormwarning.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Recess\\* Property Order [\u003cimg src=\"https://s3.amazonaws.com/media-p.slid.es/uploads/467124/images/2872758/stylelint-icon-black.svg\" alt=\"StyleLint\" width=\"90\" height=\"90\" align=\"right\"\u003e][stylelint]\n\n[![npm version][npm-img]][npm-url]\n[![npm downloads][npm-dls]][npm-url]\n[![github issues][issues-img]][issues-url]\n\nA [Stylelint][] config that sorts CSS properties the way [Recess][] did and\nBootstrap [did][]/[does][].\n\n\\*With some modifications \u0026 additions for modern properties.\n\n## Usage\n\n1.  Add [stylelint][] and this package to your project:\n    ```sh\n    npm install --save-dev stylelint stylelint-config-recess-order\n    ```\n2.  Configure your stylelint configuration file to extend this package:\n    ```js\n    module.exports = {\n    \textends: ['stylelint-config-recess-order'],\n    \trules: {\n    \t\t// Add overrides and additional rules here\n    \t},\n    }\n    ```\n\n## Advanced\n\nThe default setup applies only the `'order/properties-order'` rule with the various property groups. If you need to configure other options for this rule,\nthe groups can be imported separately and the rule configured to your needs.\n\n```js\nconst propertyGroups = require('stylelint-config-recess-order/groups')\n\nmodule.exports = {\n\textends: [], // Do not extend the config here.\n\trules: {\n\t\t// Configure the rule manually.\n\t\t'order/properties-order': propertyGroups.map((group) =\u003e ({\n\t\t\t...group,\n\t\t\temptyLineBefore: 'always',\n\t\t\tnoEmptyLineBetween: true,\n\t\t})),\n\t},\n}\n```\n\n## References\n\n[@mdo on CSS Property Order][mdo-order]\n\n[npm-url]: https://www.npmjs.com/package/stylelint-config-recess-order\n[npm-img]: https://img.shields.io/npm/v/stylelint-config-recess-order.svg?style=flat-square\n[npm-dls]: https://img.shields.io/npm/dt/stylelint-config-recess-order.svg?style=flat-square\n[issues-url]: https://github.com/stormwarning/stylelint-config-recess-order/issues\n[issues-img]: https://img.shields.io/github/issues/stormwarning/stylelint-config-recess-order.svg?style=flat-square\n[stylelint]: https://github.com/stylelint/stylelint\n[recess]: https://github.com/twitter/recess/blob/29bccc870b7b4ccaa0a138e504caf608a6606b59/lib/lint/strict-property-order.js\n[did]: https://github.com/twbs/bootstrap/blob/f58997a0dae54dc98d11892afef9acb85bdc6a1e/.scss-lint.yml#L136\n[does]: https://github.com/twbs/stylelint-config-twbs-bootstrap/blob/ad67be6e4ceb48809fa1dce13b7892f9d2018995/css/index.js#L38\n[mdo-order]: http://markdotto.com/2011/11/29/css-property-order/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstormwarning%2Fstylelint-config-recess-order","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstormwarning%2Fstylelint-config-recess-order","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstormwarning%2Fstylelint-config-recess-order/lists"}