Command-line tool for quickly and succinctly measuring the quality of your code, specifically HTML, CSS, and JavaScript.
Coality relies on Coala and HTML Tidy.
Install Coala:
brew install python3
sudo -H pip3 install coala-bears
Install HTML Tidy:
brew install tidy-html5
Install Coality:
npm install --save-dev coality
Add a coality script to your package.json
{
...
"scripts": {
"coality": "coality"
}
...
}
Then run:
npm run coality