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

eslint-plugin-matrix-org

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-matrix-org - npm Package Compare versions

Comparing version 0.4.0 to 0.5.2

rules/copyright.js

3

index.js
module.exports = {
rules: {
"require-copyright-header": require("./rules/copyright")
},
configs: {

@@ -3,0 +6,0 @@ "babel": require("./babel"),

7

package.json
{
"name": "eslint-plugin-matrix-org",
"version": "0.4.0",
"version": "0.5.2",
"description": "ESLint rules and configs used by Matrix.org projects",

@@ -18,6 +18,3 @@ "keywords": [

},
"dependencies": {},
"peerDependencies": {
"eslint-plugin-jsx-a11y": "^6.5.1"
}
"dependencies": {}
}

@@ -118,2 +118,18 @@ # eslint-plugin-matrix-org

To require a copyright header:
```js
{
plugins: [
"matrix-org",
],
rules: [
"matrix-org/require-copyright-header": "error",
// provide a header template as a string to insert on --fix
// the current year can be inserted into the template with the placeholder `%%CURRENT_YEAR%%`
"matrix-org/require-copyright-header": ["error", HEADER_TEMPLATE]
]
}
```
This package does not hold any dependencies itself, as it causes conflicts the

@@ -120,0 +136,0 @@ versions of the same dependencies downstream and also would imply installing the

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