[MediaWiki-commits] [Gerrit] TEST: DO NOT MERGE - change (mediawiki/core)

2016-05-11 Thread Paladox (Code Review)
Paladox has uploaded a new change for review.

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

Change subject: TEST: DO NOT MERGE
..

TEST: DO NOT MERGE

This switches our code style sniffer from jscs to eslint

Change-Id: I07e6d51e2f6ade783be8c7240f80073cc0186bcb
---
A .eslintrc
D .jscsrc
M Gruntfile.js
M package.json
4 files changed, 191 insertions(+), 42 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/98/288298/1

diff --git a/.eslintrc b/.eslintrc
new file mode 100644
index 000..2c2b8a0
--- /dev/null
+++ b/.eslintrc
@@ -0,0 +1,184 @@
+{
+"extends": "eslint:recommended",
+"rules": {
+"accessor-pairs": "error",
+"array-bracket-spacing": "off",
+"array-callback-return": "off",
+"arrow-body-style": "error",
+"arrow-parens": "error",
+"arrow-spacing": "error",
+"block-scoped-var": "off",
+"block-spacing": "off",
+"brace-style": "off",
+"callback-return": "off",
+"camelcase": "off",
+"comma-spacing": "off",
+"comma-style": [
+"error",
+"last"
+],
+"complexity": "off",
+"computed-property-spacing": "off",
+"consistent-return": "off",
+"consistent-this": "off",
+"curly": "off",
+"default-case": "off",
+"dot-location": "off",
+"dot-notation": "off",
+"eol-last": "off",
+"eqeqeq": "off",
+"func-names": "off",
+"func-style": "off",
+"generator-star-spacing": "error",
+"global-require": "off",
+"guard-for-in": "off",
+"handle-callback-err": "error",
+"id-blacklist": "error",
+"id-length": "off",
+"id-match": "error",
+"indent": "off",
+"init-declarations": "off",
+"jsx-quotes": "error",
+"key-spacing": "off",
+"keyword-spacing": "off",
+"linebreak-style": [
+"error",
+"windows"
+],
+"lines-around-comment": "off",
+"max-depth": "off",
+"max-len": "off",
+"max-nested-callbacks": "error",
+"max-params": "off",
+"max-statements": "off",
+"max-statements-per-line": "off",
+"new-parens": "error",
+"newline-after-var": "off",
+"newline-before-return": "off",
+"newline-per-chained-call": "off",
+"no-alert": "off",
+"no-array-constructor": "off",
+"no-bitwise": "off",
+"no-caller": "off",
+"no-catch-shadow": "off",
+"no-confusing-arrow": "error",
+"no-continue": "off",
+"no-div-regex": "off",
+"no-duplicate-imports": "error",
+"no-else-return": "off",
+"no-empty-function": "off",
+"no-eq-null": "off",
+"no-eval": "off",
+"no-extend-native": "off",
+"no-extra-bind": "off",
+"no-extra-label": "error",
+"no-extra-parens": "off",
+"no-floating-decimal": "off",
+"no-implicit-coercion": [
+"error",
+{
+"boolean": false,
+"number": false,
+"string": false
+}
+],
+"no-implicit-globals": "off",
+"no-implied-eval": "error",
+"no-inline-comments": "off",
+"no-invalid-this": "off",
+"no-iterator": "error",
+"no-label-var": "error",
+"no-lone-blocks": "error",
+"no-lonely-if": "off",
+"no-loop-func": "off",
+"no-magic-numbers": "off",
+"no-mixed-requires": "error",
+"no-multi-spaces": "off",
+"no-multi-str": "error",
+"no-multiple-empty-lines": "off",
+"no-native-reassign": "off",
+"no-negated-condition": "off",
+"no-nested-ternary": "off",
+"no-new": "error",
+"no-new-func": "off",
+"no-new-object": "error",
+"no-new-require": "error",
+"no-new-wrappers": "error",
+"no-octal-escape": "error",
+"no-param-reassign": "off",
+"no-path-concat": "error",
+"no-plusplus": "off",
+"no-process-env": "error",
+"no-process-exit": "error",
+"no-proto": "off",
+"no-restricted-globals": "error",
+"no-restricted-imports": "error",
+"no-restricted-modules": "error",
+"no-restricted-syntax": "error",
+"no-return-assign": "off",
+"no-script-url": "off",
+"no-self-compare": "off",
+"no-sequences": "off",
+"no-shadow": "off",
+"no-shadow-restricted-names": "off",
+"no-spaced-func": "error",
+"no-sync": "off",
+"no-ternary": "off",
+"no-throw-literal": "off",
+"no-trailing-spaces": "off",
+"no-undef-init": "error",
+"no-undefined": "off",
+"no-underscore-dangle": "off",
+

[MediaWiki-commits] [Gerrit] Test: DO not merge - change (mediawiki/core)

2016-01-05 Thread Paladox (Code Review)
Paladox has uploaded a new change for review.

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

Change subject: Test: DO not merge
..

Test: DO not merge

Change-Id: Ibdabe72ced6d30df31da71a15c6c74fac223de0a
---
M package.json
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/84/262684/1

diff --git a/package.json b/package.json
index 84df938..f7efa42 100644
--- a/package.json
+++ b/package.json
@@ -19,6 +19,7 @@
 "karma-chrome-launcher": "0.2.0",
 "karma-firefox-launcher": "0.1.6",
 "karma-qunit": "0.1.5",
-"qunitjs": "1.18.0"
+"qunitjs": "1.18.0",
+"socket.io": "1.3.7"
   }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibdabe72ced6d30df31da71a15c6c74fac223de0a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Paladox 

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


[MediaWiki-commits] [Gerrit] Test: DO NOT MERGE - change (mediawiki/core)

2015-12-09 Thread Paladox (Code Review)
Paladox has uploaded a new change for review.

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

Change subject: Test: DO NOT MERGE
..

Test: DO NOT MERGE

Change-Id: I4b5527ec5cc793af528d3d3cf113ab84126cfa99
---
M package.json
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/32/258032/1

diff --git a/package.json b/package.json
index 209d325..d66c6da 100644
--- a/package.json
+++ b/package.json
@@ -12,7 +12,8 @@
 "grunt-contrib-copy": "0.8.1",
 "grunt-contrib-jshint": "0.11.3",
 "grunt-contrib-watch": "0.6.1",
-"grunt-jscs": "2.1.0",
+"grunt-jscs": "2.5.0",
+"jsdoctypeparser": "~2.0.0-alpha-5",
 "grunt-jsonlint": "1.0.5",
 "grunt-karma": "0.12.1",
 "karma": "0.13.10",

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4b5527ec5cc793af528d3d3cf113ab84126cfa99
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Paladox 

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


[MediaWiki-commits] [Gerrit] Test: DO NOT MERGE - change (mediawiki/core)

2015-12-09 Thread Paladox (Code Review)
Paladox has uploaded a new change for review.

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

Change subject: Test: DO NOT MERGE
..

Test: DO NOT MERGE

Change-Id: I2e2c87fdb3e815bff76935b9e81078553028cf0a
---
M package.json
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/24/258024/1

diff --git a/package.json b/package.json
index 209d325..08646d6 100644
--- a/package.json
+++ b/package.json
@@ -12,7 +12,7 @@
 "grunt-contrib-copy": "0.8.1",
 "grunt-contrib-jshint": "0.11.3",
 "grunt-contrib-watch": "0.6.1",
-"grunt-jscs": "2.1.0",
+"grunt-jscs": "2.5.0",
 "grunt-jsonlint": "1.0.5",
 "grunt-karma": "0.12.1",
 "karma": "0.13.10",

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2e2c87fdb3e815bff76935b9e81078553028cf0a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Paladox 

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


[MediaWiki-commits] [Gerrit] Test: DO NOT MERGE - change (mediawiki/core)

2015-12-02 Thread Paladox (Code Review)
Paladox has uploaded a new change for review.

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

Change subject: Test: DO NOT MERGE
..

Test: DO NOT MERGE

Change-Id: Iae92c31309f0ccb0d28d58342dd8dfc00391d574
---
M package.json
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/25/256425/1

diff --git a/package.json b/package.json
index 209d325..d59b0fc 100644
--- a/package.json
+++ b/package.json
@@ -12,7 +12,7 @@
 "grunt-contrib-copy": "0.8.1",
 "grunt-contrib-jshint": "0.11.3",
 "grunt-contrib-watch": "0.6.1",
-"grunt-jscs": "2.1.0",
+"grunt-jscs": "2.4.0",
 "grunt-jsonlint": "1.0.5",
 "grunt-karma": "0.12.1",
 "karma": "0.13.10",

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iae92c31309f0ccb0d28d58342dd8dfc00391d574
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Paladox 

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