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.3.0 to 0.4.0

lib/rules/require-download-url.js

2

lib/index.js

@@ -36,3 +36,3 @@ 'use strict';

'userscripts/use-homepage-and-url': 'error',
'userscripts/use-download-and-update-url': 'error',
'userscripts/require-download-url': 'error',
'userscripts/align-attributes': ['error', 2],

@@ -39,0 +39,0 @@ 'userscripts/metadata-spacing': ['error', 'always'],

@@ -27,5 +27,3 @@ const parse = require('./parse');

* indexMatch: number | number[];
* metadata:
* | Object<string, Metadata | Metadata[]>
* | Object<string, Metadata | Metadata[]>[];
* metadata: Object<string, Metadata | Metadata[]>;
* context: RuleContext;

@@ -32,0 +30,0 @@ * keyName: string | string[];

{
"name": "eslint-plugin-userscripts",
"version": "0.3.0",
"version": "0.4.0",
"description": "Implements rules for userscripts metadata in eslint",

@@ -31,3 +31,3 @@ "keywords": [

"husky": "^8.0.3",
"markdownlint-cli": "^0.34.0",
"markdownlint-cli": "^0.35.0",
"mocha": "^10.2.0",

@@ -34,0 +34,0 @@ "nyc": "^15.1.0",

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

| [`use-homepage-and-url`](docs/rules/use-homepage-and-url.md) | Ensures that for each `homepage` attribute, `homepageURL` is also used | ✅ |
| [`use-download-and-update-url`](docs/rules/use-download-and-update-url.md) | Ensures that for each `downloadURL` there is a `updateURL` | ✅ |
| [`require-download-url`](docs/rules/require-download-url.md) | Ensures that for each `downloadURL` there is a `updateURL` | ✅ |
| [`align-attributes`](docs/rules/align-attributes.md) | Ensures that attributes are spaced out and aligned | ✅ |

@@ -45,0 +45,0 @@ | [`require-attribute-space-prefix`](docs/rules/require-attribute-space-prefix.md) | Ensure that attributes are prefixed by one space | ✅ |

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