Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit f786cbb

Browse files
authored
Fix prettier conflict with VS Code
Prettier's `bracketSpacing: false,` rule is overruled via VS Code's default `"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true` which results in not removing the bracket spacing from import statements.
1 parent 53c8488 commit f786cbb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
// This will get emmet working in JSX.
1212
"emmet.includeLanguages": {
1313
"javascript": "javascriptreact"
14-
}
14+
},
15+
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false
1516
}

0 commit comments

Comments
 (0)