
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
@formidable-webview/eslint-config-webjs
Advanced tools
An eslint configuration to validate scripts injected in WebViews.
An eslint configuration to validate scripts injected in WebViews. Thanks to the awesome eslint-plugin-compat, this config basically makes sure your script can be executed in Android WebView ≥ 4.1 and iOS Safari WebView ≥ 7.0. It checks both syntax (ECMAScript 5) and the DOM API. This config is notably meant to be used with @formidable-webview/webshell to implement features.
npm install estlint-plugin-compat @formidable-webview/eslint-config-webjs
After install, edit your eslint.js
and use the overrides
attribute to set a special
config for files ending in .webjs
or whichever arbitrary extension you chose
for your DOM scripts.
module.exports = {
root: true,
overrides: [
{
files: ["*.webjs"],
extends: "@formidable-webview/eslint-config-webjs",
},
],
};
You can override the WebView versions checked by explicitly setting the
compat/compat
rule.
FAQs
An eslint configuration to validate scripts injected in WebViews.
We found that @formidable-webview/eslint-config-webjs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.