Lint fixes

This commit is contained in:
Dean 2023-05-30 10:15:10 +01:00
parent 74958e59d2
commit c71ad13048
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@
// For handlebars only. // For handlebars only.
const bindStyle = new MatchDecorator({ const bindStyle = new MatchDecorator({
regexp: /{{[.[]"#-\w\s\/]*}}/g, regexp: /{{[."#\-\w\s]*}}/g,
decoration: () => { decoration: () => {
return Decoration.mark({ return Decoration.mark({
tag: "span", tag: "span",

View File

@ -193,7 +193,7 @@ export const hbAutocomplete = baseCompletions => {
export const jsAutocomplete = baseCompletions => { export const jsAutocomplete = baseCompletions => {
async function coreCompletion(context) { async function coreCompletion(context) {
let jsBinding = context.matchBefore(/\$("[\s\w]*/) let jsBinding = context.matchBefore(/\$\("[\s\w]*/)
let options = baseCompletions || [] let options = baseCompletions || []
if (jsBinding) { if (jsBinding) {