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/11/04 10:32] – [Tools and Environments] ig_mbcomputer.setup [2025/11/04 10:39] (current) – [Tools and Environments] ig_mb
Line 63: Line 63:
      
  
 +F.e. in order to format all json and typescript files in all folders underneath the current directory you would use 
 +
 +  npx prettier --write "**/*.json" "**/*.ts"
 +
 +You can exclude files from being formatted by creating a .prettierignore file. This file uses the same syntax as .gitignore.
 +
 +In order to prevent prettier from formatting info.json files for geometries, you could create a .prettierignore with the following content: 
 +
 +''%%**/Geometries/**/info.json%%''
 ==== Source and files repositories aka GIT ==== ==== Source and files repositories aka GIT ====
  
computer.setup.1762248757.txt.gz · Last modified: 2025/11/04 10:32 by ig_mb