{"size": 2594, "ext": "js", "max_stars_repo_path": "src/lib/config.js", "max_stars_repo_name": "vinsonchuong/eslint-defaults", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/lib/config.js", "max_issues_repo_name": "vinsonchuong/eslint-defaults", "max_issues_repo_issues_event_min_datetime": "2015-07-23T13:11:36.000Z", "max_issues_repo_issues_event_max_datetime": "2017-02-11T20:30:17.000Z", "max_forks_repo_path": "src/lib/config.js", "max_forks_repo_name": "vinsonchuong/eslint-defaults", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 11, "max_forks_count": null, "avg_line_length": 26.202020202, "max_line_length": 108, "alphanum_fraction": 0.5709329221}
module.exports = {
  extends: 'eslint',
  parser: 'babel-eslint',
  plugins: ['babel'],
  env: {
    es6: true,

    browser: true,
    serviceworker: true,
    worker: true,
    node: true,
    phantomjs: true,
    greasemonkey: true,
    webextensions: true,

    mocha: true,
    jasmine: true,
    jest: true,
    protractor: true,
    qunit: true,
    embertest: true
  },
  rules: {
    'accessor-pairs': 2,
    'array-bracket-spacing': 2,
    'array-callback-return': 0,
    'arrow-body-style': 2,
    'babel/arrow-parens': 2,
    'arrow-spacing': 2,
    'block-scoped-var': 2,
    'computed-property-spacing': 2,
    'consistent-this': [2, 'self'],
    'dot-location': [2, 'property'],
    'func-names': 2,
    'babel/generator-star-spacing': [2, 'after'],
    'global-require': 2,
    'handle-callback-err': [2, '^(?:err|error)'],
    'id-length': [2, {properties: 'never'}],
    'indent': [2, 2],
    'jsx-quotes': 2,
    'linebreak-style': 2,
    'lines-around-comment': [2, {beforeBlockComment: true, beforeLineComment: true, allowBlockStart: true}],
    'no-confusing-arrow': 2,
    'no-console': 2,
    'no-else-return': 2,
    'no-eq-null': 2,
    'no-extra-label': 2,
    'no-extra-parens': 2,
    'no-implicit-coercion': 2,
    'no-implicit-globals': 2,
    'no-inline-comments': 2,
    'no-invalid-this': 0,
    'no-lonely-if': 2,
    'no-multiple-empty-lines': [2, {max: 1}],
    'no-multi-spaces': [2, {exceptions: {Property: false}}],
    'no-negated-condition': 2,
    'no-param-reassign': 2,
    'no-plusplus': 2,
    'no-redeclare': [2, {builtinGlobals: true}],
    'no-self-compare': 2,
    'no-sync': 2,
    'no-throw-literal': 2,
    'no-unneeded-ternary': 2,

    'no-use-before-define': 2,

    'no-useless-call': 2,
    'no-useless-constructor': 2,
    'no-var': 2,
    'no-void': 2,
    'no-warning-comments': 2,
    'no-whitespace-before-property': 2,
    'babel/object-curly-spacing': 2,
    'babel/object-shorthand': 2,
    'one-var-declaration-per-line': 2,
    'operator-assignment': 2,
    'operator-linebreak': [2, 'after'],

    // 'padded-blocks': [2, 'never'],
    'padded-blocks': 0,

    'prefer-arrow-callback': 2,
    'prefer-const': 2,
    'prefer-reflect': 2,
    'prefer-rest-params': 2,
    'prefer-spread': 2,
    'prefer-template': 2,
    'quote-props': [2, 'consistent-as-needed'],
    'quotes': [2, 'single', 'avoid-escape'],
    'require-jsdoc': 0,
    'space-infix-ops': [2, {int32Hint: true}],
    'space-in-parens': 2,
    'strict': [2, 'never'],
    'template-curly-spacing': 2,
    'vars-on-top': 2,
    'yield-star-spacing': 2
  }
};
