prescottprue/react-google-button

View on GitHub
.eslintrc.js

Summary

Maintainability
A
0 mins
Test Coverage
module.exports = {
  root: true,
  parser: 'babel-eslint',
  extends: [ 'standard', 'standard-react', 'prettier', 'prettier/react' ],
  plugins: [ 'babel', 'react', 'prettier' ],
  env: { browser: true },
  settings: {
    react: {
      version: 'detect', 
    }
  },
  rules: {
    semi: [ 2, 'never' ],
    'no-console': 'error',
    'react/jsx-no-bind': [ 2, { allowArrowFunctions: true } ],
    'react/jsx-handler-names': 0,
    'prettier/prettier': 
    [ 'error', {
      singleQuote: true,
      trailingComma: 'none',
      semi: false,
      bracketSpacing: true,
      jsxBracketSameLine: false,
      printWidth: 80,
      tabWidth: 2,
      useTabs: false
    }]
  }
}