{
	"//": [
		"VS Code and Cursor only read a workspace's .vscode/settings.json from",
		"the folder that's actually open as the workspace root. This repo has",
		"themes under wp-content/themes/* that each carry their own",
		".vscode/settings.json (marshal's, for one) — those are inert the",
		"moment someone opens this public/ folder instead of the theme folder",
		"directly, so the PHP formatting settings below are duplicated here",
		"for that case. JS/SCSS tooling (prettier/eslint/stylelint paths) is",
		"NOT duplicated here on purpose: those depend on each theme's own",
		"node_modules and only make sense from inside that theme's own folder,",
		"and this repo has more than one theme, each with its own build."
	],

	"files.eol": "\n",
	"files.insertFinalNewline": true,
	"files.trimTrailingWhitespace": true,

	"[php]": {
		"editor.defaultFormatter": "valeryanm.vscode-phpsab",
		"editor.formatOnSave": true
	},
	"//phpcs": [
		"phpsab.executablePathCS/CBF are empty on purpose: phpsab then takes",
		"phpcs/phpcbf from PATH, which is where a global Composer install puts",
		"them (see the theme's docs/quality.md for the install command). phpsab.standard",
		"is deliberately left unset: phpsab.autoRulesetSearch defaults to true",
		"and walks up from the file being linted to find that theme's own",
		"phpcs.xml, regardless of which folder is open as the workspace root."
	],
	"phpsab.fixerEnable": true,
	"phpsab.snifferEnable": true,
	"phpsab.executablePathCBF": "",
	"phpsab.executablePathCS": "",

	"[markdown]": {
		"files.trimTrailingWhitespace": false
	},

	"search.exclude": {
		"**/build": true,
		"**/node_modules": true,
		"**/vendor": true
	}
}
