aboutsummaryrefslogtreecommitdiff
path: root/themes/docsy/assets/vendor/bootstrap/js/tests/unit/.eslintrc.json
blob: 0896f406d0f5ec66bfe798df1b9e5dbc519d496b (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
{
  "env": {
    "es6": false,
    "jquery": true,
    "qunit": true
  },
  "globals": {
    "bootstrap": false,
    "sinon": false,
    "Util": false,
    "Alert": false,
    "Button": false
  },
  "parserOptions": {
    "ecmaVersion": 5,
    "sourceType": "script"
  },
  "extends": "../../../.eslintrc.json",
  "rules": {
    "no-console": "off",
    // Best Practices
    "consistent-return": "off",
    "no-magic-numbers": "off",
    "vars-on-top": "off",

    // Stylistic Issues
    "func-style": "off",
    "spaced-comment": "off",

    // ECMAScript 6
    "no-var": "off",
    "object-shorthand": "off",
    "prefer-arrow-callback": "off",
    "prefer-template": "off",
    "prefer-rest-params": "off"
  }
}