{"id":13600806,"url":"https://github.com/bmatcuk/coc-stylelintplus","last_synced_at":"2025-04-22T09:32:55.445Z","repository":{"id":37821361,"uuid":"198347404","full_name":"bmatcuk/coc-stylelintplus","owner":"bmatcuk","description":"stylelint extension for coc.nvim supporting additional features","archived":false,"fork":false,"pushed_at":"2023-01-06T02:03:42.000Z","size":1007,"stargazers_count":49,"open_issues_count":17,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T22:11:58.162Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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}},"created_at":"2019-07-23T03:48:43.000Z","updated_at":"2025-03-27T08:47:50.000Z","dependencies_parsed_at":"2023-02-05T02:30:28.024Z","dependency_job_id":null,"html_url":"https://github.com/bmatcuk/coc-stylelintplus","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmatcuk%2Fcoc-stylelintplus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmatcuk%2Fcoc-stylelintplus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmatcuk%2Fcoc-stylelintplus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmatcuk%2Fcoc-stylelintplus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmatcuk","download_url":"https://codeload.github.com/bmatcuk/coc-stylelintplus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250215382,"owners_count":21393788,"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-08-01T18:00:49.016Z","updated_at":"2025-04-22T09:32:55.178Z","avatar_url":"https://github.com/bmatcuk.png","language":"TypeScript","funding_links":[],"categories":["Language Support"],"sub_categories":[],"readme":"[![Release](https://img.shields.io/npm/v/coc-stylelintplus.svg)](https://www.npmjs.com/package/coc-stylelintplus)\n\n# coc-stylelintplus\ncoc-stylelintplus is an extension for [coc.nvim] that supports additional\nfeatures that coc-stylelint is missing. For example:\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\nFormatting (ie, `stylelint --fix`) can be configured to run automatically on\nsave, in response to format requests, or run manually using a command.\n\ncoc-stylelintplus uses [stylelint-lsp] as the language server.\n\n## Installation\nWith coc.nvim installed, run the following:\n\n```viml\n:CocInstall coc-stylelintplus\n```\n\nAlternatively, you can add the following to your init.vim and coc-stylelintplus\nwill be automatically installed the next time you start nvim:\n\n```viml\nlet g:coc_global_extensions = ['coc-stylelintplus']\n```\n\nIf you are using coc-stylelintplus with [coc-css], you'll want to disable\ncoc-css's validation in your coc-settings.json file, otherwise you'll get\nduplicated or conflicting errors:\n\n```json\n{\n  \"css.validate\": false,\n  \"less.validate\": false,\n  \"scss.validate\": false,\n  \"wxss.validate\": false\n}\n```\n\ncoc-css still provides some useful functionality with validation disabled, so\nit makes sense to use it together with coc-stylelintplus.\n\n## Settings\n* **stylelintplus.autoFixOnFormat** (default `false`) - automatically apply\n  fixes in response to format requests.\n* **stylelintplus.autoFixOnSave** (default `false`) - automatically apply fixes\n  on save.\n* **stylelintplus.config** (default `null`) - stylelint config to use.\n* **stylelintplus.configFile** (default `null`) - path to stylelint config\n  file.\n* **stylelintplus.configOverrides** (default `null`) - stylelint config\n  overrides.\n* **stylelintplus.cssInJs** (default `false`) - Run stylelint on\n  javascript/typescript files.\n* **stylelintplus.enable** (default `true`) - if false, disable linting and\n  auto-formatting.\n* **stylelintplus.filetypes** (default see below) - Filetypes that\n  coc-stylelintplus will lint.\n* **stylelintplus.validateOnSave** (default `false`) - lint on save.\n* **stylelintplus.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\nDefault filetypes handled by coc-stylelintplus are css, less, postcss, sass,\nscss, sugarss, vue, and wxss. This list can be overridden with the `filetypes`\noption. If you enable the `cssInJs` option, javascript, javascriptreact,\ntypescript, and typescriptreact will be added to the list.\n\n[coc-css]: https://github.com/neoclide/coc-css\n[coc.nvim]: https://github.com/neoclide/coc.nvim\n[stylelint-lsp]: https://github.com/bmatcuk/stylelint-lsp\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmatcuk%2Fcoc-stylelintplus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmatcuk%2Fcoc-stylelintplus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmatcuk%2Fcoc-stylelintplus/lists"}