function getPropertyWhitespace(property) {
			const whitespace = /(\s*):(\s*)/u.exec(
				sourceCode
					.getText()
					.slice(property.key.range[1], property.value.range[0]),
			);

			if (whitespace) {
				return {
					beforeColon: whitespace[1],
					afterColon: whitespace[2],
				};
			}
			return null;
		}
Gets the whitespace around the colon in an object literal property.
@param {ASTNode} property Property node from an object literal.
@returns {Object} Whitespace before and after the property's colon.