{"id":20698713,"url":"https://github.com/yk911/sorting-attributes-and-properties","last_synced_at":"2026-03-19T17:07:11.069Z","repository":{"id":103766979,"uuid":"592440756","full_name":"YK911/sorting-attributes-and-properties","owner":"YK911","description":"Setup for sorting HTML attribute and CSS properties using mrmlnc plugins","archived":false,"fork":false,"pushed_at":"2023-01-24T16:36:59.000Z","size":1203,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-11T03:41:48.054Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","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/YK911.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":"2023-01-23T18:32:52.000Z","updated_at":"2024-09-29T11:01:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"9481eebb-7a27-4584-a704-19cc9843c562","html_url":"https://github.com/YK911/sorting-attributes-and-properties","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/YK911/sorting-attributes-and-properties","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YK911%2Fsorting-attributes-and-properties","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YK911%2Fsorting-attributes-and-properties/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YK911%2Fsorting-attributes-and-properties/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YK911%2Fsorting-attributes-and-properties/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YK911","download_url":"https://codeload.github.com/YK911/sorting-attributes-and-properties/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YK911%2Fsorting-attributes-and-properties/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30377837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T06:09:32.197Z","status":"ssl_error","status_checked_at":"2026-03-11T06:09:17.086Z","response_time":84,"last_error":"SSL_read: 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":[],"created_at":"2024-11-17T00:26:26.149Z","updated_at":"2026-03-11T10:01:26.125Z","avatar_url":"https://github.com/YK911.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"right\"\u003e\n\t\u003ca href=\"https://github.com/YK911/sorting-attributes-and-properties/blob/main/README.uk.md\"\u003e\u003cimg src=\"./assets/ukraine-flag-icon.png\" width=\"40\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/YK911/sorting-attributes-and-properties/blob/main/README.md\"\u003e\u003cimg src=\"./assets/united-states-flag-icon.png\" width=\"40\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n# Sorting HTML attributes and CSS properties\n\nSetup for sorting HTML attribute and CSS properties using **mrmlnc** plugins\n\n1. Install two plugins following next links\n\n- [PostCSS Sorting](https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-postcss-sorting)\n\n- [Sorting HTML and Jade attributes](https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-attrs-sorter)\n\n![Pluging](./assets/plugins.jpg)\n\n2. Create or change file `settings.json` in `.vscode` folder\n\n3. **Copy** code from this repository file [`settings.json`](./.vscode/settings.json) and **paste** in your `settings.json` file as see below\n\n![Pluging](./assets/settings.jpg)\n\n4. For automatic sorting HTML attributes or CSS properties by `CTRL + S` || `cmd + S` install plugin\n\n- [multi-command](https://marketplace.visualstudio.com/items?itemName=ryuta46.multi-command)\n\n5. **Open** Keyboard shorcuts settings **copy** code from this repository file [`keybinding.json`](./assets/keybinding.json) and **paste** in your `keybinding.json` file as see below\n\n![Pluging](./assets/keybinding-1.jpg)\n![Pluging](./assets/keybinding-2.jpg)\n\n6. Watching this [video](https://www.loom.com/share/e21498044ffa43c2a44cbc38db4f9f70) that includes all setting for automatic sorting\n\n---\n\n## Resources:\n\n- PostCSS plugin [repo](https://github.com/hudochenkov/postcss-sorting)\n- PostCSS config example [repo](https://github.com/hudochenkov/stylelint-config-hudochenkov/blob/master/order.js)\n- Keybinding for sort on save [article](https://www.ashvinmotye.com/blog/automatic-css-sorting/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyk911%2Fsorting-attributes-and-properties","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyk911%2Fsorting-attributes-and-properties","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyk911%2Fsorting-attributes-and-properties/lists"}