Commit graph

12 commits

Author SHA1 Message Date
Umherirrender cc9cdab7e6 build: Run stylelint for less file
less is used since 527c461110

Change-Id: I982471e66eb40d797c529d17a2b8441996757f87
2024-10-05 00:07:44 +02:00
Dringsim a978a00d00
Use ES6 features, replace jQuery bind() with on()
Bug: T334853
Change-Id: I33ce4c07613a53ef394b4addee0e2b1b6c58455c
2024-04-20 03:18:34 +08:00
libraryupgrader a93a84aed0 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

Additional changes:
* Removing manual extensions for eslint.

Change-Id: I0708a8d34353bf9e71290dc0c7ace8bef5dc9664
2021-01-30 10:41:13 +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
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
Ed Sanders 91981b59f9 build: Re-use MessageDirs in banana conf
Change-Id: I9c8097ff5fb6f5495b3157b33df4a9a536e02a75
2018-11-05 19:31:09 +00:00
Umherirrender 84b9870e88 Use json extension for .stylelintrc
Bug: T173516
Change-Id: I4b5293769f5cce7ebd86218d9629a272695bbbbb
2017-08-19 10:27:54 +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
Ricordisamoa f378c13472 build: Enable and configure jscs, fix some errors
Change-Id: I17115bfe09b91e6fcf84b329a12deab6c708086b
2016-01-03 05:07:04 +01:00
Kunal Mehta 956170560d build: Configure banana-checker and jsonlint
Change-Id: I9c3597e4fea669ff7ec5086dfc6a61d797fa48fe
2015-06-19 22:17:55 -07:00