Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.

Commit b11de27

Browse files
committed
remove vscode setting editor.formatOnSave
causes double formatting and certain rules to be applied incorrectly if the user’s ‘global’ vscode settings also have `formatOnSave` turned on
1 parent d64122c commit b11de27

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.vscode/settings.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"eslint.enable": true,
3-
"editor.formatOnSave": true,
43
// enable for eslint-plugin json-format
5-
"eslint.validate": ["json"],
4+
"eslint.validate": [
5+
"json"
6+
],
67
}

0 commit comments

Comments
 (0)