Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
@salesforce/eslint-plugin-visualforce
Advanced tools
An ESLint plugin to extract and lint scripts from VisualForce pages
This ESLint
plugin extracts and lints scripts from VisualForce pages.
It supports VisualForce Expression Language merge fields within the JS syntax.
This plugin is a heavily modified fork of eslint-plugin-html
developed by Benoît Zugmeyer under ISC license.
This plugin is issued under the BSD-3-Clause license.
Simply install via yard add --dev @salesforce/eslint-plugin-visualforce
and add the plugin to your ESLint
configuration. See
ESLint documentation.
Example:
{
"plugins": [
"@salesforce/eslint-plugin-visualforce"
],
"rules": {
"visualforce/vf-no-atom-expr": "error",
"visualforce/vf-no-apex-tags": "error"
}
}
Note: by default, when executing the eslint
command on a directory, only .js
files will be
linted. You will have to specify extra extensions with the --ext
option. Example: eslint --ext .page pages
will lint .page
files in the pages
directory. See ESLint
documentation.
TODO
FAQs
An ESLint plugin to extract and lint scripts from VisualForce pages
The npm package @salesforce/eslint-plugin-visualforce receives a total of 2 weekly downloads. As such, @salesforce/eslint-plugin-visualforce popularity was classified as not popular.
We found that @salesforce/eslint-plugin-visualforce 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
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.