diff --git a/.husky/commit-msg b/.husky/commit-msg old mode 100755 new mode 100644 diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100755 new mode 100644 index 7dc9d63b..a2e43797 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,2 +1,2 @@ -npx lint-staged npm run lint:tsc +npx lint-staged diff --git a/.lintstagedrc.json b/.lintstagedrc.json index 605dd6eb..04bf48cb 100644 --- a/.lintstagedrc.json +++ b/.lintstagedrc.json @@ -1,4 +1,4 @@ { - "*.{js,ts,tsx}": "eslint --fix", - "*.{css,html,json,md}": "prettier --write" + "*.{js,jsx,mjs,mts,ts,tsx}": "eslint --fix", + "*.{css,html,json,md,yml}": "prettier --write" } diff --git a/eslint.config.mjs b/eslint.config.mjs index 5046e39a..15785870 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -32,8 +32,8 @@ export default [ { plugins: { '@typescript-eslint': typescriptEslint, - prettier, 'simple-import-sort': simpleImportSort, + prettier, tsdoc, }, diff --git a/src/index.tsx b/src/index.tsx index 3de8cb43..e3464048 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -4,10 +4,15 @@ import '@fontsource/roboto/500.css'; import '@fontsource/roboto/700.css'; import './index.css'; +import { StrictMode } from 'react'; import { createRoot } from 'react-dom/client'; import App from './components/App'; export const root = createRoot(document.getElementById('root')!); -root.render(); +root.render( + + + , +);