Niedzielski has uploaded a new change for review.

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

Change subject: Fix: don't autofix style offenders
......................................................................

Fix: don't autofix style offenders

Disable style autofixing. Autofixing code as part of the NPM test script
makes it possible to commit violations to the repo. Devs can add save
hooks or run the fixers from the command line or add a separate script
instead.

Change-Id: I65a35c5ecafc64053eed3da9453ba051130540e3
---
M Gruntfile.js
1 file changed, 0 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/mobileapps 
refs/changes/47/322047/1

diff --git a/Gruntfile.js b/Gruntfile.js
index cf46990..7f369b8 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -8,7 +8,6 @@
         src: ['lib/**/*.js', 'routes/*.js', 'test/**/*.js' ],
         options: {
             config: ".jscsrc",
-            fix: true, // Autofix code style violations when possible.
             requireCurlyBraces: [ "if" ]
         }
     }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I65a35c5ecafc64053eed3da9453ba051130540e3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/mobileapps
Gerrit-Branch: master
Gerrit-Owner: Niedzielski <sniedziel...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to