forked from ampproject/amphtml
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.json
More file actions
24 lines (21 loc) · 981 Bytes
/
settings.json
File metadata and controls
24 lines (21 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"files.associations": {
// Enable JSON5 syntax highlighting and auto-formatting for OWNERS files.
// Until VS Code adds native JSON5 support, this needs
// https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-json5
"OWNERS": "json5",
// Enable JSON auto-formatting for these files.
".prettierrc": "json",
".renovaterc.json": "json"
},
// Auto-fix JS files with ESLint using amphtml's custom settings. Needs
// https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint
"editor.codeActionsOnSave": {"source.fixAll.eslint": true},
"[js]": {"editor.formatOnSave": false},
// Auto-fix non-JS files with Prettier using amphtml's custom settings. Needs
// https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode
"[yaml]": {"editor.formatOnSave": true},
"[json]": {"editor.formatOnSave": true},
"[json5]": {"editor.formatOnSave": true},
"[markdown]": {"editor.formatOnSave": true}
}