{"id":13773866,"url":"https://github.com/sandark7/rollup-plugin-stylint","last_synced_at":"2025-05-11T06:31:43.636Z","repository":{"id":137678857,"uuid":"88526982","full_name":"sandark7/rollup-plugin-stylint","owner":"sandark7","description":"Rollup plugin to lint stylus with stylint","archived":false,"fork":false,"pushed_at":"2017-04-20T14:58:48.000Z","size":17,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-15T05:44:56.463Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/sandark7.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}},"created_at":"2017-04-17T16:23:04.000Z","updated_at":"2021-11-16T04:06:12.000Z","dependencies_parsed_at":"2024-01-13T11:52:12.403Z","dependency_job_id":"2cf750fc-53b3-482c-b3dc-6eac0d88ebf3","html_url":"https://github.com/sandark7/rollup-plugin-stylint","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandark7%2Frollup-plugin-stylint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandark7%2Frollup-plugin-stylint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandark7%2Frollup-plugin-stylint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandark7%2Frollup-plugin-stylint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sandark7","download_url":"https://codeload.github.com/sandark7/rollup-plugin-stylint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225021902,"owners_count":17408511,"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-03T17:01:21.084Z","updated_at":"2024-11-17T09:30:23.730Z","avatar_url":"https://github.com/sandark7.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Code Quality"],"readme":"# rollup-plugin-stylint\n[![NPM version](https://img.shields.io/npm/v/rollup-plugin-stylint.svg)](https://www.npmjs.com/package/rollup-plugin-stylint)\n[![Dependency Status](https://img.shields.io/gemnasium/sandark7/rollup-plugin-stylint.svg)](https://gemnasium.com/sandark7/rollup-plugin-stylint)\n[![Code Climate](https://codeclimate.com/github/sandark7/rollup-plugin-stylint/badges/gpa.svg)](https://codeclimate.com/github/sandark7/rollup-plugin-stylint)\n\n[Rollup](https://www.npmjs.com/package/rollup) plugin to lint stylus with [stylint](https://www.npmjs.com/package/stylint)\n\n## Installation\n\n```\nnpm install rollup-plugin-stylint -D\n```\n\n## Usage\n\n``` javascript\nimport { rollup } from 'rollup';\nimport stylint from 'rollup-plugin-stylint';\n\nrollup({\n  entry: 'index.js',\n  plugins: [\n    stylint()\n  ]\n});\n```\n\n## Options\n\n### configFile\n\nSpecify path to `.stylintrc` file with stylint options.\n\n``` javascript\nimport { rollup } from 'rollup';\nimport stylint from 'rollup-plugin-stylint';\n\nrollup({\n  entry: 'index.js',\n  plugins: [\n    stylint({\n      configFile: './.stylintrc'\n    })\n  ]\n});\n```\n\n### config\n\nOr specify stylint options inline.\n\n``` javascript\nimport { rollup } from 'rollup';\nimport stylint from 'rollup-plugin-stylint';\n\nrollup({\n  entry: 'index.js',\n  plugins: [\n    stylint({\n      config: {\n        brackets: 'always',\n        namingConvention: 'BEM',\n        semicolons: 'always'\n      }\n    })\n  ]\n});\n```\n\nAlso `config` overrides `configFile` option.\n\n### reporter\n\nYou can use custom reporter for better console output.\n\n``` javascript\nimport { rollup } from 'rollup';\nimport stylint from 'rollup-plugin-stylint';\n\nrollup({\n  entry: 'index.js',\n  plugins: [\n    stylint({\n      reporter: 'stylint-stylish'\n    })\n  ]\n});\n```\n\n## License\n\n[MIT](http://www.opensource.org/licenses/mit-license.php) © Andrew Smirnov\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandark7%2Frollup-plugin-stylint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandark7%2Frollup-plugin-stylint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandark7%2Frollup-plugin-stylint/lists"}