Gitter migration: Point people to app.gitter.im (rollout pt. 1)
[gitter.git] / public / js / .eslintrc.json
blob31ba624fe9f2df6e6abad1de409b238cee741a3c
2   "env": {
3     "commonjs": true,
4     "browser": true,
5     "jest": true
6   },
7   "parserOptions": {
8     "ecmaVersion": 2018,
9     "sourceType": "script"
10   },
11   "plugins": ["jquery", "jest", "backbone"],
12   "extends": ["plugin:jest/recommended", "plugin:backbone/recommended"],
13   "rules": {
14     "node/no-unpublished-require": "off",
15     "node/no-unsupported-features/es-syntax": "off",
16     "node/no-unsupported-features/es-builtins": "off",
17     "jquery/no-ajax": "off",
18     "jquery/no-animate": "off",
19     "jquery/no-attr": "off",
20     "jquery/no-bind": 2,
21     "jquery/no-class": "off",
22     "jquery/no-clone": 2,
23     "jquery/no-closest": 2,
24     "jquery/no-css": "off",
25     "jquery/no-data": "off",
26     "jquery/no-deferred": 2,
27     "jquery/no-delegate": 2,
28     "jquery/no-each": "off",
29     "jquery/no-fade": 2,
30     "jquery/no-filter": "off",
31     "jquery/no-find": "off",
32     "jquery/no-global-eval": 2,
33     "jquery/no-has": 2,
34     "jquery/no-hide": "off",
35     "jquery/no-html": "off",
36     "jquery/no-in-array": 2,
37     "jquery/no-is": "off",
38     "jquery/no-map": 2,
39     "jquery/no-merge": 2,
40     "jquery/no-param": 2,
41     "jquery/no-parent": "off",
42     "jquery/no-parents": "off",
43     "jquery/no-parse-html": "off",
44     "jquery/no-prop": 2,
45     "jquery/no-proxy": 1,
46     "jquery/no-serialize": 2,
47     "jquery/no-show": "off",
48     "jquery/no-sizzle": "off",
49     "jquery/no-slide": "off",
50     "jquery/no-text": "off",
51     "jquery/no-toggle": 2,
52     "jquery/no-trigger": "off",
53     "jquery/no-trim": 2,
54     "jquery/no-val": "off",
55     "jquery/no-wrap": 2,
57     "backbone/collection-model": 1,
58     "backbone/model-defaults": 1,
60     "vue/html-self-closing": [
61       "error",
62       {
63         "html": {
64           "void": "any",
65           "normal": "never",
66           "component": "always"
67         },
68         "svg": "always",
69         "math": "always"
70       }
71     ],
72     "vue/component-name-in-template-casing": "off",
74     "jest/no-done-callback": "off"
75   },
76   "settings": {
77     "import/resolver": {
78       "jest": {
79         "jestConfigFile": "jest.config.js"
80       }
81     }
82   }