
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
@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.
The npm package @formidable-webview/eslint-config-webjs receives a total of 54 weekly downloads. As such, @formidable-webview/eslint-config-webjs popularity was classified as not popular.
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 MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.