eslint-plugin-markdown
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -0,1 +1,7 @@ | ||
v1.0.2 - February 24, 2020 | ||
* [`52e0984`](https://github.com/eslint/eslint-plugin-markdown/commit/52e098483fdf958a8dce96ab66c52b4337d522fe) Upgrade: Update devDeps and change istanbul -> nyc (#130) (Brett Zamir) | ||
* [`d52988f`](https://github.com/eslint/eslint-plugin-markdown/commit/d52988f5efcacb16862c79c1857e9b912cf3ffb0) Chore: Remove call to lint absent `Makefile.js` (#129) (Brett Zamir) | ||
* [`5640ea6`](https://github.com/eslint/eslint-plugin-markdown/commit/5640ea65730abab5c9c97d77b5708f3499ec62f3) Fix: Apply base indent to multiple line breaks (fixes #127) (#128) (Brett Zamir) | ||
v1.0.1 - October 21, 2019 | ||
@@ -2,0 +8,0 @@ |
@@ -8,2 +8,4 @@ /** | ||
// https://github.com/mysticatea/eslint-plugin-node/issues/193 | ||
// eslint-disable-next-line node/no-unpublished-require | ||
module.exports = require("./lib"); |
@@ -276,3 +276,3 @@ /** | ||
* @param {Message} message A message from ESLint. | ||
* @returns {Message} The same message, but adjusted ot the correct location. | ||
* @returns {Message} The same message, but adjusted to the correct location. | ||
*/ | ||
@@ -312,3 +312,3 @@ return function adjustMessage(message) { | ||
}), | ||
text: message.fix.text.replace("\n", `\n${block.baseIndentText}`) | ||
text: message.fix.text.replace(/\n/g, `\n${block.baseIndentText}`) | ||
}; | ||
@@ -315,0 +315,0 @@ } |
{ | ||
"name": "eslint-plugin-markdown", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "An ESLint plugin to lint JavaScript in Markdown code fences.", | ||
@@ -23,5 +23,5 @@ "license": "MIT", | ||
"scripts": { | ||
"lint": "eslint Makefile.js lib/**/*.js tests/lib/plugin.js", | ||
"lint": "eslint .", | ||
"test": "npm run lint && npm run test-cov", | ||
"test-cov": "istanbul cover _mocha -- -c tests/lib/**/*.js", | ||
"test-cov": "nyc _mocha -- -c tests/lib/**/*.js", | ||
"generate-release": "eslint-generate-release", | ||
@@ -40,9 +40,9 @@ "generate-alpharelease": "eslint-generate-prerelease alpha", | ||
"devDependencies": { | ||
"chai": "^3.0.0", | ||
"eslint": "^4.19.1", | ||
"chai": "^4.2.0", | ||
"eslint": "^5.16.0", | ||
"eslint-config-eslint": "^5.0.1", | ||
"eslint-plugin-node": "^6.0.1", | ||
"eslint-release": "^1.0.0", | ||
"istanbul": "^0.4.5", | ||
"mocha": "^2.2.5" | ||
"eslint-release": "^1.2.0", | ||
"mocha": "^6.2.2", | ||
"nyc": "^14.1.1" | ||
}, | ||
@@ -49,0 +49,0 @@ "dependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
26230
314
0