Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29360004: No issue - Created htmlhintrc (Closed)

Created:
Oct. 27, 2016, 12:50 p.m. by juliandoucette
Modified:
Jan. 30, 2017, 11:28 a.m.
CC:
Felix Dahlke, ppastour, martin
Visibility:
Public.

Description

I chose htmlhint because there is a linter-* plugin in Atoms plugin repository (I recommended Atom to @Lisa for writing HTML and Markdown). ## Usage ### CLI - `npm i htmlhint -g` - `htmlhint --config /path/to/config /path/to/file.html ### Atom - Install linter-htmlhint - Link `codingtools/htmlhintrc.json` to `$HOME/htmlhintrc`

Patch Set 1 #

Patch Set 2 : Removed doctype and title rules #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
A htmlhintrc.json View 1 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 4
juliandoucette
Oct. 27, 2016, 12:50 p.m. (2016-10-27 12:50:28 UTC) #1
juliandoucette
Removed doctype first and title in head rules because they are not necessary in HTML ...
Oct. 27, 2016, 1:04 p.m. (2016-10-27 13:04:35 UTC) #2
juliandoucette
Updated description.
Oct. 27, 2016, 1:11 p.m. (2016-10-27 13:11:07 UTC) #3
juliandoucette
Jan. 30, 2017, 11:28 a.m. (2017-01-30 11:28:10 UTC) #4
Message was sent while issue was closed.
I closed this review because:

- I didn't find htmlhint very useful after all
  - because it doesn't have many rules
  - because it doesn't validate html (like W3C validate)
  - because modern editors/IDEs seem to find errors more effectively
- There doesn't seem to be enough interest in having this linter config in
codingtools

Powered by Google App Engine
This is Rietveld