All Projects → htmlhint → Htmlhint

htmlhint / Htmlhint

Licence: mit
⚙️ The static code analysis tool you need for your HTML

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
HTML
75241 projects

Projects that are alternatives of or similar to Htmlhint

jdepend
A Java package dependency analyzer that generates design quality metrics.
Stars: ✭ 13 (-99.52%)
Mutual labels:  code-analysis, code-quality
Detekt
Static code analysis for Kotlin
Stars: ✭ 4,169 (+53.1%)
Mutual labels:  analysis, code-quality
static-code-analysis-plugin
A plugin to simplify Static Code Analysis on Gradle. Not restricted to, but specially useful, in Android projects, by making sure all analysis can access the SDK classes.
Stars: ✭ 36 (-98.68%)
Mutual labels:  code-analysis, code-quality
swap-detector
A library for detecting swapped arguments in function calls, and a Clang Static Analyzer plugin used to demonstrate the library.
Stars: ✭ 19 (-99.3%)
Mutual labels:  analysis, code-analysis
App Githooks
Plugin-based system to run specific actions and checks when git hooks are triggered.
Stars: ✭ 5 (-99.82%)
Mutual labels:  code-quality, code-analysis
jacoco-report
Github action that publishes the JaCoCo report as a comment in the Pull Request
Stars: ✭ 31 (-98.86%)
Mutual labels:  analysis, code-quality
Pmd
An extensible multilanguage static code analyzer.
Stars: ✭ 3,667 (+34.67%)
Mutual labels:  code-quality, code-analysis
lints
Lint all your JavaScript, CSS, HTML, Markdown and Dockerfiles with a single command
Stars: ✭ 14 (-99.49%)
Mutual labels:  analysis, htmlhint
Pdepend
PHP_Depend is an adaptation of the established Java development tool JDepend. This tool shows you the quality of your design in terms of extensibility, reusability and maintainability.
Stars: ✭ 727 (-73.3%)
Mutual labels:  code-quality, code-analysis
Phpdependencyanalysis
Static code analysis to find violations in a dependency graph
Stars: ✭ 505 (-81.45%)
Mutual labels:  code-quality, code-analysis
code-assert
Assert that the java code of a project satisfies certain checks.
Stars: ✭ 94 (-96.55%)
Mutual labels:  code-analysis, code-quality
Pscodehealth
PowerShell module gathering PowerShell code quality and maintainability metrics
Stars: ✭ 104 (-96.18%)
Mutual labels:  code-quality, code-analysis
Wotan
Pluggable TypeScript and JavaScript linter
Stars: ✭ 271 (-90.05%)
Mutual labels:  code-quality, code-analysis
Sonar Kotlin
SonarQube plugin for Kotlin
Stars: ✭ 412 (-84.87%)
Mutual labels:  code-quality, code-analysis
Static Analysis
⚙️ A curated list of static analysis (SAST) tools for all programming languages, config files, build tools, and more.
Stars: ✭ 9,310 (+241.9%)
Mutual labels:  code-quality, analysis
Detekt Intellij Plugin
detekt plugin for IntelliJ
Stars: ✭ 150 (-94.49%)
Mutual labels:  code-quality, code-analysis
Forbidden Apis
Policeman's Forbidden API Checker
Stars: ✭ 216 (-92.07%)
Mutual labels:  code-analysis
Larastan
⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
Stars: ✭ 3,554 (+30.52%)
Mutual labels:  code-analysis
Awkward 0.x
Manipulate arrays of complex data structures as easily as Numpy.
Stars: ✭ 216 (-92.07%)
Mutual labels:  analysis
Roslyn Security Guard
Roslyn analyzers that aim to help security audit on .NET applications.
Stars: ✭ 214 (-92.14%)
Mutual labels:  code-analysis


Logo HTMLHint
HTMLHint

The static code analysis tool you need for your HTML.

Travis Build Status Codecov NPM count MIT License Chat

  How To UseContributingWebsite

Table of Contents

📟 Installation and Usage

Prerequisites: Node.js (>=6.14), npm version 3+.

There are two ways to install HTMLHint: globally and locally.

Local Installation and Usage

In case you want to include HTMLHint as part of your project, you can install it locally using NPM:

$ npm install htmlhint --save-dev

After that, You can run HTMLHint on any file or directory like this:

$ ./node_modules/.bin/htmlhint www/index.html
$ ./node_modules/.bin/htmlhint www/**/*.html

Global Installation and Usage

If you want to make HTMLHint available to tools that run across all of your projects, you can install HTMLHint globally using NPM:

$ npm install htmlhint -g

After that, you can run HTMLHint on any file like this:

$ htmlhint www/index.html
$ htmlhint www/**/*.html

You can even launch HTMLHint to analyse an URL:

$ htmlhint https://htmlhint.com/

📃 Example output

🔧 Configuration

Search .htmlhintrc file in current directory and all parent directories:

$ htmlhint
$ htmlhint test.html

Custom config file:

$ htmlhint --config htmlhint.conf test.html

Custom rules:

$ htmlhint --rules tag-pair,id-class-value=underline index.html

Inline rules in test.html:

<!--htmlhint tag-pair,id-class-value:underline -->
<html>
<head>
...

📙 Docs

  1. How to use
  2. All Rules
  3. How to Develop

© License

MIT License

💪🏻 Contributors

This project exists thanks to all these people. Contribute.

🏅 Backers

Thank you to all our backers! Become a backer.

🎖 Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. Become a sponsor.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].