1.0.2 • Published 6 years ago

grunt-ejslint-sails v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

FORK OF : grunt-ejs-lint

grunt-ejslint-sails

Validate EJS files in sails.js with ejs-lint

  • Use of console.log instead grunt.log to get the output without setting log level to silly
  • Removed chalk as it doesn't work in this situation

Install

$ npm install --save-dev grunt-ejslint-sails

Usage

module.exports = function (grunt) {            // Create new Grunt task
    grunt.config.set('ejslint', {              // Task sass
        dev: {
            files: [{
                expand: true,                  // 'expand directory'
                cwd: 'views/',                 // 'source folder'
                src: ['*.ejs', '**/*.ejs'],    // 'source files'
            }]
        },
    });

    grunt.loadNpmTasks('grunt-ejslint-sails');       // Load task
};

License

MIT

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago