extends: airbnb/base
# plugins:
  # - mocha
globals:
  describe: true
  it: true
  beforeEach: true
  afterEach: true
  Promise: true
  window: true
  $: true
  document: true
  analytics: true
rules:
  import/no-extraneous-dependencies: [error, { devDependencies: true }]
  indent:
    - error
    - 4
  max-len: 0
  no-plusplus: 0
  global-require: 0
  vars-on-top: 0
  padded-blocks: 0
  no-console: 0
  prefer-const: 0
  prefer-template: 0
  comma-dangle: 0
  consistent-return: 0
  no-param-reassign: 0
  no-underscore-dangle: 0
  arrow-body-style: 0
  no-else-return: 0
  object-shorthand: 0
  no-new: 0
  no-unused-vars:
    - warn
    - varsIgnorePattern: "process"
  import/no-unresolved:
    - "error"
    - ignore:
        - state
