Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 993c501

Browse files
committed
code smells
1 parent 075ba07 commit 993c501

File tree

3 files changed

+36
-36
lines changed

3 files changed

+36
-36
lines changed

package-lock.json

Lines changed: 31 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@rollup/plugin-terser": "0.2.1",
2929
"@testing-library/jest-dom": "5.16.5",
3030
"@testing-library/react": "13.4.0",
31-
"@types/jest": "29.2.4",
31+
"@types/jest": "29.2.5",
3232
"@types/luxon": "3.1.0",
3333
"@types/node": "18.11.18",
3434
"@types/react": "18.0.26",
@@ -38,7 +38,7 @@
3838
"@types/react-window": "1.8.5",
3939
"@typescript-eslint/eslint-plugin": "5.47.1",
4040
"@typescript-eslint/parser": "5.47.1",
41-
"eslint": "8.30.0",
41+
"eslint": "8.31.0",
4242
"jest": "29.3.1",
4343
"jest-mock-extended": "3.0.1",
4444
"jest-environment-jsdom": "29.3.1",
@@ -58,7 +58,7 @@
5858
"@tanstack/react-table": "8.7.4",
5959
"eventemitter3": "5.0.0",
6060
"fuse.js": "6.6.2",
61-
"luxon": "3.1.1",
61+
"luxon": "3.2.0",
6262
"monkey-around": "2.3.0",
6363
"obsidian-dataview": "0.5.51",
6464
"obsidian-projects-types": "0.6.0",

src/helpers/Constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,10 +474,10 @@ export const SUGGESTER_REGEX = Object.freeze({
474474
LINK_BLOCK: /\B\[\[([^#\]]+)#?\^([^\]]*)$/,
475475
EMBED_BLOCK: /\B!\[\[([^#\]]+)#?\^([^\]]*)$/,
476476

477-
TEXT_ARRAY: /(^\[{1})([^\[]{1}.*)(\]{1})$/g,
477+
TEXT_ARRAY: /(^\[{1})([^[]{1}.*)(\]{1})$/g,
478478
TEXT_OBJECT: /(^\{{1})(.*)(\}{1})$/g,
479479

480-
CELL_VALID_KEYDOWN: /^[a-zA-Z0-9_\-]{1}$/g,
480+
CELL_VALID_KEYDOWN: /^[a-zA-Z0-9_-]{1}$/g,
481481
});
482482

483483
/******************************************************************************

0 commit comments

Comments
 (0)