Commit graph

71 commits

Author SHA1 Message Date
Ed Sanders fdde5b71af Update eslint-config-wikimedia to 0.9.0
Change-Id: I7883af1f56c7f2f3eeff1f7a51b640a303bcab78
2018-11-27 22:23:57 +00:00
Andrew Kostka 626d9d4188 Add first browser test
This adds a test which checks if the extension appears on the
Special:Version page.

This is an initial step for adding more browser tests to check
changes done in I26fe41c328157233cc5b06d38d2ba0f7b036a853

Change-Id: I9a9d1cd2a25277f2c430f4e80b51b72c1621f91b
2018-11-19 16:08:42 +00:00
Ed Sanders 0d866f13c7 build: Update linters
Change-Id: Ia558b35eab54b33e2faac1ae3324a17da18fcb49
2018-09-11 23:54:19 +01:00
Volker E e3007e9484 build: Bring SVGO optimization to build step
Enabling SVGO automation with 'grunt-svgmin' and conservative
plugin settings to build step, among those:
- enable removeRasterImages and sortAttrs,
- disable cleanupIDs, removeDesc, removeTitle, removeViewBox &
  removeXMLProcInst and
- make use of pretty and multipass options.

Also updating SVGs accordingly.

Bug: T185596
Change-Id: Iec947431b3549e9f1fa1eaba58340aef96c0647b
2018-02-12 10:05:27 -08:00
Ed Sanders 2992edc996 build: Update linters
Change-Id: I473dec2bb64ce2242eaf7bbb4cc42ac767716ae0
2018-02-04 21:22:04 +00:00
Ed Sanders 302ba7e111 build: Upgrade grunt-eslint from 19.0.0 to 20.0.0, and stylelint
Change-Id: I79a64db9ac8b41dd66e72ee0309851c966b8295f
2017-07-18 13:03:56 +01:00
Ed Sanders 1dcdeae9f6 build: Update eslint to 0.4.0 and make pass
Change-Id: I9f4508345ca6dadf617e8ed0e1dd11d28fa01c79
2017-05-04 21:09:05 +00:00
James D. Forrester 003cc38e6c build: Bump devDependencies to latest
grunt-banana-checker  0.5.0  →  0.6.0
 grunt-stylelint       0.6.0  →  0.7.0

Change-Id: Ia22ef6b12209d17d4faf6f168049aec2afdba4f7
2017-04-10 08:57:27 -07:00
Ed Sanders b58db89aac build: Update stylelint to 0.4.1
Change-Id: Ia7d685d9e10468d2303c68dc88fee8811251ffcb
2017-03-20 14:37:33 +00:00
James D. Forrester 81c99c650c build: Bump eslint-config-wikimedia to v0.3.0 (already passes)
Change-Id: Icc31cf9bf804765c38a1f44e310c9d8dc43f5be1
2016-11-15 16:30:36 -08:00
Ed Sanders a42c656c53 build: Replace jscs+jshint with eslint
Change-Id: Ibcfab289a6dd4dcac853aa2e5338516994067cd5
2016-11-02 12:50:48 +00:00
James D. Forrester ae33fe1431 build: Fix stylelint devDependencies
Change-Id: Ifb7ff9681ad0d9037a0f3b2f6460316e08080a4e
2016-08-05 10:48:16 -07:00
Ed Sanders c7b336f329 Bump package versions
Remove grunt-cli as this is now included by grunt.

Change-Id: I7031c27f22c2c6d98aa2c263425ca48bc1e80683
2016-05-24 14:19:17 +01:00
Ed Sanders 50b57f017a Update stylelint config version and make a pass
Change-Id: Ice5bcec27ae98dcbcb246ae166ed8f04e07dc099
2016-05-24 13:48:46 +01:00
Ed Sanders bac8dd6be7 Add stylelint and make required style fixes
Change-Id: I8a9def8056a72c3da0c066413e94311a1d839f5b
2016-05-17 18:21:30 +01:00
Kunal Mehta 24382d883d build: Updating development dependencies
* grunt-jsonlint: 1.0.6 → 1.0.7

Change-Id: Iaa61655d6b6904c022c4de854da24460f4fdc951
2015-12-29 11:15:53 -08:00
Paladox 6564ed9fb7 Update packages
Update grunt-banana-checker to 0.4.0

Update grunt-jsonlint to 1.0.6

Update grunt-jscs to 2.5.0

Also support looking into sub folders for jshint and jscs.

Also fix some js code so

Replace

} ) ( mw, jQuery );

with

}( mediaWiki, jQuery ) );

Also remove a blank message that should not be there in gu.json

Also remove two blank messages in tl.json.

Change-Id: Ib8390de6fd6adfc4a9ad22c48c7872aac332d4ae
2015-12-19 09:52:30 +00:00
James D. Forrester 549e95ee5f build: Test JS code with jshint and jscs via npm
Change-Id: I4d20af87b900d10c20f1a2c3fff09dc3425d2e55
2015-11-18 16:54:55 -08:00
Kunal Mehta eee3d0cfc6 build: Adding configuration for jsonlint
Change-Id: I03b00e0aaa63fb49d68e0c5ee1b0613c2bb83f6c
2015-06-11 21:30:08 -07:00
Kunal Mehta 15f554ea9f build: Updating development dependencies
* grunt-banana-checker: 0.2.1 → 0.2.2

Change-Id: I4285cf28f77591818950dce884fba83d282eee3a
2015-06-05 17:16:40 -07:00
Kunal Mehta dc91fefb94 test: Configuring banana-checker for i18n messages
Change-Id: I4e136299c2df7974693fb7ac0e64f81d3de2ea0d
2015-04-20 20:27:10 -07:00