Skip to content

Instantly share code, notes, and snippets.

@TaharaKazuki
TaharaKazuki / package.json
Last active June 30, 2024 06:56
Next.js 初期設定
{
"name": "xxxxx",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
@TaharaKazuki
TaharaKazuki / .eslintrc.json
Last active July 3, 2024 05:06
Next.js用(ver14.2.3で動作確認済み)
{
"extends": ["next/core-web-vitals", "plugin:tailwindcss/recommended"],
"plugins": ["unused-imports", "import", "tailwindcss"],
"rules": {
"no-unused-vars": "off",
"tailwindcss/no-custom-classname": [
2,
{
"allowedCustomClasses": [""]
}
@TaharaKazuki
TaharaKazuki / .vscode settings.json
Last active June 30, 2024 06:55
VS code設定
{
"javascript.preferences.importModuleSpecifier": "non-relative",
"editor.formatOnSave": true,
"eslint.useESLintClass": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": [
"source.addMissingImports",
"source.fixAll.eslint"
],
"editor.quickSuggestions": {
zennでは動画が上手くあげられなかったのでgithub.gistのコメント欄に動画を貼っています
記事のリンクは以下になります。
https://zenn.dev/dk_/articles/300fe4a047d18d