<commit_before>module.exports = {
  extends: ['airbnb', 'plugin:react/recommended', 'prettier', 'prettier/react'],
  plugins: ['prettier', 'react'],
  parser: 'babel-eslint',
  parserOptions: {
    ecmaVersion: 2016,
    sourceType: 'module',
    ecmaFeatures: {
      jsx: true,
    },
  },
  env: {
    es6: true,
    node: true,
    jest: true,
  },
  rules: {
    'arrow-body-style': 0,
    'no-param-reassign': 0, // heavilly used in store.actions
    'no-use-before-define': 0, // heavilly used in store.views
    'no-nested-ternary': 0, // TODO
    'no-shadow': 0, //TODO: currently just for entry
    'no-return-assign': 0, //TODO currently only for BookStore
    'react/jsx-no-bind': 0,
    'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
    'react/forbid-prop-types': 0,
    'react/prop-types': [1, { skipUndeclared: true }],
    'jsx-a11y/href-no-hash': 'off',
    'jsx-a11y/no-static-element-interactions': 0,
    'import/no-named-as-default': 0,
    'import/no-named-as-default-member': 0,

    'prettier/prettier': [
      'error',
      {
        singleQuote: true,
        semi: false,
        tabWidth: 2,
        bracketSpacing: true,
        trailingComma: 'es5',<commit_msg>allow no return at end of function<commit_after>module.exports = {
  extends: ['airbnb', 'plugin:react/recommended', 'prettier', 'prettier/react'],
  plugins: ['prettier', 'react'],
  parser: 'babel-eslint',
  parserOptions: {
    ecmaVersion: 2016,
    sourceType: 'module',
    ecmaFeatures: {
      jsx: true,
    },
  },
  env: {
    es6: true,
    node: true,
    jest: true,
  },
  rules: {
    'arrow-body-style': 0,
    'no-param-reassign': 0, // heavilly used in store.actions
    'no-use-before-define': 0, // heavilly used in store.views
    'consistent-return': 0,
    'no-nested-ternary': 0, // TODO
    'no-shadow': 0, //TODO: currently just for entry
    'no-return-assign': 0, //TODO currently only for BookStore
    'react/jsx-no-bind': 0,
    'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
    'react/forbid-prop-types': 0,
    'react/prop-types': [1, { skipUndeclared: true }],
    'jsx-a11y/href-no-hash': 'off',
    'jsx-a11y/no-static-element-interactions': 0,
    'import/no-named-as-default': 0,
    'import/no-named-as-default-member': 0,

    'prettier/prettier': [
      'error',
      {
        singleQuote: true,
        semi: false,
        tabWidth: 2,
        bracketSpacing: true,
        trailingComma: 'es5',
{'fraction_non_alphanumeric': 0.1792186870720902, 'fraction_numerical': 0.01973419250906162, 'mean_word_length': 2.6745562130177514, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4838640', 'n_tokens_mistral': 960, 'n_tokens_neox': 905, 'n_words': 189}