.jshintrc 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. // JSHint options: http://jshint.com/docs/options/
  3. "maxerr": 50,
  4. // Enforcing
  5. "camelcase": true,
  6. "eqeqeq": true,
  7. "undef": true,
  8. "unused": true,
  9. // Environments
  10. "browser": true,
  11. "devel": true,
  12. // Authorized globals
  13. "globals": {
  14. // Meteor globals
  15. "Meteor": false,
  16. "DDP": false,
  17. "Mongo": false,
  18. "Session": false,
  19. "Accounts": false,
  20. "Template": false,
  21. "Blaze": false,
  22. "UI": false,
  23. "Match": false,
  24. "check": false,
  25. "Tracker": false,
  26. "Deps": false,
  27. "ReactiveVar": false,
  28. "EJSON": false,
  29. "HTTP": false,
  30. "Email": false,
  31. "Assets": false,
  32. "Handlebars": false,
  33. "Package": false,
  34. "App": false,
  35. "Npm": false,
  36. "Tinytest": false,
  37. "Random": false,
  38. "HTML": false,
  39. // Exported by packages we use
  40. "_": false,
  41. "$": false,
  42. "Router": false,
  43. "SimpleSchema": false,
  44. "getSlug": false,
  45. "Migrations": false,
  46. "FS": false,
  47. "BlazeComponent": false,
  48. "TAPi18n": false,
  49. "T9n": false,
  50. "SubsManager": false,
  51. "Mousetrap": false,
  52. "Avatar": true,
  53. "Ps": true,
  54. // Our collections
  55. "Boards": true,
  56. "Lists": true,
  57. "Cards": true,
  58. "CardComments": true,
  59. "Activities": true,
  60. "Attachments": true,
  61. "Users": true,
  62. "AccountsTemplates": true,
  63. // Our objects
  64. "EscapeActions": true,
  65. "Filter": true,
  66. "Filter": true,
  67. "Mixins": true,
  68. "MultiSelection": true,
  69. "Popup": true,
  70. "Sidebar": true,
  71. "Utils": true,
  72. // XXX Temp, we should remove these
  73. "allowIsBoardAdmin": true,
  74. "allowIsBoardMember": true,
  75. "Emoji": true
  76. }
  77. }