{"id":16000492,"url":"https://github.com/dkrnl/stylelint-no-nested-media","last_synced_at":"2025-07-21T21:31:55.711Z","repository":{"id":57373677,"uuid":"277771348","full_name":"dkrnl/stylelint-no-nested-media","owner":"dkrnl","description":"Dissallow nested @media selectors","archived":false,"fork":false,"pushed_at":"2020-07-07T09:24:01.000Z","size":2,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-26T10:07:48.016Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dkrnl.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}},"created_at":"2020-07-07T09:16:58.000Z","updated_at":"2022-05-27T02:14:15.000Z","dependencies_parsed_at":"2022-09-18T14:26:05.109Z","dependency_job_id":null,"html_url":"https://github.com/dkrnl/stylelint-no-nested-media","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dkrnl/stylelint-no-nested-media","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkrnl%2Fstylelint-no-nested-media","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkrnl%2Fstylelint-no-nested-media/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkrnl%2Fstylelint-no-nested-media/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkrnl%2Fstylelint-no-nested-media/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dkrnl","download_url":"https://codeload.github.com/dkrnl/stylelint-no-nested-media/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkrnl%2Fstylelint-no-nested-media/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266382297,"owners_count":23920679,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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-10-08T09:04:22.556Z","updated_at":"2025-07-21T21:31:55.686Z","avatar_url":"https://github.com/dkrnl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stylelint-no-nested-media\nDisallow nested @media rules\n\nFor example, the following patterns are considered violations:\n\n```scss\n@media (max-width: 600px) { \n    @media (min-width: 500px) { }\n}\n```\n\nThe following patterns are not considered violations:\n\n```scss\n@media (min-width: 500px) and (max-width: 600px) { }\n```\n\n## Installation\n\n1. If you haven't, install [stylelint]:\n\n```\nnpm install stylelint --save-dev\n```\n\n2.  Install `stylelint-no-nested-media`:\n\n```\nnpm install stylelint-no-nested-media --save-dev\n```\n\n## Usage\n\nAdd `stylelint-no-nested-media` to your stylelint config `plugins` array, then add rules you need to the rules list. All rules from stylelint-no-nested-media need to be namespaced with `pitcher`.\n\n```json\n{\n    \"plugins\": [\n        \"stylelint-no-nested-media\"\n    ],\n    \"rules\": {\n        \"pitcher/no-nested-media\": true\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkrnl%2Fstylelint-no-nested-media","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdkrnl%2Fstylelint-no-nested-media","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkrnl%2Fstylelint-no-nested-media/lists"}