{"size": 1640, "ext": "js", "max_stars_repo_path": ".eslintrc.js", "max_stars_repo_name": "budowski/react-infinite-carousel", "max_stars_repo_stars_event_min_datetime": "2017-05-05T17:47:57.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-14T18:00:16.000Z", "max_issues_repo_path": ".eslintrc.js", "max_issues_repo_name": "budowski/react-infinite-carousel", "max_issues_repo_issues_event_min_datetime": "2017-08-20T17:13:35.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-14T21:01:50.000Z", "max_forks_repo_path": ".eslintrc.js", "max_forks_repo_name": "budowski/react-infinite-carousel", "max_forks_repo_forks_event_min_datetime": "2017-11-22T17:06:00.000Z", "max_forks_repo_forks_event_max_datetime": "2021-09-03T01:15:39.000Z"}
{"max_stars_count": 104, "max_issues_count": 43, "max_forks_count": 20, "avg_line_length": 30.9433962264, "max_line_length": 218, "alphanum_fraction": 0.5829268293}
module.exports = {
  parser: 'babel-eslint',
  env: {
    browser: true,
    node: true,
    es6: true,
    jest: true,
  },
  settings: {
    'import/resolver': {
      node: {
        extensions: ['.js', '.jsx', '.ts', '.tsx'],
      },
    },
  },
  extends: [
    'airbnb',
    'plugin:prettier/recommended', // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
    'prettier/react',
    'prettier/standard',
  ],
  plugins: ['prettier'],
  rules: {
    'jsx-a11y/href-no-hash': 'off',
    'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
    'react/prefer-stateless-function': [1, { ignorePureComponents: true }],
    'function-paren-newline': ['error', 'consistent'],
    'arrow-body-style': [1, 'as-needed'],
    'no-unused-vars': ['error', { vars: 'all', args: 'all', ignoreRestSiblings: false }],
    'prefer-destructuring': ['error', { object: true, array: true }],
    'react/forbid-prop-types': ['error', { forbid: [] }],
    'react/prop-types': 1,
    'max-len': [
      2,
      150,
      2,
      {
        ignoreUrls: true,
        ignoreComments: false,
        tabWidth: 2,
      },
    ],
    'no-underscore-dangle': ['error', { allow: ['__PRELOADED_STATE__'] }],
    'no-unused-expressions': 1,
    'react/no-unused-prop-types': 1,
    'no-unneeded-ternary': 2,
    'import/prefer-default-export': 1,
    'react/destructuring-assignment': [1, 'always'],
    'linebreak-style': 1,
    'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
  },
};
