summaryrefslogtreecommitdiff
path: root/spec/javascripts/.eslintrc.yml
blob: 1448849a0b72f928645ba5fa59d37c6c0b1bfd1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
env:
  jasmine: true
extends: plugin:jasmine/recommended
globals:
  appendLoadFixtures: false
  appendLoadStyleFixtures: false
  appendSetFixtures: false
  appendSetStyleFixtures: false
  getJSONFixture: false
  loadFixtures: false
  loadJSONFixtures: false
  loadStyleFixtures: false
  preloadFixtures: false
  preloadStyleFixtures: false
  readFixtures: false
  sandbox: false
  setFixtures: false
  setStyleFixtures: false
  spyOnDependency: false
  spyOnEvent: false
  ClassSpecHelper: false
plugins:
  - jasmine
rules:
  func-names: off
  jasmine/no-suite-dupes:
    - warn
    - branch
  jasmine/no-spec-dupes:
    - warn
    - branch
  prefer-arrow-callback: off
  import/no-unresolved:
    - error
    - ignore:
      - 'fixtures/blob'
  # Temporarily disabled to facilitate an upgrade to eslint-plugin-jasmine
  jasmine/new-line-before-expect: off
  jasmine/no-promise-without-done-fail: off
  jasmine/prefer-toHaveBeenCalledWith: off