<commit_before>import React, { Component, PropTypes } from 'react'
import classNames from 'classnames'
import numberToWord from '../../utils/numberToWord'
import META from '../../utils/Meta.js'

export default class FormField extends Component {
  static propTypes = {
    children: PropTypes.node,
    className: PropTypes.string,
    label: PropTypes.string,
    width: PropTypes.number,
  }

  static _meta = {
    library: META.library.semanticUI,
    name: 'FormField',
    parent: 'Form',
    type: META.type.collection,
  }

  render() {
    const classes = classNames(
      'sd-form-field',
      this.props.width && numberToWord(this.props.width) + ' wide',
      this.props.className,
      'field'
    )
    return (
      <div {...this.props} className={classes}>
        {this.props.label && <label>{this.props.label}</label>}
        {this.props.children}
      </div>
    )
  }
}
<commit_msg>refactor(FormField): fix lint issues<commit_after>import React, { Component, PropTypes } from 'react'
import classNames from 'classnames'
import numberToWord from '../../utils/numberToWord'
import META from '../../utils/Meta.js'

export default class FormField extends Component {
  static propTypes = {
    children: PropTypes.node,
    className: PropTypes.string,
    label: PropTypes.string,
    width: PropTypes.number,
  }

  static _meta = {
    library: META.library.semanticUI,
    name: 'FormField',
    parent: 'Form',
    type: META.type.collection,
  }

  render() {
    const classes = classNames(
      'sd-form-field',
      this.props.width && `${numberToWord(this.props.width)} wide`,
      this.props.className,
      'field'
    )
    return (
      <div {...this.props} className={classes}>
        {this.props.label && <label>{this.props.label}</label>}
        {this.props.children}
      </div>
    )
  }
}

{'fraction_non_alphanumeric': 0.14410005437737902, 'fraction_numerical': 0.0, 'mean_word_length': 2.8174273858921164, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '4533634', 'n_tokens_mistral': 573, 'n_tokens_neox': 577, 'n_words': 127}