<commit_before>import React, { Component, PropTypes } from 'react';
import Currency from './Currency';
import Table from 'rc-table';
import {getGroupCustomStyles} from '../lib/utils';

export default class Invoice extends Component {

  constructor(props) {
    super(props);
    this.styles = {
      footer: {
        paddingLeft: '480'
      }
    };
  }

  render() {
    const {
      transaction,
      i18n
    } = this.props;

    const createdAt = new Date(transaction.createdAt);
    const year = createdAt.getFullYear();
    const month = createdAt.getMonth() + 1;

    const columns = [
      {title: 'date', dataIndex: 'date', className: 'date' },
      {title: 'description', dataIndex: 'description', key: 'description', width: 400},
      {title: 'amount', dataIndex: 'amount', key: 'amount'},
    ];

    const data = [{
      date: i18n.moment(transaction.createdAt).format('MM/DD'),
      description: transaction.description,
      amount: <Currency value={transaction.amount * 100} currency={transaction.currency} />
    }];
<commit_msg>eslint<commit_after>import React, { Component, PropTypes } from 'react';
import Currency from './Currency';
import Table from 'rc-table';
import {getGroupCustomStyles} from '../lib/utils';

export default class Invoice extends Component {

  constructor(props) {
    super(props);
    this.styles = {
      footer: {
        paddingLeft: '480'
      }
    };
  }

  render() {
    const {
      transaction,
      i18n
    } = this.props;

    const createdAt = new Date(transaction.createdAt);

    const columns = [
      {title: 'date', dataIndex: 'date', className: 'date' },
      {title: 'description', dataIndex: 'description', key: 'description', width: 400},
      {title: 'amount', dataIndex: 'amount', key: 'amount'},
    ];

    const data = [{
      date: i18n.moment(transaction.createdAt).format('MM/DD'),
      description: transaction.description,
      amount: <Currency value={transaction.amount * 100} currency={transaction.currency} />
    }];

{'fraction_non_alphanumeric': 0.14681166584280772, 'fraction_numerical': 0.013346515076618883, 'mean_word_length': 3.1390593047034763, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '650307', 'n_tokens_mistral': 611, 'n_tokens_neox': 583, 'n_words': 151}