summaryrefslogtreecommitdiffstats
path: root/.jshintrc
blob: 0d5cb0773b732eca094b13c258e7a8e14e7f6077 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
  // JSHint options: http://jshint.com/docs/options/
  "maxerr": 50,

  // Enforcing
  "camelcase": true,
  "eqeqeq": true,
  "undef": true,
  "unused": true,

  // Environments
  "browser": true,
  "devel": true,

  // Authorized globals
  "globals": {
    // Meteor globals
    "Meteor": false,
    "DDP": false,
    "Mongo": false,
    "Session": false,
    "Accounts": false,
    "Template": false,
    "Blaze": false,
    "UI": false,
    "Match": false,
    "check": false,
    "Tracker": false,
    "Deps": false,
    "ReactiveVar": false,
    "EJSON": false,
    "HTTP": false,
    "Email": false,
    "Assets": false,
    "Handlebars": false,
    "Package": false,
    "App": false,
    "Npm": false,
    "Tinytest": false,
    "Random": false,
    "HTML": false,

    // Exported by packages we use
    "_": false,
    "$": false,
    "autosize": false,
    "Router": false,
    "SimpleSchema": false,
    "getSlug": false,
    "Migrations": false,
    "FS": false,
    "BlazeComponent": false,
    "TAPi18n": false,
    "T9n": false,
    "SubsManager": false,
    "Mousetrap": false,
    "Avatar": true,
    "Avatars": true,
    "Ps": true,
    "Presence": true,
    "Presences": true,

    // Our collections
    "Boards": true,
    "Lists": true,
    "Cards": true,
    "CardComments": true,
    "Activities": true,
    "Attachments": true,
    "Users": true,
    "AccountsTemplates": true,

    // Our objects
    "CSSEvents": true,
    "EscapeActions": true,
    "Filter": true,
    "Filter": true,
    "Mixins": true,
    "Modal": true,
    "MultiSelection": true,
    "Popup": true,
    "Sidebar": true,
    "Utils": true,
    "InlinedForm": true,

    // XXX Temp, we should remove these
    "allowIsBoardAdmin": true,
    "allowIsBoardMember": true,
    "Emoji": true
  }
}