Commit graph

23 commits

Author SHA1 Message Date
libraryupgrader 309b1408cb build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 31.0.0 → 38.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.Commenting.FunctionComment.MissingParamTag
  * MediaWiki.Commenting.FunctionComment.ObjectTypeHintParam
  * MediaWiki.Commenting.FunctionComment.ObjectTypeHintReturn
  * MediaWiki.Commenting.FunctionComment.ParamNameNoMatch
  * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
  * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected
  * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic
  * MediaWiki.Commenting.PropertyDocumentation.NotShortBoolVar
  * MediaWiki.Commenting.PropertyDocumentation.NotShortIntVar
  * MediaWiki.Commenting.PropertyDocumentation.WrongStyle
  * MediaWiki.Usage.StaticClosure.StaticClosure
  * PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon
  * PSR2.Classes.PropertyDeclaration.Multiple

npm:
* ajv: 6.10.2 → 6.12.6
  * https://github.com/advisories/GHSA-v88g-cgmw-v5xw
* ansi-regex: 5.0.0 → 5.0.1
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
* async: 3.2.0 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
* nanoid: 3.1.23 → 3.3.2
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2

Additional changes:
* Set `name` in package.json.
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I816da6b8a36655ee7c44af56eff55bb84622c0a7
2022-04-15 22:25:30 +00:00
libraryupgrader 8119592874 build: Updating npm dependencies
* grunt: 1.1.0 → 1.4.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 2.8.5 → 2.8.9
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)
* @stylelint/postcss-markdown: 0.36.1 → 0.36.2
  * https://npmjs.com/advisories/1700 (CVE-2020-7753)

Change-Id: Ic0485e04de57935e09078d226cbbd74967ed4a17
2021-05-13 08:20:58 +00:00
libraryupgrader 9facd741cc build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1

Change-Id: I684372efb0248862700184546a5172bfd6d81ae0
2020-04-22 19:07:11 +00:00
libraryupgrader fde7fd4bff build: Updating grunt-banana-checker to 0.9.0
Change-Id: Ic053fa24eaefe8ed645ccd8d935a8d3cd659591a
2020-04-19 17:37:21 +00:00
libraryupgrader 8eccfd4f23 build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I3f6698a5b821e419d30bd0353d34ade06e790efe
2020-03-19 09:09:21 +00:00
libraryupgrader efed60da4a build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: Ida900b44535a67d91a33fb8d51903ae051e50317
2020-02-21 02:08:42 +00:00
libraryupgrader c874103030 build: Updating npm dependencies
* grunt-stylelint: 0.10.1 → 0.13.0
* stylelint-config-wikimedia: 0.4.3 → 0.8.0

Additional changes:
* Remove direct "stylelint" dependency in favor of "grunt-stylelint".
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: Ic087c1d4a6f6d7ec48da8c498a9b9d81063ce0e4
2020-01-10 10:48:47 +00:00
libraryupgrader 631a0f40fc build: Updating npm dependencies
* eslint-config-wikimedia: 0.12.0 → 0.15.0
  The following rules are failing and were disabled:
  * brace-style
  * camelcase
  * eqeqeq
  * max-len
  * max-statements-per-line
  * new-cap
  * no-constant-condition
  * no-dupe-keys
  * no-empty
  * no-implicit-globals
  * no-mixed-spaces-and-tabs
  * no-redeclare
  * no-tabs
  * no-undef
  * no-underscore-dangle
  * no-unused-vars
  * no-use-before-define
  * no-useless-concat
  * one-var
  * valid-jsdoc
  * vars-on-top

* grunt-eslint: 21.0.0 → 22.0.0

Additional changes:
* Added .eslintcache to .gitignore.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I95ee6d80f0dbd109636114d6eff4408f10943263
2020-01-08 07:46:47 +00:00
libraryupgrader b5e2a4deb8 build: Updating dependencies
composer:
* mediawiki/minus-x: 0.3.1 → 0.3.2

npm:
* grunt-banana-checker: 0.6.0 → 0.8.1

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I9337ad916e96d48ef3ed6e4c7c901ed323193ae5
2019-12-18 05:33:18 +00:00
James D. Forrester 14c09ad705 build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: I7e0ea80e93f813e62a73e6672b3210c81aeaa18a
2019-05-07 10:40:41 -07:00
James D. Forrester d7f4812022 build: Update eslint-config-wikimedia from 0.8.1 to 0.11.0
Change-Id: Ifdda75899ef679bfd819ff044d5c23a7578637f7
2019-04-12 13:00:29 -07:00
Ed Sanders 9619727f3c build: Update devDependencies
eslint-config-wikimedia      0.5.0  →   0.8.1
 grunt-eslint                20.1.0  →  21.0.0
 grunt-stylelint              0.9.0  →  0.10.1
 stylelint                    8.2.0  →   9.2.0
 stylelint-config-wikimedia   0.4.2  →   0.4.3

Change-Id: I4c39a42f84303ee0d5d66032bf4cacd9e90821e9
2018-11-05 19:31:08 +00:00
libraryupgrader 62f52b53d1 build: Updating npm dependencies for security issues
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: I6a270abbcb13ff4bdc46c6b92c9cb6a0c7811154
2018-10-11 10:43:59 +00:00
Ed Sanders f03a32f6f8 build: Update linters
Change-Id: Iec64688e03c6efe81e3f5e4e5809290a1789bcd0
2018-02-04 22:10:26 +00:00
Antoine Musso dfedab78bb Define npm peer dependency explicitly
npm 3 requires dependencies to be explicitly defined.

Bug: T172094
Change-Id: Ic640ccf0f577e47036d473892522ea758014fab4
2017-07-31 13:35:25 +02:00
Ed Sanders 9399ba002e build: Replace jscs/jshint with eslint
Change-Id: I35b5f6b1ea2e45c8f361e3253d81da9ea55d9259
2017-05-12 16:24:59 +00:00
Umherirrender 8b73a9e2a9 Add stylelint for css files
Fixed the following rules:
selector-list-comma-newline-after
declaration-property-value-blacklist
number-leading-zero
color-named

Change-Id: Id864b54eaf7d8b88e4327703bb366640769632f1
2017-04-18 00:48:31 +02:00
Paladox 663b2f9c3b Add jshint to npm
Change-Id: I87bf6347e80395b10ee496f0786d55e759a4fef3
2016-02-19 15:33:18 +00:00
Paladox b423ed3eba Update grunt-jscs to 2.7.0
Change-Id: I76b632bb08b5f899b753464e6d9a46c595ce9603
2016-02-11 22:31:33 +00:00
Ricordisamoa f378c13472 build: Enable and configure jscs, fix some errors
Change-Id: I17115bfe09b91e6fcf84b329a12deab6c708086b
2016-01-03 05:07:04 +01:00
Kunal Mehta f446449faf build: Updating development dependencies
* grunt-jsonlint: 1.0.4 → 1.0.7

Change-Id: I634532264a4f00f3cc5c8c5237b75685ad152f5f
2015-12-29 11:53:15 -08:00
Kunal Mehta e084a3c31d build: Updating development dependencies
* grunt-banana-checker: 0.2.2 → 0.4.0

Change-Id: I50c4895e210b930f69c28fdeb65423b5a89e5d55
2015-10-11 11:58:37 -04:00
Kunal Mehta 956170560d build: Configure banana-checker and jsonlint
Change-Id: I9c3597e4fea669ff7ec5086dfc6a61d797fa48fe
2015-06-19 22:17:55 -07:00