{"id":19299187,"url":"https://github.com/bmatcuk/stylelint-lsp","last_synced_at":"2025-04-06T06:09:07.857Z","repository":{"id":38422307,"uuid":"197859807","full_name":"bmatcuk/stylelint-lsp","owner":"bmatcuk","description":"A stylelint Language Server","archived":false,"fork":false,"pushed_at":"2024-12-14T01:32:51.000Z","size":589,"stargazers_count":48,"open_issues_count":4,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-30T04:10:00.254Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/bmatcuk.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":"2019-07-20T00:39:08.000Z","updated_at":"2024-11-11T17:38:23.000Z","dependencies_parsed_at":"2024-06-19T01:41:36.669Z","dependency_job_id":null,"html_url":"https://github.com/bmatcuk/stylelint-lsp","commit_stats":{"total_commits":30,"total_committers":8,"mean_commits":3.75,"dds":0.3666666666666667,"last_synced_commit":"3f9290571efd4f52bb1751587c9bce68fc182c16"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmatcuk%2Fstylelint-lsp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmatcuk%2Fstylelint-lsp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmatcuk%2Fstylelint-lsp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmatcuk%2Fstylelint-lsp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmatcuk","download_url":"https://codeload.github.com/bmatcuk/stylelint-lsp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247441052,"owners_count":20939239,"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-09T23:10:27.937Z","updated_at":"2025-04-06T06:09:07.839Z","avatar_url":"https://github.com/bmatcuk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Release](https://img.shields.io/npm/v/stylelint-lsp.svg)](https://www.npmjs.com/package/stylelint-lsp)\n[![Build Status](https://github.com/bmatcuk/stylelint-lsp/actions/workflows/test.yml/badge.svg)](https://github.com/bmatcuk/stylelint-lsp/actions)\n[![codecov.io](https://img.shields.io/codecov/c/github/bmatcuk/stylelint-lsp.svg?branch=master)](https://codecov.io/github/bmatcuk/stylelint-lsp?branch=master)\n\n# stylelint-lsp\nstylelint-lsp is an implementation of the [Language Server Protocol] for\n[stylelint]. It supports the following features:\n\n* Document formatting, like running `stylelint --fix` on the file.\n* Commands to disable stylelint rules inline, above the line, for the entire\n  file, or surrounding a block.\n* Linting on change or on save\n\nFormatting (ie, `stylelint --fix`) can be configured to run automatically on\nsave, in response to format requests, or run manually using a command.\n\n## Client Implementations\n* [coc-stylelintplus]: a client for [coc.nvim]\n* [nvim-lspconfig]: configs for [neovim]'s built-in lsp support\n\n## Settings\n* **autoFixOnFormat** (default `false`) - automatically apply fixes in response\n  to format requests.\n* **autoFixOnSave** (default `false`) - automatically apply fixes on save.\n* **config** (default `null`) - stylelint config to use.\n* **configFile** (default `null`) - path to stylelint config file.\n* **enable** (default `true`) - if false, disable linting and auto-formatting.\n* **validateOnSave** (default `false`) - lint on save.\n* **validateOnType** (default `true`) - lint after changes.\n\nIf neither **config** nor **configFile** are specified, stylelint will attempt\nto automatically find a config file based on the location of the file you are\nediting.\n\nIf both **validateOnSave** and **validateOnType** are set to `false`, no\nlinting will occur but auto-fixes can still be applied if you have it enabled.\n**validateOnSave** is automatically enabled if you enable **autoFixOnSave**\nbecause revalidation must occur after fixes are applied. You may wish to\nexplicitly turn on **validateOnSave** if you are using another editor extension\nthat will make changes to the file on save, otherwise, diagnostic messages from\nstylelint may be out-of-date after a save (ie, may point to the wrong line or\nmay have been fixed by the automatic changes on save, etc).\n\nNote that v2 of stylelint-lsp no longer supports **configOverrides** because\nthe latest version of stylelint no longer supports it.\n\n## Inspiration\nSome ideas were borrowed from [vscode-eslint] and [coc-eslint].\n\n[Language Server Protocol]: https://microsoft.github.io/language-server-protocol/\n[coc-eslint]: https://github.com/neoclide/coc-eslint\n[coc-stylelintplus]: https://github.com/bmatcuk/coc-stylelintplus\n[coc.nvim]: https://github.com/neoclide/coc.nvim\n[neovim]: https://github.com/neovim/neovim\n[nvim-lspconfig]: https://github.com/neovim/nvim-lspconfig\n[stylelint]: https://stylelint.io/\n[vscode-eslint]: https://github.com/Microsoft/vscode-eslint\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmatcuk%2Fstylelint-lsp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmatcuk%2Fstylelint-lsp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmatcuk%2Fstylelint-lsp/lists"}