Prtksxna has uploaded a new change for review. https://gerrit.wikimedia.org/r/120752
Change subject: Add .jshintrc file ...................................................................... Add .jshintrc file Bug: 62997 Change-Id: I89d46c913994bd620ae904fbd626621be4aca170 --- A .jshintrc 1 file changed, 26 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Popups refs/changes/52/120752/1 diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 0000000..b6d8dda --- /dev/null +++ b/.jshintrc @@ -0,0 +1,26 @@ +{ + /* Common */ + + // Enforcing + "camelcase": true, + "curly": true, + "eqeqeq": true, + "immed": true, + "latedef": true, + "newcap": true, + "noarg": true, + "noempty": true, + "nonew": true, + "quotmark": "single", + "trailing": true, + "undef": true, + "unused": true, + // Legacy + "onevar": true, + + /* Local */ + "predef": [ + "mediaWiki", + "jQuery" + ] +} \ No newline at end of file -- To view, visit https://gerrit.wikimedia.org/r/120752 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I89d46c913994bd620ae904fbd626621be4aca170 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Popups Gerrit-Branch: master Gerrit-Owner: Prtksxna <psax...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits