eslint-plugin-brackets
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -17,7 +17,7 @@ 'use strict'; | ||
exports.isValidClosingPunc = function isValidClosingPunc(token) { | ||
return token.type === 'Punctuator' && validClosingPuncs[token.value]; | ||
return token.type === 'Template' || token.type === 'Punctuator' && validClosingPuncs[token.value]; | ||
}; | ||
exports.isValidOpeningPunc = function isValidOpeningPunc(token) { | ||
return token.type === 'Punctuator' && validOpeningPuncs[token.value]; | ||
return token.type === 'Template' || token.type === 'Punctuator' && validOpeningPuncs[token.value]; | ||
}; | ||
@@ -24,0 +24,0 @@ |
{ | ||
"name": "eslint-plugin-brackets", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "ESLint style rules for minimizing diffs with line breaks around brackets", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
18701