Socket
Socket
Sign inDemoInstall

eslint-mdx

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-mdx - npm Package Compare versions

Comparing version 0.11.1 to 0.11.2-beta.0

4

package.json
{
"name": "eslint-mdx",
"version": "0.11.1",
"version": "0.11.2-beta.0+9b89890",
"description": "ESLint Parser for MDX",

@@ -27,3 +27,3 @@ "repository": "git@github.com:rx-ts/eslint-mdx.git",

},
"gitHead": "beadaf173e5165cdd4fe9460dfb048a2489b0414"
"gitHead": "9b89890ee71689a27b4e2a127de873a16a10d707"
}

@@ -15,3 +15,3 @@ <p align="center">

[![Codecov](https://img.shields.io/codecov/c/gh/rx-ts/eslint-mdx)](https://codecov.io/gh/rx-ts/eslint-mdx)
[![type-coverage](https://img.shields.io/badge/dynamic/json.svg?label=type-coverage&prefix=%E2%89%A5&suffix=%&query=$.typeCoverage.atLeast&uri=https%3A%2F%2Fraw.githubusercontent.com%2Frx-ts%2Feslint-mdx%2Fmaster%2Fpackage.json)](https://github.com/rx-ts/eslint-mdx)
[![type-coverage](https://img.shields.io/badge/dynamic/json.svg?label=type-coverage&prefix=%E2%89%A5&suffix=%&query=$.typeCoverage.atLeast&uri=https%3A%2F%2Fraw.githubusercontent.com%2Frx-ts%2Feslint-mdx%2Fmaster%2Fpackage.json)](https://github.com/plantain-00/type-coverage)
[![GitHub release](https://img.shields.io/github/release/rx-ts/eslint-mdx)](https://github.com/rx-ts/eslint-mdx/releases)

@@ -71,2 +71,3 @@ [![David Dev](https://img.shields.io/david/dev/rx-ts/eslint-mdx.svg)](https://david-dm.org/rx-ts/eslint-mdx?type=dev)

```js
const { configs } = require('@rxts/eslint-plugin-mdx')
const rebass = require('rebass')

@@ -77,24 +78,8 @@

overrides: [
{
files: ['*.mdx'],
globals: Object.keys(rebass).reduce(
(globals, Component) =>
Object.assign(globals, {
[Component]: false,
}),
{
React: false,
},
),
rules: {
'lines-between-class-members': 0,
'react/jsx-no-undef': [
2,
{
allowGlobals: true,
},
],
'react/react-in-jsx-scope': 0,
Object.assign(
{
files: ['*.mdx'],
},
},
configs.overrides,
),
],

@@ -101,0 +86,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