Commit Graph

8 Commits (d9ba2d47d9cc5ae2d8338c997187f35b88e66c98)

Author SHA1 Message Date
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
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
Umherirrender 164c1032a9 Use json extension for .stylelintrc
Bug: T173516
Change-Id: I9af9be524ca103a626620ca6c6492e8f39ff8331
Timo Tijhof 67f3403d29 build: Switch from JSHint to ESLint
Change-Id: Ie090d1ba345b5e59c06c5aaa30cacfb14a41dc2d
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
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
Paladox 4b7fdbbdd3 Update Jenkins tests
Add support for running jshint in npm.

Add support for running tests through composer.json.

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