Skip to content

Commit

Permalink
Remove gonzales patch
Browse files Browse the repository at this point in the history
  • Loading branch information
DanPurdy authored Oct 25, 2016
1 parent 36b3b8f commit 3142104
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/rules/variable-name-format.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ module.exports = {
ast.traverseByType('variable', function (variable) {
var strippedName,
violationMessage = false,
// Gonzales would parse variable names with operators without this regex i.e. '$mobile-site-gutter*1'
name = variable.first().content.split(/(\*|\+|\/)/)[0];
name = variable.first().content;


strippedName = name;
Expand Down

0 comments on commit 3142104

Please sign in to comment.