Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.eslintrc.json « tests « js - github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a05a3a3900fa6677f102d6f8859e9cdfb90f80b6 (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
42
43
44
45
46
47
{
  "env": {
    "es6": false,
    "qunit": true
  },
  "globals": {
    "Util": false
  },
  "parserOptions": {
    "ecmaVersion": 5,
    "sourceType": "script"
  },
  "extends": "../.eslintrc.json",
  "rules": {
    // Best Practices
    "consistent-return": "off",
    "no-alert": "off",
    "no-console": "off",
    "no-empty-function": "off",
    "no-extend-native": "off",
    "no-magic-numbers": "off",
    "vars-on-top": "off",

    // Strict Mode
    "strict": "off",

    // NodeJS and CommonJS
    "global-require": "off",
    "no-process-env": "off",
    "no-process-exit": "off",

    // Stylistic Issues
    "brace-style": "off",
    "func-style": "off",
    "max-statements-per-line": "off",
    "object-curly-newline": "off",
    "object-property-newline": "off",
    "spaced-comment": "off",

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