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

eslint-config-matrix-org

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-matrix-org

The js style ideals of the Matrix.org Foundation

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
86
decreased by-18.87%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-matrix-org

eslint-config-matrix-org is the ideal style adhered to by matrixorg projects.

It codifies https://github.com/matrix-org/matrix-react-sdk/blob/develop/code_style.md

This package contains five styles:

  • matrixorg: The style for js projects.
  • matrixorg/react: The style for react based projects. Intended to be used in conjunction with matrixorg or matrixorg/ts.
  • matrixorg/legacy: The style adhered to by established projects making use pre es6, namely matrix-js-sdk. It extends matrixorg. DEPRECATED - DO NOT USE
  • matrixorg/react-legacy: Styling for react projects using flowtype instead of ts. Intended to be phased out. It extends matrixorg/react. DEPRECATED - DO NOT USE
  • matrixorg/ts: The style for ts projects. It extends matrixorg.

Development

To test it out

In this repo run:

yarn link

In the target repo run:

yarn link eslint-config-matrix-org

And add any of the following to your eslint:

Standard js style

{
    extends: [
        "matrix-org",
    ]
}

Standard ts style

{
    extends: [
        "matrix-org/ts",
    ]
}

Standard js with react

{
    extends: [
        "matrix-org",
        "matrix-org/react",
    ]
}

Standard ts with react

{
    extends: [
        "matrix-org/ts",
        "matrix-org/react",
    ]
}

Keywords

FAQs

Package last updated on 20 Jan 2021

Did you know?

Socket

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.

Install

Related posts

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