{"id":16327090,"url":"https://github.com/mrmlnc/vscode-puglint","last_synced_at":"2025-10-25T20:32:16.346Z","repository":{"id":66009385,"uuid":"57467495","full_name":"mrmlnc/vscode-puglint","owner":"mrmlnc","description":":electric_plug: Linter and style checker for Pug (formerly Jade) as plugin for VS Code.","archived":false,"fork":false,"pushed_at":"2017-07-28T19:47:56.000Z","size":84,"stargazers_count":5,"open_issues_count":9,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T10:36:03.338Z","etag":null,"topics":["pug","pug-lint","visual-studio-code","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://goo.gl/g82rhu","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/mrmlnc.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":"2016-05-01T00:24:09.000Z","updated_at":"2021-04-02T23:04:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"a8738b7f-f95d-4590-b4af-b5b838d5d339","html_url":"https://github.com/mrmlnc/vscode-puglint","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fvscode-puglint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fvscode-puglint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fvscode-puglint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fvscode-puglint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrmlnc","download_url":"https://codeload.github.com/mrmlnc/vscode-puglint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238207658,"owners_count":19434095,"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":["pug","pug-lint","visual-studio-code","vscode","vscode-extension"],"created_at":"2024-10-10T23:10:21.805Z","updated_at":"2025-10-25T20:32:11.018Z","avatar_url":"https://github.com/mrmlnc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vscode-puglint\n\n\u003e This linter plugin for VS Code provides an interface to [pug-lint](https://github.com/pugjs/pug-lint).\n\n![puglint](https://cloud.githubusercontent.com/assets/7034281/14941231/f0b87bd8-0f9c-11e6-844e-565de4f560f4.png)\n\n## Installation\n\nLinter installation is performed in several stages:\n\n  1. Install **pug-lint** use `npm i -D pug-lint` or `npm i -g pug-lint`.\n  2. Press \u003ckbd\u003eF1\u003c/kbd\u003e and select `Extensions: Install Extensions`.\n  3. Search and choose `vscode-puglint`.\n\nSee the [extension installation guide](https://code.visualstudio.com/docs/editor/extension-gallery) for details.\n\n## Usage\n\nEnable the linter in the VS Code [settings](https://code.visualstudio.com/docs/customization/userandworkspace).\n\n```json\n{\n  \"puglint.enable\": true\n}\n```\n\n## Configurations\n\nThe plugin supports the following files:\n\n  * `.jade-lintrc` or `.jade-lint.json`\n  * `.pug-lintrc`, `.pug-lintrc.js`, `.pug-lintrc.json` or `.pug-lint.json`\n  * `pugLintConfig` section in the `package.json` file\n\nThe rules for determining the configuration file:\n\n  1. Editor settings\n  2. Workspace config (current project)\n  3. Package file (current project)\n  4. Global config ($HOME directory)\n  5. Default config `{}`\n\n## Supported languages\n\n  * Pug\n  * Jade\n\n## Supported settings\n\n**puglint.enable**\n\n  * Type: `Boolean`\n  * Default: `false`\n\nControl whether puglint is enabled for Pug/Jade files or not.\n\n**puglint.run**\n\n  * Type: `String`\n  * Default: `onType`\n  * Supported values: `onType`, `onSave`\n\nRun the linter on save (onSave) or on type (onType).\n\n**puglint.config**\n\n  * Type: `Object`\n  * Default: `{}`\n\nWill be directly passed to [config option](https://github.com/pugjs/pug-lint/blob/master/docs/rules.md).\n\nFor example:\n\n```json\n{\n  \"puglint.enable\": true,\n  \"puglint.config\": {\n    \"requireClassLiteralsBeforeIdLiterals\": true\n  }\n}\n```\n\nExamples for use `extends` (don't forget to install config, for example [`pug-lint-config-clock`](https://github.com/clocklimited/pug-lint-config-clock)):\n\n```json\n{\n  \"puglint.enable\": true,\n  \"puglint.config\": {\n    \"extends\": \"clock\"\n  }\n}\n```\n\nMore information: [pug-lint: extends](https://github.com/pugjs/pug-lint#extends)\n\n## Changelog\n\nSee the [Releases section of our GitHub project](https://github.com/mrmlnc/vscode-puglint/releases) for changelogs for each release version.\n\n## License\n\nThis software is released under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmlnc%2Fvscode-puglint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrmlnc%2Fvscode-puglint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmlnc%2Fvscode-puglint/lists"}