Commit graph

22 commits

Author SHA1 Message Date
Kunal Mehta f94fa6b851 Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: I3e7a12a224f4c1563a467eeff74ba0f118aa8f00
2018-03-02 15:35:31 -08:00
WMDE-Fisch 17ba6fe068 Update eslint and stylelint
Change-Id: I6c316a927427b7ab5f4f47ae5e35bddf5deac419
2018-01-20 19:18:48 +00:00
Ed Sanders 3ceff1f45b build: Update devDependencies
Change-Id: I61da01c4416a2f32b4cfa522153284c455c91e6a
2017-10-27 12:07:25 +01:00
Antoine Musso aa5d550e7f Define npm peer dependency explicitly
npm 3 requires dependencies to be explicitly defined.

Bug: T172094
Change-Id: Ic640ccf0f577e47036d473892522ea758014fab4
2017-07-31 13:35:02 +02:00
WMDE-Fisch cf5d602a53 Update eslint and fix issues
Change-Id: I0e3ad763398430608c30bb22741a57c81b2b7062
2017-07-14 12:28:45 +02:00
WMDE-Fisch 323984103e Update to banana 0.6.0
Change-Id: I633de137917cfb2e5e50f40a215e31aaf3579016
2017-05-31 16:11:46 +02:00
Ed Sanders c6465dee07 build: Update eslint to 0.4.0 and make pass
Change-Id: I6e3e2f30615996c57650127cde9738d3a6dd9ae5
2017-05-04 21:06:08 +00:00
Umherirrender 5202e7ef2b Use tabs in json
Change-Id: If29e145a10e39151a6febca23df2b298aa2b2b51
2017-03-25 10:56:02 +01:00
James D. Forrester 8f34233c69 build: Bump stylelint and make pass
grunt-stylelint              0.6.0  →   0.7.0
 stylelint-config-wikimedia   0.3.0  →   0.4.1

Change-Id: Id87b8df04d415e1f1058a4042a31408236402037
2017-02-17 16:22:57 -08:00
Leszek Manicki 4705c81e58 Pin eslint version
Same as core did in I1c76dacd0950100825b85a3791f74c1f6d5477d9

Change-Id: Id977f752afd9a5bf48f4f5e40c7116df816e0de4
2016-12-21 08:56:07 +01:00
James D. Forrester 3269f791f5 build: Bump eslint-config-wikimedia to v0.3.0 and make pass
Change-Id: I774e05c4393eca8b4719f335a124efcb3d2a6dd5
2016-11-15 16:48:38 -08:00
Ed Sanders 08aef9f5f4 Update linters and remove redundant ones
eslint covers jshint and jscs rules.

Change-Id: Ieff7a050021e504575a774c7c9ba987b23380294
2016-10-13 12:05:10 -07:00
Leszek Manicki 8e7fe2434d Add eslint, to be used instead of jscs and/or jshint
First I jumped on replacing both jscs and jshint with eslint but
it might be premature decision. Although linting with eslint
is possible (like in there is wikimedia config for eslint)
it is still not clear should it

But in case the change happens we will be ready.

Apart from config stuff this changes few bits spotted by eslint:
improves some indentation, removes weird spaces, completes some
doc blocks, changes IIFE forms in tests. These changes do not
seem controversial.

Change-Id: I9f8bf0f5745da8e662685f4cd879ea4baa609c01
2016-09-05 09:47:11 +02:00
Leszek Manicki 98150d9904 Add licence, home page URL and repository URL to package.json
Change-Id: I7dac5a5d5e62cb89c093f91c105bd0a5aa5115df
2016-09-01 14:28:55 +02:00
Leszek Manicki 9e4320cd31 Bump up the version in package.json
extension.json already states 1.0.0

Change-Id: I9265b96b932d3ebb88af201f724ee13aaab67e76
2016-08-11 09:31:05 +02:00
Ed Sanders 7b463c52eb Replace csslint with stylelint and make a pass
Change-Id: I7f3d1cd867399fa23b087daa89970ebe305c46d9
2016-06-30 21:21:28 +01:00
Ed Sanders 30ae1431c6 Bump linting packages and sort
Change-Id: I71166bf48b31144689a3bc01d465d34188e99f84
2016-06-30 21:10:38 +01:00
Brian Wolff 39d8d9229a Make files not executable
I know it doesn't matter, but it was kind of bothering me.

Change-Id: Iae9f8b17a3fb5ced362dc2da95e67e20db8af5a5
2016-06-02 13:48:09 +00:00
WMDE-Fisch f4fb473539 Add csslint for CSS codestyle checks
Rules taken from the Echo extension.

Change-Id: I72c89be42e7b09486780159f62f022399940a1b1
2016-05-19 13:10:57 +02:00
addshore 79cfbf8199 Update grunt npm packages
grunt 1.0.1 no longer also needs grunt-cli

Change-Id: I2b542884d265630b19408258a1f496e0338e85ec
2016-05-02 10:47:32 +01:00
addshore 5496370086 Add npm test script
Bug: T133282
Change-Id: I421c127077665614400efd0e62dfd1171d596b52
2016-05-02 10:42:57 +01:00
Jakob Warkotsch 23b5b2f112 Initial commit.
This turns the prototype code of the Revision Slider into a MediaWiki
extension.
With this extension enabled the slider should appear on diff pages
already but it won't actually show diffs when adjusting the slider
pointers.

Things that changed so far in the prototype JS code:
- pulled out the rainbow function and made it use Math.floor instead of
 the ~~ binary operator
- pulled out the API request that fetches the revisions into its own
 module
- cleaned up and documented some parts of the code

The code is still very much WIP and JSCS still has a couple of
complaints.

Bug: T132576
Change-Id: I2e22365f3b93a76d5b8d3997242b5fed996c6d78
2016-04-19 16:35:37 +02:00