eslint fix againt
This commit is contained in:
parent
88cdc00803
commit
562995dbd7
|
@ -69,7 +69,7 @@ export default {
|
||||||
const colorOverrides = [] // only capture color overides
|
const colorOverrides = [] // only capture color overides
|
||||||
oldCluster.forEach((color, index) => {
|
oldCluster.forEach((color, index) => {
|
||||||
const value = newCluster[index]
|
const value = newCluster[index]
|
||||||
const color_plain = color.replace(/([()])/g,'\\$1')
|
const color_plain = color.replace(/([()])/g, '\\$1')
|
||||||
const repl = new RegExp(`(^|})([^{]+{[^{}]+)${color_plain}\\b([^}]*)(?=})`, 'gi')
|
const repl = new RegExp(`(^|})([^{]+{[^{}]+)${color_plain}\\b([^}]*)(?=})`, 'gi')
|
||||||
const nestRepl = new RegExp(color_plain, 'ig') // for greed matching before the 'color'
|
const nestRepl = new RegExp(color_plain, 'ig') // for greed matching before the 'color'
|
||||||
let v
|
let v
|
||||||
|
|
Loading…
Reference in New Issue