eslint-plugin-markdown
Advanced tools
Comparing version 2.0.0-rc.0 to 2.0.0-rc.1
@@ -0,1 +1,8 @@ | ||
v2.0.0-rc.1 - December 20, 2020 | ||
* [`1dd7089`](https://github.com/eslint/eslint-plugin-markdown/commit/1dd70890b92827a5fbd3a86a62c3f2bc30389340) Fix: npm prepare script on Windows (refs #166) (#168) (Brandon Mills) | ||
* [`23ac2b9`](https://github.com/eslint/eslint-plugin-markdown/commit/23ac2b95b1c2666baf422c24f5b73607d315a700) Fix: Ignore words in info string after syntax (fixes #166) (#167) (Brandon Mills) | ||
* [`8f729d3`](https://github.com/eslint/eslint-plugin-markdown/commit/8f729d3f286820da8099aaf2708d54aa9edcc000) Chore: Switch to main for primary branch (fixes #161) (#165) (Brandon Mills) | ||
* [`d30c50f`](https://github.com/eslint/eslint-plugin-markdown/commit/d30c50f46237af2fdef0a8a21fb547ed8e6c4d80) Chore: Automatically install example dependencies (#164) (Brandon Mills) | ||
v2.0.0-rc.0 - August 19, 2020 | ||
@@ -2,0 +9,0 @@ |
@@ -255,3 +255,3 @@ /** | ||
return blocks.map((block, index) => ({ | ||
filename: `${index}.${block.lang}`, | ||
filename: `${index}.${block.lang.trim().split(" ")[0]}`, | ||
text: [ | ||
@@ -258,0 +258,0 @@ ...block.comments, |
{ | ||
"name": "eslint-plugin-markdown", | ||
"version": "2.0.0-rc.0", | ||
"version": "2.0.0-rc.1", | ||
"description": "An ESLint plugin to lint JavaScript in Markdown code fences.", | ||
@@ -23,10 +23,10 @@ "license": "MIT", | ||
"scripts": { | ||
"install-examples": "for example in examples/*; do (cd \"$example\" && npm install); done", | ||
"lint": "eslint --ext js,md .", | ||
"prepare": "node ./npm-prepare.js", | ||
"test": "npm run lint && npm run test-cov", | ||
"test-cov": "nyc _mocha -- -c tests/{examples,lib}/**/*.js", | ||
"generate-release": "npm run install-examples && eslint-generate-release", | ||
"generate-alpharelease": "npm run install-examples && eslint-generate-prerelease alpha", | ||
"generate-betarelease": "npm run install-examples && eslint-generate-prerelease beta", | ||
"generate-rcrelease": "npm run install-examples && eslint-generate-prerelease rc", | ||
"generate-release": "eslint-generate-release", | ||
"generate-alpharelease": "eslint-generate-prerelease alpha", | ||
"generate-betarelease": "eslint-generate-prerelease beta", | ||
"generate-rcrelease": "eslint-generate-prerelease rc", | ||
"publish-release": "eslint-publish-release" | ||
@@ -46,3 +46,3 @@ }, | ||
"eslint-plugin-node": "^9.0.0", | ||
"eslint-release": "^1.2.0", | ||
"eslint-release": "^3.1.2", | ||
"mocha": "^6.2.2", | ||
@@ -49,0 +49,0 @@ "nyc": "^14.1.1" |
# eslint-plugin-markdown | ||
[![npm Version](https://img.shields.io/npm/v/eslint-plugin-markdown.svg)](https://www.npmjs.com/package/eslint-plugin-markdown) | ||
[![Build Status](https://img.shields.io/github/workflow/status/eslint/eslint-plugin-markdown/CI/master.svg)](https://github.com/eslint/eslint-plugin-markdown/actions) | ||
[![Build Status](https://img.shields.io/github/workflow/status/eslint/eslint-plugin-markdown/CI/main.svg)](https://github.com/eslint/eslint-plugin-markdown/actions) | ||
@@ -15,3 +15,3 @@ Lint JS, JSX, TypeScript, and more inside Markdown. | ||
> 🚧 This documentation is for an unfinished v2 release in progress in the `master` branch. The latest stable documentation is in the [`v1` branch](https://github.com/eslint/eslint-plugin-markdown/tree/v1). | ||
> 🚧 This documentation is for an unfinished v2 release in progress in the `main` branch. The latest stable documentation is in the [`v1` branch](https://github.com/eslint/eslint-plugin-markdown/tree/v1). | ||
@@ -18,0 +18,0 @@ ## Usage |
38073