Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
TrySound committed Oct 14, 2024
1 parent 2ec6713 commit 1a2133a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const compareVariables = (left: RankingInfo, right: RankingInfo) => {

const scopeCompletionSource: CompletionSource = (context) => {
const word = context.matchBefore(/[-\w]+/);
if (word === null || (word.from == word.to && false === context.explicit)) {
if (word === null || (word.from === word.to && false === context.explicit)) {
return null;
}
const search = word.text;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export const editRepeatedStyleItem = (
if (valueType === undefined) {
continue;
}
let newItems: StyleValue[] = [...items];
const newItems: StyleValue[] = [...items];
if (value.type === "var") {
newItems.splice(index, 1, value);
}
Expand Down

0 comments on commit 1a2133a

Please sign in to comment.