esformatter-ignore
Advanced tools
Comparing version 0.1.1 to 0.1.2
# esformatter-ignore - Changelog | ||
## v0.1.2 | ||
- **Enhancements** | ||
- improve regex to include spaces between the comment start token and comment end token - [77ec2b1]( https://github.com/royriojas/esformatter-ignore/commit/77ec2b1 ), [royriojas](https://github.com/royriojas), 01/10/2015 12:13:29 | ||
## v0.1.1 | ||
@@ -4,0 +9,0 @@ - **Bug Fixes** |
@@ -9,3 +9,3 @@ // escape regex | ||
var blocks = [ ]; | ||
var regex = /\/\*esfmt-ignore-start\*\/((.|\n)*?)\/\*esfmt-ignore-end\*\//g; | ||
var regex = /\/\*\s*esfmt-ignore-start\s*\*\/((.|\n)*?)\/\*\s*esfmt-ignore-end\s*\*\//g; | ||
var lineRegex = /^(\s*)((.*?)esfmt-ignore-line(.*))$/gm; | ||
@@ -12,0 +12,0 @@ var counter = 0; |
{ | ||
"name": "esformatter-ignore", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"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
8691