Comparing version 2.0.3 to 2.0.4
@@ -49,11 +49,20 @@ 'use strict'; | ||
}, | ||
'.h': function() { | ||
'.h': function () { | ||
return require('./parsers/defaultParser'); | ||
}, | ||
'.c': function() { | ||
'.c': function () { | ||
return require('./parsers/defaultParser'); | ||
}, | ||
'.go': function() { | ||
'.go': function () { | ||
return require('./parsers/defaultParser'); | ||
}, | ||
'.sh': function () { | ||
return require('./parsers/coffeeParser'); | ||
}, | ||
'.zsh': function () { | ||
return require('./parsers/coffeeParser'); | ||
}, | ||
'.bash': function () { | ||
return require('./parsers/coffeeParser'); | ||
}, | ||
}; | ||
@@ -60,0 +69,0 @@ |
{ | ||
"name": "leasot", | ||
"description": "Parse and output TODOs and FIXMEs from comments in your files", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"author": "Gilad Peleg <giladp007@gmail.com> (http://giladpeleg.com)", | ||
@@ -6,0 +6,0 @@ "bin": "./bin/leasot.js", |
@@ -26,18 +26,19 @@ ![leasot](media/leasot.png) | ||
| Filetype | Extension | Notes | | ||
| ------------ | ---------------- | ------------------------------------------------| | ||
| Coffee-React | `.cjsx` | using regex. Supports `#` comments. | | ||
| Coffeescript | `.coffee` | using regex. Supports `#` comments. | | ||
| Handlebars | `.hbs` | using regex. Supports `{{! }}` and `{{!-- --}}` | | ||
| Jade | `.jade` | using regex. | | ||
| Javascript | `.js` | using regex. Supports `// and /* */` comments | | ||
| Jsx | `.jsx` | using regex. Supports `// and /* */` comments. | | ||
| Less | `.less` | using regex. Supports `// and /* */` comments. | | ||
| Ruby | `.rb` | using regex. Supports `#` comments. | | ||
| Sass | `.sass` `.scss` | using regex. Supports `// and /* */` comments. | | ||
| Stylus | `.styl` | using regex. Supports `// and /* */` comments. | | ||
| Twig | `.twig` | using regex. Supports `{# #}` and `<!-- -->` | | ||
| Typescript | `.ts` | using regex. Supports `// and /* */` comments. | | ||
| C++/C | `.cpp` `.c` `.h` | using regex. Supports `// and /* */` comments. | | ||
| Go | `.go` | using regex. Supports `// and /* */` comments. | | ||
| Filetype | Extension | Notes | | ||
| ------------ | -------------------- | ------------------------------------------------| | ||
| Coffee-React | `.cjsx` | using regex. Supports `#` comments. | | ||
| Coffeescript | `.coffee` | using regex. Supports `#` comments. | | ||
| Handlebars | `.hbs` | using regex. Supports `{{! }}` and `{{!-- --}}` | | ||
| Jade | `.jade` | using regex. | | ||
| Javascript | `.js` | using regex. Supports `// and /* */` comments | | ||
| Jsx | `.jsx` | using regex. Supports `// and /* */` comments. | | ||
| Less | `.less` | using regex. Supports `// and /* */` comments. | | ||
| Ruby | `.rb` | using regex. Supports `#` comments. | | ||
| Sass | `.sass` `.scss` | using regex. Supports `// and /* */` comments. | | ||
| Stylus | `.styl` | using regex. Supports `// and /* */` comments. | | ||
| Twig | `.twig` | using regex. Supports `{# #}` and `<!-- -->` | | ||
| Typescript | `.ts` | using regex. Supports `// and /* */` comments. | | ||
| C++/C | `.cpp` `.c` `.h` | using regex. Supports `// and /* */` comments. | | ||
| Go | `.go` | using regex. Supports `// and /* */` comments. | | ||
| Shell | `.sh` `.zsh` `.bash` | using regex. Supports `#` comments. | | ||
@@ -44,0 +45,0 @@ Javascript is the default parser. |
28447
582
312