Skip to content

Commit

Permalink
Upgrade: Update devDeps and change istanbul -> nyc (#130)
Browse files Browse the repository at this point in the history
Update eslint-release, chai, mocha, and eslint devDeps. In process of updating,
get plugins tests to work in anticipation of eslint 6.
  • Loading branch information
brettz9 authored and btmills committed Nov 2, 2019
1 parent d52988f commit 52e0984
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ coverage/
node_modules/
npm-debug.log
.eslint-release-info.json
.nyc_output
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"scripts": {
"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",
"generate-alpharelease": "eslint-generate-prerelease alpha",
"generate-betarelease": "eslint-generate-prerelease beta",
Expand All @@ -36,13 +36,13 @@
"lib/processor.js"
],
"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"
},
"dependencies": {
"object-assign": "^4.0.1",
Expand Down
1 change: 1 addition & 0 deletions tests/lib/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function initCLI(isAutofixEnabled) {
const cli = new CLIEngine({
envs: ["browser"],
extensions: ["md", "mkdn", "mdown", "markdown"],
plugins: ["markdown"],
fix,
ignore: false,
rules: {
Expand Down

0 comments on commit 52e0984

Please sign in to comment.