Skip to content

Commit

Permalink
Whitelist backend-specific global variables
Browse files Browse the repository at this point in the history
  • Loading branch information
aitbw committed Jun 5, 2019
1 parent 2bcd063 commit e3df0d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,20 @@
"vars-on-top": 0
},
"globals": {
"_": "readonly",
"accounting": "readonly",
"addVariantFromStockLocation": "writable",
"adjustShipmentItems": "writable",
"Backbone": "readonly",
"error": "writable",
"flatpickr": "readonly",
"Handlebars": "readonly",
"HandlebarsTemplates": "readonly",
"json": "writable",
"message": "writable",
"Select2": "readonly",
"shipments": "writable",
"show_flash": "writable",
"Sortable": "readonly",
"Spree": "readonly",
"Turbolinks": "readonly"
Expand Down

0 comments on commit e3df0d3

Please sign in to comment.