mirror of
https://github.com/discourse/discourse.git
synced 2025-02-23 21:44:25 +08:00

Stylelint is a css linter: https://stylelint.io/ As part of this change we have added two javascript scripts: ``` pnpm lint:css pnpm lint:css:fix ``` Look at `.vscode/settings.json.sample` and `.vscode/extensions.json` for configuration in VSCode. --------- Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
38 lines
1.2 KiB
JSON
38 lines
1.2 KiB
JSON
{
|
|
"name": "Discourse",
|
|
"image": "docker.io/discourse/discourse_dev:20241111-0710",
|
|
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace/discourse,type=bind",
|
|
"workspaceFolder": "/workspace/discourse",
|
|
"postStartCommand": "./.devcontainer/scripts/start.rb",
|
|
"forwardPorts": [
|
|
9292, // bin/unicorn
|
|
3000, // bin/rails s
|
|
4200, // ember-cli
|
|
8025, // mailhog
|
|
9229 // chrome remote debug
|
|
],
|
|
"remoteUser": "discourse",
|
|
"remoteEnv": {
|
|
"RAILS_DEVELOPMENT_HOSTS": ".app.github.dev",
|
|
"PGUSER": "discourse",
|
|
"SELENIUM_FORWARD_DEVTOOLS_TO_PORT": "9229",
|
|
},
|
|
"mounts": [
|
|
"source=${localWorkspaceFolderBasename}-node_modules,target=${containerWorkspaceFolder}/node_modules,type=volume",
|
|
"source=${localWorkspaceFolderBasename}-pg,target=/shared/postgres_data,type=volume",
|
|
"source=${localWorkspaceFolderBasename}-redis,target=/shared/redis,type=volume"
|
|
],
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"Shopify.ruby-lsp",
|
|
"esbenp.prettier-vscode",
|
|
"dbaeumer.vscode-eslint",
|
|
"lifeart.vscode-glimmer-syntax",
|
|
"typed-ember.glint-vscode",
|
|
"stylelint.vscode-stylelint"
|
|
]
|
|
}
|
|
}
|
|
}
|