Commit Graph

6 Commits (30ddb35f06c247dbb9a969b7aded537a838f9088)

Author SHA1 Message Date
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