Sha256: c2bcaca6cbb09f005317031774c4d90d68edbf4928f46ed9baa0c81a4b460bb3

Contents?: true

Size: 1.17 KB

Versions: 30

Compression:

Stored size: 1.17 KB

Contents

---
parser: babel-eslint

extends: eslint-config-shakacode

plugins:
  - react

globals:
  __DEBUG_SERVER_ERRORS__: true
  __SERVER_ERRORS__: true

env:
  browser: true
  node: true
  mocha: true

rules:
  ### Variables
  no-undef: 2
  no-unused-vars: [2, { vars: all, args: none }]

  ### Stylistic issues
  indent: [1, 2, { SwitchCase: 1, VariableDeclarator: 2 }]
  id-length: [1, { min: 2, exceptions: [_, e, i, k, v] }]

  ### React
  jsx-quotes: [1, prefer-double]
  react/display-name: 0
  react/jsx-boolean-value: [1, always]
  react/jsx-curly-spacing: [1, never]
  react/jsx-no-duplicate-props: [2, { ignoreCase: true }]
  react/jsx-no-undef: 2
  react/jsx-sort-prop-types: 0
  react/jsx-sort-props: 0
  react/jsx-uses-react: 2
  react/jsx-uses-vars: 2
  react/no-danger: 0
  react/no-did-mount-set-state: 1
  react/no-did-update-set-state: 0
  react/no-multi-comp: 2
  react/no-unknown-property: 2
  react/prop-types: 1
  react/react-in-jsx-scope: 2
  react/require-extension: [1, { extensions: [.js, .jsx] }]
  react/self-closing-comp: 2
  react/sort-comp: 0                                                            # Should be 1. `statics` should be on top.
  react/wrap-multilines: 2

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
react_on_rails-5.1.1 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-5.1.0 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-5.0.0 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-5.0.0.rc.1 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-4.0.3 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-4.0.2 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-4.0.1 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-4.0.0 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-4.0.0.beta.3 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-4.0.0.beta.2 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-4.0.0.beta.1 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-3.0.6 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-3.0.5 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-3.0.4 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-3.0.3 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-3.0.2 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-3.0.1 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-3.0.0 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-3.0.0.rc.2 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
react_on_rails-3.0.0.rc.1 lib/generators/react_on_rails/templates/js_linters/client/.eslintrc