eslint-plugin-lingui
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -209,3 +209,3 @@ "use strict"; | ||
const text = (0, helpers_1.getText)(node); | ||
if (!text || isIgnoredSymbol(text)) { | ||
if (!text || isIgnoredSymbol(text) || isTextWhiteListed(text)) { | ||
return; | ||
@@ -378,4 +378,4 @@ } | ||
return; | ||
const quasisValue = (0, helpers_1.getText)(node); | ||
if (isTextWhiteListed(quasisValue)) | ||
const text = (0, helpers_1.getText)(node); | ||
if (!text || isTextWhiteListed(text)) | ||
return; | ||
@@ -382,0 +382,0 @@ context.report({ node, messageId: 'default' }); |
{ | ||
"name": "eslint-plugin-lingui", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "ESLint plugin for Lingui", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
80847