vscode-zig
vscode-zig copied to clipboard
Add XO linter
Changes
- Remove
.vscode/settings, and ignore it from.gitignore - Add XO linter
Should we ignore the .vscode/settings.json file?
Of course, we should.
We should give developers more free space to customize their editors.
BTW, all Sindre's open-source projects do the same behavior.
How to activate this linter in VS Code
-
Install XO extension to your VS Code
-
Create a
.vscode/settings.jsonfile -
Paste the content below to
.vscode/settings.json{ "xo.enable": true, "xo.format.enable": true, "editor.formatOnSave": true, "editor.defaultFormatter": "samverschueren.linter-xo" } -
Reload or restart your VS Code