
Security News
Socket Integrates With Bun 1.3’s Security Scanner API
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
@hint/connector-local
Advanced tools
@hint/connector-local
)A local connector to analyze the local files in your project
with webhint
.
This package is installed automatically when adding webhint to your project so running the following is enough:
npm install hint --save-dev
To use it, activate it via the .hintrc
configuration file:
{
"connector": {
"name": "local"
},
...
}
local
allows you to configure the following:
pattern
: Add or ignore files defined in the pattern. By default the
local
connector will use the following pattern ['**', '!.git/**']
. This
doesn't apply if you are targeting just a file or if you are using the
options content
.watch
: Run webhint
in watch mode. Watch files and trigger the analysis
on changes.{
"connector": {
"name": "local",
"options": {
"pattern": ["**", "!.git/**"],
"watch": false
}
},
...
}
In addition, the local
connector accept a new parameter in the
method collect
that allow you to pass the content to analyze as an string.
To use that property, you need to call to the executeOn
method in
the engine with the content to analyze.
engine.executeOn(url, {content: '{{your content}}'});
FAQs
hint local connector
We found that @hint/connector-local demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Security News
Python 3.14 adds template strings, deferred annotations, and subinterpreters, plus free-threaded mode, an experimental JIT, and Sigstore verification.
Security News
Former RubyGems maintainers have launched The Gem Cooperative, a new community-run project aimed at rebuilding open governance in the Ruby ecosystem.