esformatter-ignore
Advanced tools
Comparing version 0.1.2 to 0.1.3
# esformatter-ignore - Changelog | ||
## v0.1.3 | ||
- **Bug Fixes** | ||
- make sure ignore line works as expected. Fixes [#1](https://github.com/royriojas/esformatter-ignore/issues/1) - [9f07dff]( https://github.com/royriojas/esformatter-ignore/commit/9f07dff ), [royriojas](https://github.com/royriojas), 08/10/2015 13:31:02 | ||
## v0.1.2 | ||
@@ -4,0 +9,0 @@ - **Enhancements** |
@@ -25,3 +25,3 @@ // escape regex | ||
source: match, | ||
replace: new RegExp( '^\\s+' + escapeRegex( matchFound ), 'm' ) | ||
replace: new RegExp( '^\\s*' + escapeRegex( matchFound ), 'm' ) | ||
} ); | ||
@@ -37,3 +37,2 @@ | ||
blocks = blocks || [ ]; | ||
blocks.forEach( function ( block ) { | ||
@@ -40,0 +39,0 @@ source = source.replace( block.replace, block.source ); |
{ | ||
"name": "esformatter-ignore", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "an esformatter plugin to make esformatter ignore certain lines and blocks of code", | ||
@@ -5,0 +5,0 @@ "repository": "royriojas/esformatter-ignore", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8978