New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-userscripts

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-userscripts - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

20

lib/index.js

@@ -5,3 +5,21 @@ 'use strict';

module.exports.rules = requireIndex(__dirname + '/rules');
module.exports.rules = Object.fromEntries(
Object.entries(requireIndex(__dirname + '/rules')).map(
([ruleName, ruleMeta]) => {
return [
ruleName,
{
...ruleMeta,
meta: {
...ruleMeta.meta,
docs: {
...ruleMeta.meta.docs,
url: `https://yash-singh1.github.io/eslint-plugin-userscripts/#/rules/${ruleName}`
}
}
}
];
}
)
);

@@ -8,0 +26,0 @@ module.exports.configs = {

2

package.json
{
"name": "eslint-plugin-userscripts",
"version": "0.2.5",
"version": "0.2.6",
"description": "Implements rules for userscripts metadata in eslint",

@@ -5,0 +5,0 @@ "keywords": [

@@ -11,3 +11,3 @@ # `eslint-plugin-userscripts`

```sh
```shell
npm install eslint --save-dev

@@ -18,3 +18,3 @@ ```

```sh
```shell
npm install eslint-plugin-userscripts --save-dev

@@ -21,0 +21,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc