{"id":16515218,"url":"https://github.com/pine/node-vimlint","last_synced_at":"2025-10-28T04:32:45.771Z","repository":{"id":28353362,"uuid":"31867106","full_name":"pine/node-vimlint","owner":"pine","description":":white_check_mark: Validate .vimrc, .vim files with vimlint.","archived":false,"fork":false,"pushed_at":"2019-03-27T19:17:14.000Z","size":46,"stargazers_count":8,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T01:02:22.768Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/vimlint","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/pine.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":"2015-03-08T21:52:12.000Z","updated_at":"2018-09-25T02:30:33.000Z","dependencies_parsed_at":"2022-09-19T20:53:56.291Z","dependency_job_id":null,"html_url":"https://github.com/pine/node-vimlint","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pine%2Fnode-vimlint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pine%2Fnode-vimlint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pine%2Fnode-vimlint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pine%2Fnode-vimlint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pine","download_url":"https://codeload.github.com/pine/node-vimlint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238597388,"owners_count":19498396,"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-10-11T16:16:10.421Z","updated_at":"2025-10-28T04:32:45.490Z","avatar_url":"https://github.com/pine.png","language":"JavaScript","readme":"node-vimlint\n------------\n\n[![npm version](https://img.shields.io/npm/v/vimlint.svg?style=flat-square)](http://badge.fury.io/js/vimlint)\n[![Build Status](https://img.shields.io/travis/pine/node-vimlint/master.svg?style=flat-square)](https://travis-ci.org/pine/node-vimlint)\n[![Code Climate](https://img.shields.io/codeclimate/github/pine/node-vimlint.svg?style=flat-square)](https://codeclimate.com/github/pine/node-vimlint)\n[![Coverage Status](https://img.shields.io/coveralls/pine/node-vimlint/master.svg?style=flat-square)](https://coveralls.io/r/pine/node-vimlint?branch=master)\n[![Gemnasium](https://img.shields.io/gemnasium/pine/node-vimlint.svg?style=flat-square)](https://gemnasium.com/github.com/pine/node-vimlint)\n\nValidate .vimrc, .vim files with [vimlint](https://github.com/syngan/vim-vimlint).\n\n## Getting Started\n\nThis library requires `sh` and Vim.\n\n```sh\n$ npm install vimlint --save\n```\n\nIf you want to use `vimlint` command on CLI, try to install in global (\u003e= v0.2.0).\n\n```sh\n$ npm install -g vimlint\n```\n\n## References\n### vimlint(path, cb)\n\n- path: `string` ... Target .vim file path (not `Array`)\n- cb: `function` ... Callback function\n   - err: `object` ... Error object\n   - stdout: `string` ... Log string of vimlint\n   - stderr: `string` ... Error string of vimlint\n\n```js\nvar vimlint = require('vimlint')\n\nvimlint('testfile.vim', function (err, stdout, stderr) {\n  if (stdout) { process.stdout.write(stdout); }\n  if (stderr) { process.stderr.write(stderr); }\n\n  if (err) {\n    console.log('ERROR', err);\n  }\n\n  else {\n    console.log('OK');\n  }\n});\n```\n\n### $ vimlint \\\u003cfile ...\\\u003e\n\n```sh\n$ vimlint -h\n\n  Usage: vimlint \u003cfile ...\u003e\n\n  Options:\n\n    -h, --help     output usage information\n    -V, --version  output the version number\n\n$ vimlint foo.vim\n```\n\n## Additional Notes\nThis library **doesn't work** on Windows. It works on Linux, Mac OS X, or other *nix OSs.\n\n## Plugins\nThis library can use from Grunt and gulp.\n\n- [grunt-vimlint](https://github.com/pine/grunt-vimlint)\n- [gulp-vimlint](https://github.com/pine/gulp-vimlint)\n- [fly-vimlint](https://github.com/pine/fly-vimlint)\n\n## Acknowledgement\nThis library uses following software to validate `.vim` files. Thank you.\n\n - [syngan](https://github.com/syngan) / [vim-vimlint](https://github.com/syngan/vim-vimlint)\n - [ynkdir](https://github.com/ynkdir) / [vim-vimlparser](https://github.com/ynkdir/vim-vimlparser)\n\n## License\nMIT License\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpine%2Fnode-vimlint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpine%2Fnode-vimlint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpine%2Fnode-vimlint/lists"}