<commit_before>import React, {PropTypes as t} from 'react';

export default MarkdownHeadline;

function MarkdownHeadline(props) {
	const {...p, tagName: TagName} = props;
	const children = Array.isArray(p.children) ? p.children.join('') : p.children;
	const id = children.split(' ').join('-').toLowerCase();

	return (
		<TagName id={id}>
			{props.children}
		</TagName>
	);
}

MarkdownHeadline.propTypes = {
	children: t.any.isRequired,
	tagName: t.string.isRequired
};<commit_msg>chore: fix linter issue with position of object destructuring<commit_after>import React, {PropTypes as t} from 'react';

export default MarkdownHeadline;

function MarkdownHeadline(props) {
	const {tagName: TagName, ...p} = props;
	const children = Array.isArray(p.children) ? p.children.join('') : p.children;
	const id = children.split(' ').join('-').toLowerCase();

	return (
		<TagName id={id}>
			{props.children}
		</TagName>
	);
}

MarkdownHeadline.propTypes = {
	children: t.any.isRequired,
	tagName: t.string.isRequired
};
{'fraction_non_alphanumeric': 0.15877712031558186, 'fraction_numerical': 0.0, 'mean_word_length': 4.734463276836158, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4251214', 'n_tokens_mistral': 355, 'n_tokens_neox': 350, 'n_words': 80}