Mwjames has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/63232


Change subject: Fix .jshintrc
......................................................................

Fix .jshintrc

Change-Id: I2fb29c1df55b923a30120e6ddd7e763df517b6f2
---
M .jshintrc
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticResultFormats 
refs/changes/32/63232/1

diff --git a/.jshintrc b/.jshintrc
index fec2718..b4fecba 100644
--- a/.jshintrc
+++ b/.jshintrc
@@ -3,6 +3,8 @@
                "mediaWiki",
                "smw",
                "srf",
+               "semanticMediaWiki",
+               "semanticFormats",
                "jQuery",
                "QUnit"
        ],
@@ -21,7 +23,7 @@
        "quotmark": "single", // enforces the consistency of quotation marks 
used throughout your code
        "regexp": false, // prohibits the use of unsafe . in regular expressions
        "undef": false, // prohibits the use of explicitly undeclared variables
-       "unused": false, // warns when you define and never use your variables
+       "unused": true, // warns when you define and never use your variables
        "strict": true, // requires all functions to run in EcmaScript 5's 
strict mode
        "trailing": true, // makes it an error to leave a trailing whitespace 
in your code
 
@@ -30,5 +32,4 @@
        "multistr": true, // suppresses warnings about multi-line strings
 
        "browser": true // defines globals exposed by modern browsers
-       "nomen": false // Tolerate dangling _ in identifiers
 }
\ No newline at end of file

-- 
To view, visit https://gerrit.wikimedia.org/r/63232
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2fb29c1df55b923a30120e6ddd7e763df517b6f2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticResultFormats
Gerrit-Branch: master
Gerrit-Owner: Mwjames <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to