grunt-verifylowercase

2019-10-11

Verifies that files have lowercase extensions.

Build Status

grunt-verifylowercase

Verifies that files have lowercase extensions. Starting with version 0.2.0, this plugin is compatible with both Grunt version 0.3 and 0.4.

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfilewith: npm install grunt-verifylowercase

Then add this line to your project's grunt.jsgruntfile:

grunt.loadNpmTasks('grunt-verifylowercase');

Documentation

verifylowercaseis a multitask. Inside your grunt.jsadd a section named verifylowercasecontaining the list of files that should be analyzed.

The grunt task will fail if a filename has an uppercase letter in it's extension.

Config example

With Grunt 0.3, the format to be used is:

verifylowercase : {
   all : {
      files : ["src/**"]
   }
}

With Grunt 0.4 (on verifylowercaseversion 0.2.0 and above), verifylowercaseuses the standard grunt configuration formatfor files. For example, using the compact format:

verifylowercase : {
   all : {
      src: ["src/**"]
   }
}

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) 2012 Aria Templates Licensed under the Apache 2.0 license.

HomePage

https://github.com/ariatemplates/grunt-verifylowercase

Repository

https://github.com/ariatemplates/grunt-verifylowercase


上一篇:grunt-leading-indent
下一篇:使用 html2canvas 对有百度地图的 Dom 元素处理成图片
相关教程
关注微信

扫码加入 JavaScript 社区

相关文章

首次访问,需要验证
微信扫码,关注即可
(仅需验证一次)

欢迎加入 JavaScript 社区

号内回复关键字:

回到顶部