{"id":25932321,"url":"https://github.com/andcool-systems/css-linter","last_synced_at":"2026-04-09T07:58:40.644Z","repository":{"id":280499347,"uuid":"942179173","full_name":"Andcool-Systems/css-linter","owner":"Andcool-Systems","description":"Next.Js CSS Module Linter","archived":false,"fork":false,"pushed_at":"2025-03-03T19:01:20.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T19:36:16.695Z","etag":null,"topics":["css","linter","nextjs","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Andcool-Systems.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-03-03T17:44:55.000Z","updated_at":"2025-03-03T18:58:24.000Z","dependencies_parsed_at":"2025-03-03T19:46:44.005Z","dependency_job_id":null,"html_url":"https://github.com/Andcool-Systems/css-linter","commit_stats":null,"previous_names":["andcool-systems/css-linter"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andcool-Systems%2Fcss-linter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andcool-Systems%2Fcss-linter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andcool-Systems%2Fcss-linter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andcool-Systems%2Fcss-linter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Andcool-Systems","download_url":"https://codeload.github.com/Andcool-Systems/css-linter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241763766,"owners_count":20016161,"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":["css","linter","nextjs","rust"],"created_at":"2025-03-04T00:36:33.149Z","updated_at":"2025-12-31T01:03:13.819Z","avatar_url":"https://github.com/Andcool-Systems.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎨 Next.js CSS Linter  \nA tool for seamless work with CSS modules in Next.js and React.  \n\n## 🔹 Key Features  \n- Detects unused CSS classes  \n- Finds undefined classes in `.tsx` files  \n- Enables quick navigation to CSS class definitions  \n- Provides autocomplete suggestions for CSS classes  \n- Displays CSS class content on hover  \n- Automatically extracts inline styles into CSS modules  \n\n## 🔹 Usage  \nLinting runs **on file save**, and warnings are displayed in the editor.  \n\n### ✂️ Extracting Inline Styles  \n1. Select the `style={{}}` prop in a JSX/TSX file.  \n2. Open the context menu and choose **\"Extract inline styles into CSS module\"**.  \n3. Select the CSS module where the styles should be moved.  \n4. Enter a name for the new CSS class and press **Enter**.  \n5. The inline styles will be converted into a CSS class and added to the selected module.  \n\n## 🔹 Ignoring Warnings  \nIf a class is used correctly but still marked as unused, add a comment **above its declaration**:  \n```css\n/* css-lint-disable-rule unused-class */\n```\nAlternatively, use the **Quick Fix** feature available in the editor.  \n\n---  \n📌 **by AndcoolSystems, March 4, 2025**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandcool-systems%2Fcss-linter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandcool-systems%2Fcss-linter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandcool-systems%2Fcss-linter/lists"}