<commit_before>import React from 'react';
import {compose} from 'redux';
import {connect} from 'react-redux';

import Taps from '../components/Taps';
import {addTap} from '../actions/settings';

/* eslint-disable */

class App extends React.Component {
  render() {
    const {taps, addTap} = this.props;

    return (
      <div>
        <h1>App er her!</h1>
        <button className="add-tap"
          onClick={addTap.bind(null, {
            name: 'New tap'
          })}>+</button>
        <Taps taps={taps} />
      </div>
    );
  }
}

// App.propTypes = {
//   taps: React.propTypes.array
// };

export default compose(
  connect(state => ({
    taps: state.settings
  }), {
    addTap
  })
)(App);
/* eslint-enable */<commit_msg>Remove eslint disable in App<commit_after>import React from 'react';
import {compose} from 'redux';
import {connect} from 'react-redux';

import Taps from '../components/Taps';
import {addTap} from '../actions/settings';

class App extends React.Component {
  render() {
    const {taps, addTap} = this.props;

    return (
      <div>
        <h1>App er her!</h1>
        <button className="add-tap"
          onClick={addTap.bind(null, {
            name: 'New tap'
          })}>+</button>
        <Taps taps={taps} />
      </div>
    );
  }
}

App.propTypes = {
  addTap: React.PropTypes.function,
  taps: React.PropTypes.array
};

export default compose(
  connect(state => ({
    taps: state.settings
  }), {
    addTap
  })
)(App);
{'fraction_non_alphanumeric': 0.16779431664411368, 'fraction_numerical': 0.0027063599458728013, 'mean_word_length': 2.4637002341920375, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 19, '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': '6248142', 'n_tokens_mistral': 519, 'n_tokens_neox': 510, 'n_words': 118}