Sha256: 52311f298d64b1b5bd1a45751bddf47b70337ac2b8cff22d3574746efbbd4e37

Contents?: true

Size: 1.09 KB

Versions: 5

Compression:

Stored size: 1.09 KB

Contents

var path = require('path');

module.exports = {
  extends: 'airbnb',
  parser: 'babel-eslint',
  env: {
    'node': true,
    'mocha': true
  },
  globals: {
    'expect': false,
    'describe': false
  },
  rules: {
    'consistent-return': 1,
    'arrow-body-style': 0,
    'max-len': 0,
    'jsx-a11y/img-has-alt': 0,
    'no-use-before-define': [2, 'nofunc'],
    'no-unused-expressions': 0,
    'no-console': 0,
    'space-before-function-paren': 0,
    'react/prefer-stateless-function': 0,
    'react/no-multi-comp': 0,
    'react/no-unused-prop-types': [1, { 'customValidators': [], skipShapeProps: true }],
    'no-param-reassign': 0,
    'new-cap': 0,
    'import/no-unresolved': 'error',
    'import/no-extraneous-dependencies': ['error', { 'devDependencies': true }],
    'linebreak-style': 0,
    'import/no-named-as-default': 'off',
    'import/no-named-as-default-member': 'off',
    'no-underscore-dangle': 0
  },
  settings: {
    'import/resolver': {
      webpack: {
        config: path.join(__dirname, 'webpack.config.js')
      },
      node: {
        paths: 'app/javascript'
      }
    }
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gnarails-1.0.0 templates/react/.eslintrc.js
gnarails-0.9.3 templates/react/.eslintrc.js
gnarails-0.9.2 templates/react/.eslintrc.js
gnarails-0.9.1 templates/react/.eslintrc.js
gnarails-0.9.0 templates/react/.eslintrc.js