---
extends: [
   prettier,
   vizzuality
]
env:
  node: true
  es6: true
  browser: true
globals:
  require: true
  config: true
  __DEV__: true
parser: babel-eslint
parserOptions:
  ecmaVersion: 7
  ecmaFeatures:
    jsx: true
    experimentalObjectRestSpread: true
  sourceType: module
plugins: [react, prettier]

rules:
  max-len: [1, 140, 2, {"ignoreUrls":true}]
  comma-dangle: [error, never]
  no-console: [error, allow: [warn, error, info]]
  no-plusplus: ["error", { "allowForLoopAfterthoughts": true }]
  arrow-parens: 0
  import/extensions: [error, {"js": never, "jsx": never}]
  import/no-unresolved: 0
  import/no-extraneous-dependencies: 0
  no-use-before-define: 0
  no-underscore-dangle: 0
  react/forbid-prop-types: 0
  react/prefer-stateless-function: 0
  jsx-a11y/href-no-hash: 0
  react/jsx-filename-extension: 0
  camelcase: 0
  no-mixed-operators: 0
settings:
  import/resolver:
    node:
      extensions:
        - .js
        - .jsx

      moduleDirectory:
        - node_modules
        - javascript
        - javascript/app
        - app/javascript/app

---
extends: [
   prettier,
   vizzuality
]
env:
  node: true
  es6: true
  browser: true
globals:
  require: true
  config: true
  __DEV__: true
parser: babel-eslint
parserOptions:
  ecmaVersion: 7
  ecmaFeatures:
    jsx: true
    experimentalObjectRestSpread: true
  sourceType: module
plugins: [react, prettier]

rules:
  max-len: [1, 140, 2, {"ignoreUrls":true}]
  comma-dangle: [error, never]
  no-console: [error, allow: [warn, error, info]]
  no-plusplus: ["error", { "allowForLoopAfterthoughts": true }]
  arrow-parens: 0
  import/extensions: [error, {"js": never, "jsx": never}]
  import/no-unresolved: 0
  import/no-extraneous-dependencies: 0
  no-use-before-define: 0
  no-underscore-dangle: 0
  react/forbid-prop-types: 0
  react/prefer-stateless-function: 0
  jsx-a11y/href-no-hash: 0
  react/jsx-filename-extension: 0
  camelcase: 0
  no-mixed-operators: 0
  class-methods-use-this: 0
settings:
  import/resolver:
    node:
      extensions:
        - .js
        - .jsx

      moduleDirectory:
        - node_modules
        - javascript
        - javascript/app
        - app/javascript/app

Remove class-methods-use-this rule from eslint
Remove class-methods-use-this rule from eslint
