]> git.openstreetmap.org Git - rails.git/blobdiff - config/jshint.yml
Put the resourceful routing at the top of the list, for clarity
[rails.git] / config / jshint.yml
index 5ce76655b44dcf4dc0a2bff5366b4393a1997bab..a7e22486be30795e32fb5d795ebb5a063773e4f7 100644 (file)
@@ -1,6 +1,7 @@
 files:
   - "**/*.js"
 exclude_paths:
 files:
   - "**/*.js"
 exclude_paths:
+  - "app/assets/javascripts/i18n"
   - "vendor/assets/javascripts"
 options:
   eqeqeq: true
   - "vendor/assets/javascripts"
 options:
   eqeqeq: true
@@ -15,16 +16,15 @@ options:
   unused: true
   trailing: true
   globals:
   unused: true
   trailing: true
   globals:
-    I18n: true
+    I18n: false
     L: true
     OSM: true
     L: true
     OSM: true
-    Piwik: true
-    escapeHTML: false
-    getUserIcon: false
-    initializeBrowse: false
-    initializeNotes: false
+    Piwik: false
+    alert: false
+    escape: false
     maximiseMap: false
     minimiseMap: false
     maximiseMap: false
     minimiseMap: false
-    querystring: false
-    remoteEditHandler: false
+    querystring: true
+    require: false
     updateLinks: false
     updateLinks: false
+    bowser: false