summaryrefslogtreecommitdiff
path: root/spec/javascripts/.eslintrc.yml
blob: b863156b57c5b31c2ba6b5fa9d2c6df50fcfae9e (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
---
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/prefer-toHaveBeenCalledWith: off