Skip to content

neilime/php-css-lint

Repository files navigation

Continuous integration codecov Latest Stable Version Total Downloads License Sponsor

📢 Php CSS Lint is a php script that lint css files and strings:

=========================================================== ____ _ ____ ____ ____ _ _ _ | _ \| |__ _ __ / ___/ ___/ ___| | | (_)_ __ | |_ | |_) | '_ \| '_ \ | | \___ \___ \ | | | | '_ \| __| | __/| | | | |_) | | |___ ___) |__) | | |___| | | | | |_ |_| |_| |_| .__/ \____|____/____/ |_____|_|_| |_|\__| |_| =========================================================== # Lint file "/path/to/css/file.css"... => File "/path/to/css/file.css" is not valid : - Unknown CSS property "bordr-top-style" (line: 8, char: 20) - Unexpected char ":" (line: 15, char: 5) 

Helping Project

❤️ If this project helps you reduce time to develop and/or you want to help the maintainer of this project. You can sponsor him. Thank you !

Contributing

👍 If you wish to contribute to this project, please read the CONTRIBUTING.md file. Note: If you want to contribute don't hesitate, I'll review any PR.

Documentation

  1. Installation
  2. Usage
  3. Code Coverage
  4. PHP Doc

Development

Setup

docker build -t php-css-lint . docker run --rm -it -v $(pwd):/app php-css-lint composer install

Running tests

docker run --rm -it -v $(pwd):/app php-css-lint composer test

Fix code linting

docker run --rm -it -v $(pwd):/app php-css-lint composer cbf

Running CI scripts

docker run --rm -it -v $(pwd):/app php-css-lint composer ci

Sponsor this project

 

Packages

No packages published

Contributors 9

Languages