12 Commits (783037d0e74377a5eb341a9ede52faf4d48655ed)

Author SHA1 Message Date
Volker E b5fffd977d build: Update SVGO to latest v2.3.0 and re-crush SVGs
SVGO v2.x changed configuration to JS, amending configuration.
Adding new 'minify-svg' npm script.
Also re-crushing SVGs.

Bug: T278656
Change-Id: I63ed0974eab40c4d6cd5198f780bfd3466357a0d
4 years ago
Ed Sanders 9dba0e0329 build: Update eslint-config-wikimedia to 0.16.2
Change-Id: Ieaa2864ee76cef15941c6843d15cfd7e77fbc817
5 years ago
libraryupgrader 387b1af885 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
Additional changes:
* Also sorted "composer fix" command to run phpcbf last.
* Enable eslint caching.

Change-Id: Ic0705bd299e8ecc4898ad28baeee44ee32c41176
5 years ago
RetroCraft e781898f1d Remove jsonlint, upgrade eslint-config-wikimedia
Bug: T220036
Change-Id: I0bcf085292921eda7fadec05eb4ebcef0ff99081
5 years ago
Volker E 94e7fe7f7f build: Add Grunt 'svgmin' task and crush SVGs
Adding 'grunt-svgmin' package and corresponding 'svgmin' task and
also crush SVGs. Additionally remove unnecessary attributes like
`version` & `id`s and Inkscape specific styles according to SVG
coding conventions.
Total savings about 75kB.

Change-Id: Id3a6e73d648693f21633fac123db0f26e6502a03
6 years ago
Umherirrender e22eef0047 Move information from .eslintignore into Gruntfile.js
Use grunt also to filter for .js file extension instead of providing all
files to eslint and filter there

Bug: T179195
Change-Id: I3cda3ab51ae246de48e63d8ef9f4080669c93068
7 years ago
Umherirrender 164c1032a9 Use json extension for .stylelintrc
Bug: T173516
Change-Id: I9af9be524ca103a626620ca6c6492e8f39ff8331
8 years ago
Timo Tijhof 67f3403d29 build: Switch from JSHint to ESLint
Change-Id: Ie090d1ba345b5e59c06c5aaa30cacfb14a41dc2d
8 years ago
Antoine Musso a3fac7d4ba build: stylelint now ignores /vendor/
When using composer install at the root of the skin, stylelint attempts
to lint all the PHP packages and report errors.  Ignore the directory
entirely like we do for jshint or jsonlint.

Change-Id: I327ae63024f5c53be628297a438187ff91dfa962
8 years ago
Umherirrender 77ff62c02c Add stylelint for css and less files
Fixed the following rules:
- number-leading-zero
- length-zero-no-unit
- string-quotes
- max-empty-lines
- selector-pseudo-element-colon-notation
- at-rule-empty-line-before
- at-rule-name-space-after
- media-feature-parentheses-space-inside
- color-hex-case
- declaration-block-semicolon-space-bef
- declaration-property-value-blacklist

Change-Id: Id0b43bff22b3f9ae9b912bd886e2da4c8576b165
8 years ago
Paladox 4b7fdbbdd3 Update Jenkins tests
Add support for running jshint in npm.

Add support for running tests through composer.json.

Change-Id: I97ab0afa8edaba06821651b595a470b0771d354d
9 years ago
Isarra 3a1bc368de Initial skin from skin:Example; just renamed
Change-Id: Ic60e93eff08abe541635e135faf04e60a756f44c
9 years ago