Download wp-calypso/.vscode/settings-sample.jsonc from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.35 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/.vscode/settings-sample.jsonc
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/.vscode/settings-sample.jsonc
-
curl -L -o settings-sample.jsonc https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/.vscode/settings-sample.jsonc
1.35 kB
| { | |
| // File settings | |
| "files.eol": "\n", | |
| "files.exclude": { | |
| "**/node_modules": true, | |
| ".cache": true | |
| }, | |
| "files.associations": { | |
| // VS Code treats ".prettierrc" as JSON, by default | |
| ".prettierrc": "yaml" | |
| }, | |
| // Editor settings | |
| "editor.formatOnSave": false, | |
| "editor.codeActionsOnSave": { | |
| "source.fixAll": "explicit", | |
| "source.fixAll.eslint": "explicit", | |
| "source.fixAll.tslint": "explicit", | |
| "source.fixAll.stylelint": "explicit" | |
| }, | |
| // Use prettier for formatting JS/TS | |
| "[javascript][javascriptreact][typescript][typescriptreact]": { | |
| // auto format on save will be done by ESLint | |
| "editor.formatOnSave": false, | |
| "editor.defaultFormatter": "esbenp.prettier-vscode" | |
| }, | |
| "[jsonc][json][yaml][markdown]": { | |
| "editor.formatOnSave": true, | |
| "editor.defaultFormatter": "esbenp.prettier-vscode" | |
| }, | |
| // Use stylint for formatting CSS/SCSS | |
| "[css][scss][sass]": { | |
| "editor.formatOnSave": false, | |
| "editor.defaultFormatter": "stylelint.vscode-stylelint" | |
| }, | |
| // Settings for extensions | |
| "eslint.validate": [ | |
| "javascript", | |
| "javascriptreact", | |
| "typescript", | |
| "typescriptreact", | |
| "json", | |
| "jsonc" | |
| ], | |
| "css.validate": false, | |
| "scss.validate": false, | |
| "stylelint.validate": [ "css", "scss", "postcss" ], | |
| // Use the installed version of TypeScript, not the ones bundled with VS Code | |
| "typescript.tsdk": "node_modules/typescript/lib" | |
| } | |