1
0
Fork 0
mirror of synced 2024-10-05 20:44:47 +13:00

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.
const bindStyle = new MatchDecorator({
regexp: /{{[.[]"#-\w\s\/]*}}/g,
regexp: /{{[."#\-\w\s]*}}/g,
decoration: () => {
return Decoration.mark({
tag: "span",

View file

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