Skip to content

Commit 5321bc0

Browse files
authored
feat: add keyboard navigation (#1)
1 parent 228e020 commit 5321bc0

32 files changed

+923
-85
lines changed

.eslintrc.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ module.exports = {
9595
rules: [
9696
{
9797
target: ['app', 'pages', 'shared', 'assets'],
98-
allow: '*',
98+
allow: '**',
9999
},
100100
{
101101
target: ['modules'],
@@ -123,7 +123,7 @@ module.exports = {
123123
},
124124
{
125125
from: ['shared'],
126-
allow: ['assets'],
126+
allow: ['shared', 'assets'],
127127
},
128128
],
129129
},

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"dev": "vite",
88
"build": "tsc && vite build",
99
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
10+
"test": "vitest",
1011
"preview": "vite preview",
1112
"format": "prettier --write './*.{ts,cjs,json}' 'src/**/*.{ts,tsx,css}'",
1213
"prepare": "husky install"
@@ -39,11 +40,13 @@
3940
"eslint-plugin-import": "^2.28.1",
4041
"eslint-plugin-react-hooks": "4.6.0",
4142
"eslint-plugin-react-refresh": "0.4.3",
43+
"happy-dom": "^12.10.3",
4244
"husky": "^8.0.3",
4345
"prettier": "3.0.3",
4446
"typescript": "5.2.2",
4547
"unocss": "0.56.5",
46-
"vite": "4.4.10"
48+
"vite": "4.4.10",
49+
"vitest": "^0.34.6"
4750
},
4851
"lint-staged": {
4952
"*.{ts,tsx}": "eslint --cache --fix",

0 commit comments

Comments
 (0)