From b5c662a4c13199ea32d01bac1de67786ae83569b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AD=A6=E7=94=B0=20=E6=86=B2=E5=A4=AA=E9=83=8E?= Date: Wed, 13 Nov 2024 14:57:46 +0900 Subject: [PATCH] =?UTF-8?q?KentarouTakeda/laravel=20=E3=81=AEscss=E3=82=B5?= =?UTF-8?q?=E3=83=9D=E3=83=BC=E3=83=88=E5=BB=83=E6=AD=A2=E3=81=AB=E5=BF=9C?= =?UTF-8?q?=E3=81=98=E3=81=9F=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devcontainer/devcontainer.json | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 27e19bb..117f8d4 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -12,11 +12,15 @@ "vscode": { "settings": { "editor.renderWhitespace": "boundary", + "files.associations": { + "*.css": "tailwindcss" + }, "php-cs-fixer.allowRisky": true, "php-cs-fixer.executablePath": "${workspaceFolder}/vendor/bin/php-cs-fixer", "php-cs-fixer.onsave": true, "php-cs-fixer.pathMode": "intersection", "[php]": { + "editor.formatOnSave": true, "editor.defaultFormatter": "junstyle.php-cs-fixer" }, "diffEditor.ignoreTrimWhitespace": false, @@ -27,21 +31,22 @@ "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true }, - "[css]": { - "editor.formatOnSave": false + "[tailwindcss]": { + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll.stylelint": "explicit" + } }, - "scss.validate": false, "[scss]": { - "editor.formatOnSave": false - }, - "postcss.validate": false, - "[postcss]": { - "editor.formatOnSave": false + "editor.formatOnSave": false, + "editor.codeActionsOnSave": { + "source.fixAll.stylelint": "explicit" + } }, "stylelint.validate": ["css", "scss", "postcss"], "emmet.triggerExpansionOnTab": true, "blade.format.enable": true, - "intelephense.environment.phpVersion": "8.2.0", + "intelephense.environment.phpVersion": "8.3.0", "intelephense.files.exclude": [ "**/.git/**", "**/node_modules/**", @@ -54,15 +59,18 @@ }, "extensions": [ + "aaron-bond.better-comments", "bmewburn.vscode-intelephense-client", + "bradlc.vscode-tailwindcss", "csstools.postcss", "eamodio.gitlens", - "EditorConfig.EditorConfig", + "ecmel.vscode-html-css", + "editorconfig.editorconfig", "esbenp.prettier-vscode", "junstyle.php-cs-fixer", "mhutchie.git-graph", "onecentlin.laravel-blade", - "SanderRonde.phpstan-vscode", + "sanderronde.phpstan-vscode", "shufo.vscode-blade-formatter", "stylelint.vscode-stylelint" ]