@travi/travis-lint

1.0.1 • Public • Published

Build Status

Lint your travis.yml file

Getting Started

Install the module with: npm install travis-lint

var lint = require('travis-lint');
lint(fs.readFileSync('.travis.yml'), function (err, warnings) {
    // warnings is an array of the issues with your yml file
});

Install with cli command

$ npm install -g travis-lint
$ travis-lint .travis.yml

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

License

Copyright (c) 2014 Patrick Williams
Licensed under the MIT license.

Package Sidebar

Install

npm i @travi/travis-lint

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

3.59 kB

Total Files

4

Last publish

Collaborators

  • travi