question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How do you exclude JSHint and CSS Lint?

See original GitHub issue

I want to just use HTMLHint. Is there a configuration where I can exclude JSHint and CSS Lint?

Currently, I am using HTMLHint like this:

import HTMLHint from "htmlhint"

const errors = HTMLHint.verify(val, {
    "tag-pair": true,
    "doctype-first": false,
    "tag-self-close": true,
    "doctype-html5": false
})

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
thedaviddiascommented, May 13, 2020

@sanjade JSHint and CSSLint will be probably removed in one of the next releases.

0reactions
stale[bot]commented, Jul 31, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I stop csslint and jshint from linting my EJS in Atom?
You can ignore all .ejs files with a .jshintignore file (https://jshint.com/docs/cli/#ignoring-files). I've just added one myself to fix ...
Read more >
Command-line Interface - JSHint
jshint can be configured to ignore files based on their location in the filesystem. You may create a dedicated "ignore" file to list...
Read more >
jshint - Visual Studio Marketplace
In order to ignore specific files or folders from being linted exclude options can be specified in a number of locations mostly mimicing ......
Read more >
What is JavaScript linting and how can it improve your workflow?
A useful command is the combination of the – – extra-ext and – – exctact flags to lint all JavaScript inside .js and...
Read more >
csslint | Yarn - Package Manager
CSSLint. CSSLint is an open source CSS code quality tool originally written by Nicholas C. Zakas and Nicole Sullivan. It was released in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found