root: true

extends:
  - eslint:recommended

env:
  browser: true
  amd: true

globals:
  $: false
  escapeHTML: false
  OC: false
  OCA: false
  t: false

rules:
  curly: error
  eqeqeq: ["error", "smart"]
  guard-for-in: error
  no-console: off
  no-fallthrough: error
  no-mixed-spaces-and-tabs: error
  no-unused-vars: error
  no-use-before-define: error
  semi: ["error", "always"]

root: true

extends:
  - eslint:recommended

env:
  browser: true
  amd: true

globals:
  $: false
  escapeHTML: false
  OC: false
  OCA: false
  t: false
  Backbone: false
  _: false
  oc_current_user: false

rules:
  curly: error
  eqeqeq: ["error", "smart"]
  guard-for-in: error
  no-console: off
  no-fallthrough: error
  no-mixed-spaces-and-tabs: error
  no-unused-vars: error
  no-use-before-define: error
  semi: ["error", "always"]

Define _ and Backbone as globals
Define _ and Backbone as globals

Signed-off-by: Joas Schilling <ab43a7c9cb5b2380afc4ddf8b3e2583169b39a02@schilljs.com>
