eslint-plugin-mdx
Version:
ESLint Plugin for MDX
647 lines (205 loc) • 17.1 kB
Markdown
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.11.0](https://github.com/mdx-js/eslint-mdx/compare/v1.10.0...v1.11.0) (2021-03-18)
### Bug Fixes
* cosmiconfig returns null if no config found ([#285](https://github.com/mdx-js/eslint-mdx/issues/285)) ([52d712a](https://github.com/mdx-js/eslint-mdx/commit/52d712a96471d8f6e31320cb718dfd0c1bb7ca65))
### Features
* fix incorrect node loc ([#288](https://github.com/mdx-js/eslint-mdx/issues/288)) ([c52039c](https://github.com/mdx-js/eslint-mdx/commit/c52039c566c9f6430a414992a24e755f050c332a)), closes [#287](https://github.com/mdx-js/eslint-mdx/issues/287)
# [1.10.0](https://github.com/mdx-js/eslint-mdx/compare/v1.9.1...v1.10.0) (2021-03-16)
### Features
* use eslint-plugin-markdown as processor! ([#283](https://github.com/mdx-js/eslint-mdx/issues/283)) ([abe30cb](https://github.com/mdx-js/eslint-mdx/commit/abe30cbfd62d89f700888053b01331bc74394bd2))
* use processor to display remark reports directly ([#281](https://github.com/mdx-js/eslint-mdx/issues/281)) ([5052eb8](https://github.com/mdx-js/eslint-mdx/commit/5052eb8eb638242c940ce4f48a1245ef07dd6fe4))
## [1.9.1](https://github.com/mdx-js/eslint-mdx/compare/v1.9.0...v1.9.1) (2021-03-11)
**Note:** Version bump only for package eslint-plugin-mdx
# [1.9.0](https://github.com/mdx-js/eslint-mdx/compare/v1.8.2...v1.9.0) (2021-02-22)
### Bug Fixes
* **deps:** update dependency eslint-plugin-react to ^7.21.2 ([204b294](https://github.com/mdx-js/eslint-mdx/commit/204b29499491d8b1a5ec3ba535bab77e783a036d))
* **deps:** update dependency remark-mdx to ^1.6.22 ([8692bf7](https://github.com/mdx-js/eslint-mdx/commit/8692bf70c75a3987a732044a96c9162272bbbe8a))
### Features
* bump (dev)Dependencies, fix: consider first jsx node as open tag - close [#272](https://github.com/mdx-js/eslint-mdx/issues/272) ([#273](https://github.com/mdx-js/eslint-mdx/issues/273)) ([cb846e9](https://github.com/mdx-js/eslint-mdx/commit/cb846e9a565de26f2f174b54f33092bd7f523399)), closes [#207](https://github.com/mdx-js/eslint-mdx/issues/207)
## [1.8.2](https://github.com/mdx-js/eslint-mdx/compare/v1.8.1...v1.8.2) (2020-08-23)
**Note:** Version bump only for package eslint-plugin-mdx
## [1.8.1](https://github.com/mdx-js/eslint-mdx/compare/v1.8.0...v1.8.1) (2020-08-05)
**Note:** Version bump only for package eslint-plugin-mdx
# [1.8.0](https://github.com/mdx-js/eslint-mdx/compare/v1.7.1...v1.8.0) (2020-08-05)
### Features
* remark-mdx is not compatible with normal markdown syntaxes ([#206](https://github.com/mdx-js/eslint-mdx/issues/206)) ([3413315](https://github.com/mdx-js/eslint-mdx/commit/3413315f2305ada846008c67fec83644a426b3b9))
## [1.7.1](https://github.com/mdx-js/eslint-mdx/compare/v1.7.0...v1.7.1) (2020-07-14)
### Bug Fixes
* compatibility with typescript-eslint ([#209](https://github.com/mdx-js/eslint-mdx/issues/209)) ([28dc160](https://github.com/mdx-js/eslint-mdx/commit/28dc160ca108ca44e4f2be3a1d7d645275c2ea6c))
# [1.7.0](https://github.com/mdx-js/eslint-mdx/compare/v1.6.9...v1.7.0) (2020-05-26)
### Bug Fixes
* **deps:** update dependency remark-parse to ^8.0.1 ([a16ebb0](https://github.com/mdx-js/eslint-mdx/commit/a16ebb0ba045d2f39e862a3f915fd5089f2f4594))
### Features
* catch remark process error ([80686eb](https://github.com/mdx-js/eslint-mdx/commit/80686eb0e9cb7e0f8d468d9616b85c1f7ebc6cca))
## [1.6.9](https://github.com/mdx-js/eslint-mdx/compare/v1.6.8...v1.6.9) (2020-04-12)
**Note:** Version bump only for package eslint-plugin-mdx
## [1.6.8](https://github.com/mdx-js/eslint-mdx/compare/v1.6.6...v1.6.8) (2020-01-26)
**Note:** Version bump only for package eslint-plugin-mdx
## [1.6.7](https://github.com/mdx-js/eslint-mdx/compare/v1.6.5...v1.6.7) (2020-01-26)
**Note:** Version bump only for package eslint-plugin-mdx
## [1.6.5](https://github.com/mdx-js/eslint-mdx/compare/v1.6.4...v1.6.5) (2019-12-17)
### Bug Fixes
* add `prepublishOnly` lifecycle script, close [#116](https://github.com/mdx-js/eslint-mdx/issues/116) ([#117](https://github.com/mdx-js/eslint-mdx/issues/117)) ([785117b](https://github.com/mdx-js/eslint-mdx/commit/785117ba3178c698710907e032f59a38289a844b))
## [1.6.4](https://github.com/mdx-js/eslint-mdx/compare/v1.6.3...v1.6.4) (2019-12-10)
### Bug Fixes
* change organization of project repository to mdx-js :tada: ([275b9dc](https://github.com/mdx-js/eslint-mdx/commit/275b9dce5a8b5619d873c841793ef1c5e0bf7f39))
## [1.6.3](https://github.com/rx-ts/eslint-mdx/compare/v1.6.2...v1.6.3) (2019-11-11)
### Bug Fixes
* **dpes:** bump cosmiconfig to v6.0.0 ([712c872](https://github.com/rx-ts/eslint-mdx/commit/712c8726c8b7ff59f4d3620f8a2de18936dd3487))
## [1.6.2](https://github.com/rx-ts/eslint-mdx/compare/v1.6.1...v1.6.2) (2019-11-03)
**Note:** Version bump only for package eslint-plugin-mdx
## [1.6.1](https://github.com/rx-ts/eslint-mdx/compare/v1.6.0...v1.6.1) (2019-10-23)
**Note:** Version bump only for package eslint-plugin-mdx
# [1.6.0](https://github.com/rx-ts/eslint-mdx/compare/v1.5.9...v1.6.0) (2019-10-23)
**Note:** Version bump only for package eslint-plugin-mdx
## [1.5.9](https://github.com/rx-ts/eslint-mdx/compare/v1.5.7...v1.5.9) (2019-10-22)
### Bug Fixes
* package content been cleared unexpectedly ([9b8dd3e](https://github.com/rx-ts/eslint-mdx/commit/9b8dd3e91c06088f66448939f99c33511f37fe7f))
## [1.5.7](https://github.com/rx-ts/eslint-mdx/compare/v1.5.6...v1.5.7) (2019-10-22)
### Bug Fixes
* always pass through parserOptions ([6d58ad8](https://github.com/rx-ts/eslint-mdx/commit/6d58ad84e9ebed6bf2b0f057e55a0669da547ee0))
## [1.5.6](https://github.com/rx-ts/eslint-mdx/compare/v1.5.5...v1.5.6) (2019-10-06)
### Bug Fixes
* **deps:** bump (dev)Dependencies, simplify output structure, prefer esm ([463ed4d](https://github.com/rx-ts/eslint-mdx/commit/463ed4d))
## [1.5.5](https://github.com/rx-ts/eslint-mdx/compare/v1.5.4...v1.5.5) (2019-09-23)
**Note:** Version bump only for package eslint-plugin-mdx
## [1.5.4](https://github.com/rx-ts/eslint-mdx/compare/v1.5.3...v1.5.4) (2019-09-23)
**Note:** Version bump only for package eslint-plugin-mdx
## [1.5.3](https://github.com/rx-ts/eslint-mdx/compare/v1.5.2...v1.5.3) (2019-09-23)
### Bug Fixes
* react could be unavailable, add hardcoded component names to… ([#70](https://github.com/rx-ts/eslint-mdx/issues/70)) ([0281fb3](https://github.com/rx-ts/eslint-mdx/commit/0281fb3))
## [1.5.2](https://github.com/rx-ts/eslint-mdx/compare/v1.5.1...v1.5.2) (2019-09-21)
**Note:** Version bump only for package eslint-plugin-mdx
## [1.5.1](https://github.com/rx-ts/eslint-mdx/compare/v1.5.0...v1.5.1) (2019-09-21)
### Bug Fixes
* correct repository field in package.json, bump devDependencies ([68799e1](https://github.com/rx-ts/eslint-mdx/commit/68799e1))
# [1.5.0](https://github.com/rx-ts/eslint-mdx/compare/v1.4.6...v1.5.0) (2019-09-16)
### Bug Fixes
* ts-jest@24.1.0 breaks tests ([5dad8a5](https://github.com/rx-ts/eslint-mdx/commit/5dad8a5))
### Features
* **configs:** support overrides in recommended config for eslint>=6.4.0 ([f6ee675](https://github.com/rx-ts/eslint-mdx/commit/f6ee675))
## [1.4.6](https://github.com/rx-ts/eslint-mdx/compare/v1.4.5...v1.4.6) (2019-09-09)
### Bug Fixes
* **deps:** update dependency remark-stringify to ^7.0.3 ([#61](https://github.com/rx-ts/eslint-mdx/issues/61)) ([849d9a1](https://github.com/rx-ts/eslint-mdx/commit/849d9a1))
## [1.4.5](https://github.com/rx-ts/eslint-mdx/compare/v1.4.4...v1.4.5) (2019-09-09)
**Note:** Version bump only for package eslint-plugin-mdx
## [1.4.4](https://github.com/rx-ts/eslint-mdx/compare/v1.4.3...v1.4.4) (2019-09-09)
**Note:** Version bump only for package eslint-plugin-mdx
## [1.4.3](https://github.com/rx-ts/eslint-mdx/compare/v1.4.2...v1.4.3) (2019-09-07)
### Bug Fixes
* **core:** add missing dependencies although it worked ([b742150](https://github.com/rx-ts/eslint-mdx/commit/b742150))
## [1.4.2](https://github.com/rx-ts/eslint-mdx/compare/v1.4.1...v1.4.2) (2019-09-04)
**Note:** Version bump only for package eslint-plugin-mdx
## [1.4.1](https://github.com/rx-ts/eslint-mdx/compare/v1.4.0...v1.4.1) (2019-09-01)
**Note:** Version bump only for package eslint-plugin-mdx
# [1.4.0](https://github.com/rx-ts/eslint-mdx/compare/v1.3.1...v1.4.0) (2019-08-22)
### Features
* add support of linting plain markdown files ([9979c79](https://github.com/rx-ts/eslint-mdx/commit/9979c79))
## [1.3.1](https://github.com/rx-ts/eslint-mdx/compare/v1.3.0...v1.3.1) (2019-08-22)
### Bug Fixes
* resolve relative plugin correctly ([99de99a](https://github.com/rx-ts/eslint-mdx/commit/99de99a))
# [1.3.0](https://github.com/rx-ts/eslint-mdx/compare/v1.2.1...v1.3.0) (2019-08-22)
### Features
* resolve remark plugin with prefix `remark-` automatically ([5284395](https://github.com/rx-ts/eslint-mdx/commit/5284395))
## [1.2.1](https://github.com/rx-ts/eslint-mdx/compare/v1.2.0...v1.2.1) (2019-08-21)
### Bug Fixes
* auto disable rule file-extension in favor of option `extensions` ([2338345](https://github.com/rx-ts/eslint-mdx/commit/2338345))
# [1.2.0](https://github.com/rx-ts/eslint-mdx/compare/v1.1.1...v1.2.0) (2019-08-21)
### Features
* add support of partial + processing with filename, close [#49](https://github.com/rx-ts/eslint-mdx/issues/49) ([4383a1e](https://github.com/rx-ts/eslint-mdx/commit/4383a1e))
## [1.1.1](https://github.com/rx-ts/eslint-mdx/compare/v1.1.0...v1.1.1) (2019-08-21)
### Bug Fixes
* cosmiconfig result could be null ([f78dd01](https://github.com/rx-ts/eslint-mdx/commit/f78dd01))
## [1.1.0](https://github.com/rx-ts/eslint-mdx/compare/v0.11.2...v1.1.0) (2019-08-21)
### Features
* feat: integrate with remark plugins without remark-lint, close #19 ([4b50e27](https://github.com/rx-ts/eslint-mdx/commit/4b50e27))
* feat: rename plugin to `eslint-plugin-mdx`, thanks to @azz ([3c6fd15](https://github.com/rx-ts/eslint-mdx/commit/3c6fd15))
## [0.11.2](https://github.com/rx-ts/eslint-mdx/compare/v0.11.1...v0.11.2) (2019-08-13)
**Note:** Version bump only for package @rxts/eslint-plugin-mdx
## [0.11.1](https://github.com/rx-ts/eslint-mdx/compare/v0.11.0...v0.11.1) (2019-08-12)
**Note:** Version bump only for package @rxts/eslint-plugin-mdx
# [0.11.0](https://github.com/rx-ts/eslint-mdx/compare/v0.10.0...v0.11.0) (2019-08-11)
### Features
* all rebass components considered as global variables ([a36a69b](https://github.com/rx-ts/eslint-mdx/commit/a36a69b))
* overrides react/jsx-no-undef to allow globals ([f7d5194](https://github.com/rx-ts/eslint-mdx/commit/f7d5194))
# [0.10.0](https://github.com/rx-ts/eslint-mdx/compare/v0.9.11...v0.10.0) (2019-08-11)
### Features
* remove deprecated functions, test coverage 100% ([fd2694e](https://github.com/rx-ts/eslint-mdx/commit/fd2694e))
## [0.9.11](https://github.com/rx-ts/eslint-mdx/compare/v0.9.10...v0.9.11) (2019-08-10)
**Note:** Version bump only for package @rxts/eslint-plugin-mdx
## [0.9.10](https://github.com/rx-ts/eslint-mdx/compare/v0.9.9...v0.9.10) (2019-08-10)
**Note:** Version bump only for package @rxts/eslint-plugin-mdx
## [0.9.9](https://github.com/rx-ts/eslint-mdx/compare/v0.9.8...v0.9.9) (2019-08-10)
**Note:** Version bump only for package @rxts/eslint-plugin-mdx
## [0.9.8](https://github.com/rx-ts/eslint-mdx/compare/v0.9.6...v0.9.8) (2019-08-10)
**Note:** Version bump only for package @rxts/eslint-plugin-mdx
## [0.9.6](https://github.com/rx-ts/eslint-mdx/compare/v0.9.5...v0.9.6) (2019-08-07)
### Bug Fixes
* custom parser resolved undefined error ([1bbb1ff](https://github.com/rx-ts/eslint-mdx/commit/1bbb1ff))
## [0.9.5](https://github.com/rx-ts/eslint-mdx/compare/v0.9.3...v0.9.5) (2019-08-05)
### Bug Fixes
* options unchangeable issue for default parser ([e76c483](https://github.com/rx-ts/eslint-mdx/commit/e76c483))
## [0.9.4](https://github.com/rx-ts/eslint-mdx/compare/v0.9.3...v0.9.4) (2019-08-05)
### Bug Fixes
* adjacent jsx nodes should be allowed in mdx ([8456381](https://github.com/rx-ts/eslint-mdx/commit/8456381))
* skip combine jsx nodes for root/jsx node ([90583f7](https://github.com/rx-ts/eslint-mdx/commit/90583f7))
## [0.9.3](https://github.com/rx-ts/eslint-mdx/compare/v0.9.1...v0.9.3) (2019-08-04)
### Bug Fixes
* error from typescript parser in plain object ([f634e40](https://github.com/rx-ts/eslint-mdx/commit/f634e40))
## [0.9.1](https://github.com/rx-ts/eslint-mdx/compare/v0.9.0...v0.9.1) (2019-08-03)
### Bug Fixes
* always extends base config ([530160a](https://github.com/rx-ts/eslint-mdx/commit/530160a))
## [0.9.0](https://github.com/rx-ts/eslint-mdx/compare/v0.8.1...v0.9.0) (2019-08-03)
### Features
* support other extensions, detect parsers automatically ([5386098](https://github.com/rx-ts/eslint-mdx/commit/5386098))
## [0.8.1](https://github.com/rx-ts/eslint-mdx/compare/v0.7.1...v0.8.1) (2019-08-03)
### Features
* split into two packages, use lerna as publisher ([#22](https://github.com/rx-ts/eslint-mdx/issues/22)) ([349b1ff](https://github.com/rx-ts/eslint-mdx/commit/349b1ff)), closes [#21](https://github.com/rx-ts/eslint-mdx/issues/21)
## [0.8.0](https://github.com/rx-ts/eslint-mdx/compare/v0.7.1...v0.8.0) (2019-08-03)
### Features
* split into two packages, use lerna as publisher ([#22](https://github.com/rx-ts/eslint-mdx/issues/22)) ([349b1ff](https://github.com/rx-ts/eslint-mdx/commit/349b1ff)), closes [#21](https://github.com/rx-ts/eslint-mdx/issues/21)
## [0.7.1](https://github.com/rx-ts/eslint-mdx/compare/v0.7.0...v0.7.1) (2019-08-03)
### Features
* export a parse function for compatibility usage ([0fdaf9f](https://github.com/rx-ts/eslint-mdx/commit/0fdaf9f))
## [0.7.0](https://github.com/rx-ts/eslint-mdx/compare/v0.6.0...v0.7.0) (2019-08-02)
### Features
* add new rule no-unescaped-entities ([dca8633](https://github.com/rx-ts/eslint-mdx/commit/dca8633))
## [0.6.0](https://github.com/rx-ts/eslint-mdx/compare/v0.5.0...v0.6.0) (2019-08-02)
### Features
* add new rule `no-jsx-html-comments`, close [#13](https://github.com/rx-ts/eslint-mdx/issues/13) ([67ba91e](https://github.com/rx-ts/eslint-mdx/commit/67ba91e))
* processor support for normalize comments in jsx [ci skip] ([114831c](https://github.com/rx-ts/eslint-mdx/commit/114831c))
## [0.5.0](https://github.com/rx-ts/eslint-mdx/compare/v0.4.1...v0.5.0) (2019-07-31)
### Features
* add `@rxts/mdx/no-unused-expressions` rule to replace eslint's ([5d62b55](https://github.com/rx-ts/eslint-mdx/commit/5d62b55))
## [0.4.1](https://github.com/rx-ts/eslint-mdx/compare/v0.4.0...v0.4.1) (2019-07-31)
### Features
* perf: extract `parseMdx`, exports everything in package ([1f965a1](https://github.com/rx-ts/eslint-mdx/commit/1f965a1))
## [0.4.0](https://github.com/rx-ts/eslint-mdx/compare/v0.3.1...v0.4.0) (2019-07-31)
### Features
* add body and comments into ast, fix [#12](https://github.com/rx-ts/eslint-mdx/issues/12) ([5b28bd5](https://github.com/rx-ts/eslint-mdx/commit/5b28bd5))
## [0.3.1](https://github.com/rx-ts/eslint-mdx/compare/v0.3.0...v0.3.1) (2019-07-30)
### Bug Fixes
* `.*` could not match multi lines, use `[\s\S]*` instead, close [#4](https://github.com/rx-ts/eslint-mdx/issues/4) ([f7e7efe](https://github.com/rx-ts/eslint-mdx/commit/f7e7efe))
## [0.3.0](https://github.com/rx-ts/eslint-mdx/compare/v0.2.1...v0.3.0) (2019-07-30)
### Bug Fixes
* inline jsx and comment parsing error, close [#4](https://github.com/rx-ts/eslint-mdx/issues/4), [#7](https://github.com/rx-ts/eslint-mdx/issues/7) ([5297a0b](https://github.com/rx-ts/eslint-mdx/commit/5297a0b))
## [0.2.1](https://github.com/rx-ts/eslint-mdx/compare/v0.2.0...v0.2.1) (2019-07-30)
### Bug Fixes
* eslint@5 is actually supported ([e470ddc](https://github.com/rx-ts/eslint-mdx/commit/e470ddc))
## [0.2.0](https://github.com/rx-ts/eslint-mdx/compare/v0.1.3...v0.2.0) (2019-07-30)
### Features
* support custom parser like babel-eslint ([b718574](https://github.com/rx-ts/eslint-mdx/commit/b718574))
## [0.1.3](https://github.com/rx-ts/eslint-mdx/compare/v0.1.2...v0.1.3) (2019-07-29)
### Bug Fixes
* upgrade peer dependency eslint to >= 6.0.0 ([#3](https://github.com/rx-ts/eslint-mdx/issues/3) [#4](https://github.com/rx-ts/eslint-mdx/issues/4)) ([f0ab288](https://github.com/rx-ts/eslint-mdx/commit/f0ab288))
## [0.1.2](https://github.com/rx-ts/eslint-mdx/compare/v0.1.1...v0.1.2) (2019-07-29)
### Bug Fixes
* show correct column and line on lint error ([90c5390](https://github.com/rx-ts/eslint-mdx/commit/90c5390))
## [0.1.1](https://github.com/rx-ts/eslint-mdx/compare/v0.1.0...v0.1.1) (2019-07-29)
### Bug Fixes
* overrides in node_modules seems not working ([d2f1535](https://github.com/rx-ts/eslint-mdx/commit/d2f1535))
## 0.1.0 (2019-07-29)
### Features
* traverse ast nodes ([6a71e25](https://github.com/rx-ts/eslint-mdx/commit/6a71e25))