mirror of
https://github.com/status-im/status-react.git
synced 2025-01-09 10:42:53 +00:00
c0b21aa315
Document how a VSCode user can configure their editor to auto-format Clojure(Script) files that respect all the formatter (zprint) settings specified in status-mobile/.zprintrc. The result should be that on every file save, the file should be identically formatted as if you used make lint-fix, at least the part about zprint. If lint-fix does other things now or in the future that are outside the scope of zprint, those won't be covered by the VSCode extension.
13 lines
400 B
JSON
13 lines
400 B
JSON
{
|
|
"editor.formatOnSave": true,
|
|
"clojure.format.enable": false,
|
|
"[clojure]": {
|
|
"editor.defaultFormatter": "rflagreca.vscode-clj-zprint"
|
|
},
|
|
"vscode-clj-zprint.IgnoreExternalFiles": false,
|
|
"vscode-clj-zprint.CommunityFormatting": false,
|
|
"vscode-clj-zprint.OptionsMap": "",
|
|
"vscode-clj-zprint.width": "",
|
|
"vscode-clj-zprint.Styles.UseOnlyTheseStyles": false
|
|
}
|