User Tools

Site Tools


computer.setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computer.setup [2025/10/20 11:07] – [Tools and Environments] ig_mbcomputer.setup [2025/10/20 11:14] (current) – [Tools and Environments] ig_mb
Line 37: Line 37:
 {{:vscode-settings-prettier-require-config.png?400|}} {{:vscode-settings-prettier-require-config.png?400|}}
  
 +You can setup a project to use prettier by creating a .prettierrc file with the following content.
 +
 +  {
 + "tabWidth": 4,
 + "useTabs": true,
 + "printWidth": 200,
 + "trailingComma": "all",
 + "singleQuote": false,
 + "bracketSpacing": true,
 + "semi": true,
 + "overrides": [
 + {
 + "files": "package.json",
 + "options": {
 + "useTabs": false,
 + "tabWidth": 2
 + }
 + }
 + ]
 +  }
  
 ==== Source and files repositories aka GIT ==== ==== Source and files repositories aka GIT ====
computer.setup.1760951252.txt.gz · Last modified: 2025/10/20 11:07 by ig_mb