Skip to content

Commit d7f4eaa

Browse files
committed
chore: setup msw
1 parent d6a9539 commit d7f4eaa

17 files changed

+1629
-17
lines changed

.env.development

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
VITE_API_BASE_URL=/api
2+
VITE_API_MOCKING_ENABLED=true

.env.production

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
VITE_API_BASE_URL=http://127.0.0.1:8000/api
2+
VITE_API_MOCKING_ENABLED=false

eslint.config.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ export default tseslint.config(
1414
tsconfigRootDir: import.meta.dirname,
1515
},
1616
},
17-
},
18-
{ ignores: ['dist'] },
19-
{
17+
}, {
18+
ignores: [
19+
'dist',
20+
'.storybook',
21+
'public/mockServiceWorker.js',
22+
]
23+
}, {
2024
extends: [
2125
js.configs.recommended,
2226
...tseslint.configs.recommendedTypeChecked,

0 commit comments

Comments
 (0)