From 962e5fc53e7ad6171182cbca132f4ec1b7fd3e7d Mon Sep 17 00:00:00 2001 From: Singwai Chan Date: Fri, 29 Jan 2021 09:50:01 -0700 Subject: [PATCH] eslint disable no underscore dangle warning for tiny color _ok --- src/helpers/color.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/helpers/color.js b/src/helpers/color.js index c095e061..51219ed7 100644 --- a/src/helpers/color.js +++ b/src/helpers/color.js @@ -74,5 +74,6 @@ export const red = { export const isvalidColorString = (string, type) => { const stringWithoutDegree = string.replace('°', '') + // eslint-disable-next-line no-underscore-dangle return tinycolor(`${ type } (${ stringWithoutDegree })`)._ok }