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.2 to 0.11.3-beta.2

4

package.json
{
"name": "eslint-mdx",
"version": "0.11.2",
"version": "0.11.3-beta.2+f3730d8",
"description": "ESLint Parser for MDX",

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

},
"gitHead": "a9e13fd7d306606210562dad3377183da773fd34"
"gitHead": "f3730d887e0cf67c38a91d249f128130280c8758"
}

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

[![David Dev](https://img.shields.io/david/dev/rx-ts/eslint-mdx.svg)](https://david-dm.org/rx-ts/eslint-mdx?type=dev)
[![Conventional Commits](https://img.shields.io/badge/conventional%20commits-1.0.0-yellow.svg)](https://conventionalcommits.org)

@@ -29,3 +30,3 @@ [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

[VSCode MDX]: Integrates with [VSCode ESLint], syntaxes highlighting and error reporting.
[VSCode MDX]\: Integrates with [VSCode ESLint], syntaxes highlighting and error reporting.

@@ -36,6 +37,6 @@ ## Packages

| Package | Description | Version | Peer Dependencies | Dependencies |
| -------------------------------------------------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`eslint-mdx`](/packages/eslint-mdx) | ESLint Parser for MDX | [![npm](https://img.shields.io/npm/v/eslint-mdx.svg)](https://www.npmjs.com/package/eslint-mdx) | [![David Peer](https://img.shields.io/david/peer/rx-ts/eslint-mdx.svg?path=packages/eslint-mdx)](https://david-dm.org/rx-ts/eslint-mdx?path=packages/eslint-mdx&type=peer) | [![David](https://img.shields.io/david/rx-ts/eslint-mdx.svg?path=packages/eslint-mdx)](https://david-dm.org/rx-ts/eslint-mdx?path=packages/eslint-mdx) |
| [`@rxts/eslint-plugin-mdx`](/packages/eslint-plugin-mdx) | ESLint Plugin, Configuration and Rules for MDX | [![npm](https://img.shields.io/npm/v/@rxts/eslint-plugin-mdx.svg)](https://www.npmjs.com/package/@rxts/eslint-plugin-mdx) | [![David Peer](https://img.shields.io/david/peer/rx-ts/eslint-mdx.svg?path=packages/eslint-plugin-mdx)](https://david-dm.org/rx-ts/eslint-mdx?path=packages/eslint-plugin-mdx&type=peer) | [![David](https://img.shields.io/david/rx-ts/eslint-mdx.svg?path=packages/eslint-plugin-mdx)](https://david-dm.org/rx-ts/eslint-mdx?path=packages/eslint-plugin-mdx) |
| Package | Description | Version | Peer Dependencies | Dependencies |
| -------------------------------------------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`eslint-mdx`](/packages/eslint-mdx) | ESLint Parser for MDX | [![npm](https://img.shields.io/npm/v/eslint-mdx.svg)](https://www.npmjs.com/package/eslint-mdx) | [![David Peer](https://img.shields.io/david/peer/rx-ts/eslint-mdx.svg?path=packages/eslint-mdx)](https://david-dm.org/rx-ts/eslint-mdx?path=packages/eslint-mdx&type=peer) | [![David](https://img.shields.io/david/rx-ts/eslint-mdx.svg?path=packages/eslint-mdx)](https://david-dm.org/rx-ts/eslint-mdx?path=packages/eslint-mdx) |
| [`eslint-plugin-mdx`](/packages/eslint-plugin-mdx) | ESLint Plugin, Configuration and Rules for MDX | [![npm](https://img.shields.io/npm/v/eslint-plugin-mdx.svg)](https://www.npmjs.com/package/eslint-plugin-mdx) | [![David Peer](https://img.shields.io/david/peer/rx-ts/eslint-mdx.svg?path=packages/eslint-plugin-mdx)](https://david-dm.org/rx-ts/eslint-mdx?path=packages/eslint-plugin-mdx&type=peer) | [![David](https://img.shields.io/david/rx-ts/eslint-mdx.svg?path=packages/eslint-plugin-mdx)](https://david-dm.org/rx-ts/eslint-mdx?path=packages/eslint-plugin-mdx) |

@@ -46,6 +47,6 @@ ## Install

# yarn
yarn add -D @rxts/eslint-plugin-mdx
yarn add -D eslint-plugin-mdx
# npm
npm i -D @rxts/eslint-plugin-mdx
npm i -D eslint-plugin-mdx
```

@@ -61,7 +62,7 @@

{
"extends": ["plugin:@rxts/mdx/recommended"],
"extends": ["plugin:mdx/recommended"],
"overrides": [
{
"files": ["*.mdx"],
"extends": ["plugin:@rxts/mdx/overrides"]
"extends": ["plugin:mdx/overrides"]
}

@@ -75,7 +76,7 @@ ]

```js
const { configs } = require('@rxts/eslint-plugin-mdx')
const { configs } = require('eslint-plugin-mdx')
const rebass = require('rebass')
module.exports = {
extends: ['plugin:@rxts/mdx/recommended'],
extends: ['plugin:mdx/recommended'],
overrides: [

@@ -104,3 +105,3 @@ Object.assign(

{
"extends": ["plugin:@rxts/mdx/recommended"],
"extends": ["plugin:mdx/recommended"],
"parserOptions": {

@@ -116,11 +117,11 @@ "parser": "babel-eslint"

### @rxts/mdx/no-jsx-html-comments
### mdx/no-jsx-html-comments
HTML style comments in jsx block is invalid, this rule will help you to fix it by transforming it to JSX style comments.
### @rxts/mdx/no-unescaped-entities
### mdx/no-unescaped-entities
Inline JSX like `Inline <Component />` is supported by [MDX], but rule `react/no-unescaped-entities` from [eslint-plugin-react] is incompatible with it, `@rxts/mdx/no-unescaped-entities` is the replacement.
Inline JSX like `Inline <Component />` is supported by [MDX], but rule `react/no-unescaped-entities` from [eslint-plugin-react] is incompatible with it, `mdx/no-unescaped-entities` is the replacement.
### @rxts/mdx/no-unused-expressions
### mdx/no-unused-expressions

@@ -127,0 +128,0 @@ [MDX] can render `jsx` block automatically without exporting them, but [ESLint] will report `no-unused-expressions` issue which could be unexpected, this rule is a replacement of it, so make sure that you've turned off the original `no-unused-expressions` rule.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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