pugjs / pug-lint

An unopinionated and configurable linter and style checker for Pug
ISC License
228 stars 51 forks source link

Escape asterisk and other regexp reserved characters for attribute match pattern for validate-attribute-separator #117

Closed pandora2000 closed 7 years ago

pandora2000 commented 8 years ago

Fixes #116 - issue

I locally confirmed test is passing and coverage is 100%. I'm new to make PR to open source. Please let me know if any fix points.

codecov-io commented 8 years ago

Current coverage is 100% (diff: 100%)

Merging #117 into master will not change coverage

@@           master   #117   diff @@
====================================
  Files          49     49          
  Lines         915    917     +2   
  Methods         0      0          
  Messages        0      0          
  Branches        0      0          
====================================
+ Hits          915    917     +2   
  Misses          0      0          
  Partials        0      0          

Powered by Codecov. Last update eb60b36...cfaa84b

giniedp commented 7 years ago

please merge this request. otherwise it is not possible to use the validateAttributeSeparator and i'd like to enable it for my dev team