Fix linting

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv)
2021-04-26 13:04:17 +02:00
committed by Julius Härtl
parent 4ff505934b
commit a1abf91b40
6 changed files with 13 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
/*
/**
* @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
@@ -84,7 +84,7 @@ export default {
},
colorIsValid(hex) {
const re = new RegExp('[A-Fa-f0-9]{6}')
const re = /[A-Fa-f0-9]{6}/
if (re.test(hex)) {
return true
}