Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = {
plugins: ["@typescript-eslint", "react"],
ignorePatterns: ["/dist/*"],
rules: {
'react/react-in-jsx-scope': 'off', // React 17+ ではJSXトランスフォームが不要
'@typescript-eslint/no-explicit-any': 'warn', // any型の使用を警告(エラーにしたい場合は`error`)
"react/react-in-jsx-scope": "off", // React 17+ ではJSXトランスフォームが不要
"@typescript-eslint/no-explicit-any": "warn", // any型の使用を警告(エラーにしたい場合は`error`)
},
};
294 changes: 294 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"react-remark": "^2.1.0",
"rehype-katex": "^7.0.0",
"rehype-stringify": "^10.0.0",
"remark-gfm": "^4.0.0",
"remark-html": "^16.0.1",
"remark-math": "^6.0.0",
"remark-rehype": "^11.1.0"
Expand Down
3 changes: 1 addition & 2 deletions src/uploadImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,5 @@ const InputImage = forwardRef<HTMLInputElement, Props>(
},
);


// displayNameを追加
InputImage.displayName = "InputImage";
InputImage.displayName = "InputImage";
2 changes: 1 addition & 1 deletion src/uploadMarkdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ const InputMarkdown = forwardRef<HTMLInputElement, Props>(
);

// displayNameを追加
InputMarkdown.displayName = "InputMarkdown";
InputMarkdown.displayName = "InputMarkdown";
Loading