eslint-plugin-markdown
Advanced tools
Comparing version 1.0.2 to 2.0.0-alpha.0
@@ -0,1 +1,14 @@ | ||
v2.0.0-alpha.0 - April 12, 2020 | ||
* [`51e48c6`](https://github.com/eslint/eslint-plugin-markdown/commit/51e48c68535964b1fe0f5c949d721baca4e6a1d6) Docs: Revamp documentation for v2 (#149) (Brandon Mills) | ||
* [`b221391`](https://github.com/eslint/eslint-plugin-markdown/commit/b2213919e3973ebb3788295143c17e14f5fc3f3b) Docs: Dogfood plugin by linting readme (#145) (Brandon Mills) | ||
* [`7423610`](https://github.com/eslint/eslint-plugin-markdown/commit/74236108b5c996b5f73046c2112270c7458cbae9) Docs: Explain use of --ext option in ESLint v7 (#146) (Brandon Mills) | ||
* [`0d4dbe8`](https://github.com/eslint/eslint-plugin-markdown/commit/0d4dbe8a50852516e14f656007c60e9e7a180b0a) Breaking: Implement new processor API (fixes #138) (#144) (Brandon Mills) | ||
* [`7eeafb8`](https://github.com/eslint/eslint-plugin-markdown/commit/7eeafb83e446f76bc4581381cd68dacc484b2249) Chore: Update ESLint config and plugins (#143) (Brandon Mills) | ||
* [`f483343`](https://github.com/eslint/eslint-plugin-markdown/commit/f4833438fa2c06941f05e994eb1084321ce4cfb3) Breaking: Require ESLint v6 (#142) (Brandon Mills) | ||
* [`9aa1fdc`](https://github.com/eslint/eslint-plugin-markdown/commit/9aa1fdca62733543d2c26a755ad14dbc02926f27) Chore: Use ES2018 object spread syntax (#141) (Brandon Mills) | ||
* [`f584cc6`](https://github.com/eslint/eslint-plugin-markdown/commit/f584cc6f08f0eeac0e657ae45cbf561764fab696) Build: Remove Travis (#140) (Brandon Mills) | ||
* [`35f9a11`](https://github.com/eslint/eslint-plugin-markdown/commit/35f9a11b407078774eef37295ba7ddb95c56f419) Breaking: Drop support for Node.js v6 (refs #138) (#137) (Brandon Mills) | ||
* [`6f02ef5`](https://github.com/eslint/eslint-plugin-markdown/commit/6f02ef53abc08b5e35b56361f2bd7cbc7ea8e993) Chore: Add npm version and build status badges (#139) (Brandon Mills) | ||
v1.0.2 - February 24, 2020 | ||
@@ -2,0 +15,0 @@ |
@@ -12,7 +12,4 @@ /** | ||
processors: { | ||
".markdown": processor, | ||
".mdown": processor, | ||
".mkdn": processor, | ||
".md": processor | ||
markdown: processor | ||
} | ||
}; |
@@ -8,7 +8,5 @@ /** | ||
const assign = require("object-assign"); | ||
const unified = require("unified"); | ||
const remarkParse = require("remark-parse"); | ||
const SUPPORTED_SYNTAXES = ["js", "javascript", "node", "jsx"]; | ||
const UNSATISFIABLE_RULES = [ | ||
@@ -51,3 +49,3 @@ "eol-last", // The Markdown parser strips trailing newlines in code fences | ||
const commentEnd = "-->"; | ||
const regex = /^(eslint\b|global\s)/; | ||
const regex = /^(eslint\b|global\s)/u; | ||
@@ -72,3 +70,3 @@ if ( | ||
// "whitespace". | ||
const leadingWhitespaceRegex = /^[>\s]*/; | ||
const leadingWhitespaceRegex = /^[>\s]*/u; | ||
@@ -122,3 +120,2 @@ /** | ||
* delta at the beginning of each line. | ||
* | ||
* @param {string} text The text of the file. | ||
@@ -231,3 +228,3 @@ * @param {ASTNode} node A Markdown code block AST node. | ||
if (node.lang && SUPPORTED_SYNTAXES.indexOf(node.lang.split(" ")[0].toLowerCase()) >= 0) { | ||
if (node.lang) { | ||
let index = parent.children.indexOf(node) - 1; | ||
@@ -252,7 +249,8 @@ let previousNode = parent.children[index]; | ||
blocks.push(assign({}, node, { | ||
blocks.push({ | ||
...node, | ||
baseIndentText: getIndentText(text, node), | ||
comments, | ||
rangeMap: getBlockRangeMap(text, node, comments) | ||
})); | ||
}); | ||
} | ||
@@ -262,7 +260,10 @@ } | ||
return blocks.map(block => [ | ||
...block.comments, | ||
block.value, | ||
"" | ||
].join("\n")); | ||
return blocks.map((block, index) => ({ | ||
filename: `${index}.${block.lang}`, | ||
text: [ | ||
...block.comments, | ||
block.value, | ||
"" | ||
].join("\n") | ||
})); | ||
} | ||
@@ -318,7 +319,7 @@ | ||
}), | ||
text: message.fix.text.replace(/\n/g, `\n${block.baseIndentText}`) | ||
text: message.fix.text.replace(/\n/gu, `\n${block.baseIndentText}`) | ||
}; | ||
} | ||
return assign({}, message, out, adjustedFix); | ||
return { ...message, ...out, ...adjustedFix }; | ||
}; | ||
@@ -325,0 +326,0 @@ } |
{ | ||
"name": "eslint-plugin-markdown", | ||
"version": "1.0.2", | ||
"version": "2.0.0-alpha.0", | ||
"description": "An ESLint plugin to lint JavaScript in Markdown code fences.", | ||
@@ -23,3 +23,3 @@ "license": "MIT", | ||
"scripts": { | ||
"lint": "eslint .", | ||
"lint": "eslint --ext js,md .", | ||
"test": "npm run lint && npm run test-cov", | ||
@@ -41,5 +41,6 @@ "test-cov": "nyc _mocha -- -c tests/lib/**/*.js", | ||
"chai": "^4.2.0", | ||
"eslint": "^5.16.0", | ||
"eslint-config-eslint": "^5.0.1", | ||
"eslint-plugin-node": "^6.0.1", | ||
"eslint": "^6.8.0", | ||
"eslint-config-eslint": "^6.0.0", | ||
"eslint-plugin-jsdoc": "^15.9.5", | ||
"eslint-plugin-node": "^9.0.0", | ||
"eslint-release": "^1.2.0", | ||
@@ -50,9 +51,11 @@ "mocha": "^6.2.2", | ||
"dependencies": { | ||
"object-assign": "^4.0.1", | ||
"remark-parse": "^5.0.0", | ||
"unified": "^6.1.2" | ||
}, | ||
"peerDependencies": { | ||
"eslint": ">=6.0.0" | ||
}, | ||
"engines": { | ||
"node": "^6.14.0 || ^8.10.0 || >=9.10.0" | ||
"node": "^8.10.0 || ^10.12.0 || >= 12.0.0" | ||
} | ||
} |
309
README.md
# eslint-plugin-markdown | ||
![Screenshot](screenshot.png) | ||
[![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) | ||
An [ESLint](http://eslint.org/) plugin to lint JavaScript in Markdown. | ||
Lint JS, JSX, TypeScript, and more inside Markdown. | ||
Supported extensions are `.markdown`, `.mdown`, `.mkdn`, and `.md`. | ||
<img | ||
src="screenshot.png" | ||
height="142" | ||
width="432" | ||
alt="A JS code snippet in a Markdown editor has red squiggly underlines. A tooltip explains the problem." | ||
/> | ||
> 🚧 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). | ||
## Usage | ||
Install the plugin: | ||
### Installing | ||
Install the plugin alongside ESLint v6 or greater: | ||
```sh | ||
npm install --save-dev eslint eslint-plugin-markdown | ||
npm install --save-dev eslint eslint-plugin-markdown@next | ||
``` | ||
Add it to your `.eslintrc`: | ||
### Configuring | ||
```json | ||
{ | ||
"plugins": [ | ||
"markdown" | ||
Add the plugin to your `.eslintrc` and use the `processor` option in an `overrides` entry to enable the plugin's `markdown/markdown` processor on Markdown files. | ||
Each fenced code block inside a Markdown document has a virtual filename appended to the Markdown file's path. | ||
The virtual filename's extension will match the fenced code block's syntax tag, so for example, <code>```js</code> code blocks in <code>README.md</code> would match <code>README.md/*.js</code>. | ||
For more information on configuring processors, refer to the [ESLint documentation](https://eslint.org/docs/user-guide/configuring#specifying-processor). | ||
```js | ||
// .eslintrc.js | ||
module.exports = { | ||
// 1. Add the plugin. | ||
plugins: ["markdown"], | ||
overrides: [ | ||
{ | ||
// 2. Enable the Markdown processor for all .md files. | ||
files: ["**/*.md"], | ||
processor: "markdown/markdown" | ||
}, | ||
{ | ||
// 3. Optionally, customize the configuration ESLint uses for ```js | ||
// fenced code blocks inside .md files. | ||
files: ["**/*.md/*.js"], | ||
// ... | ||
rules: { | ||
// ... | ||
} | ||
} | ||
] | ||
} | ||
}; | ||
``` | ||
Run ESLint on `.md` files: | ||
#### Migrating from `eslint-plugin-markdown` v1 | ||
`eslint-plugin-markdown` v1 used an older version of ESLint's processor API. | ||
The Markdown processor automatically ran on `.md`, `.mkdn`, `.mdown`, and `.markdown` files, and it only extracted fenced code blocks marked with `js`, `javascript`, `jsx`, or `node` syntax. | ||
Configuration specifically for fenced code blocks went inside an `overrides` entry with a `files` pattern matching the containing Markdown document's filename that applied to all fenced code blocks inside the file. | ||
```js | ||
// .eslintrc.js for eslint-plugin-markdown v1 | ||
module.exports = { | ||
plugins: ["markdown"], | ||
overrides: [ | ||
{ | ||
files: ["**/*.md"], | ||
// In v1, configuration for fenced code blocks went inside an | ||
// `overrides` entry with a .md pattern, for example: | ||
parserOptions: { | ||
ecmaFeatures: { | ||
impliedStrict: true | ||
} | ||
}, | ||
rules: { | ||
"no-console": "off" | ||
} | ||
} | ||
] | ||
}; | ||
``` | ||
[RFC3](https://github.com/eslint/rfcs/blob/master/designs/2018-processors-improvements/README.md) designed a new processor API to remove these limitations, and the new API was [implemented](https://github.com/eslint/eslint/pull/11552) as part of ESLint v6. | ||
`eslint-plugin-markdown` v2 uses this new API. | ||
```bash | ||
$ npm install --save-dev eslint@latest eslint-plugin-markdown@next | ||
``` | ||
All of the Markdown file extensions that were previously hard-coded are now fully configurable in `.eslintrc.js`. | ||
Use the new `processor` option to apply the `markdown/markdown` processor on any Markdown documents matching a `files` pattern. | ||
Each fenced code block inside a Markdown document has a virtual filename appended to the Markdown file's path. | ||
The virtual filename's extension will match the fenced code block's syntax tag, so for example, <code>```js</code> code blocks in <code>README.md</code> would match <code>README.md/*.js</code>. | ||
```js | ||
// eslintrc.js for eslint-plugin-markdown v2 | ||
module.exports = { | ||
plugins: ["markdown"], | ||
overrides: [ | ||
{ | ||
// In v2, explicitly apply eslint-plugin-markdown's `markdown` | ||
// processor on any Markdown files you want to lint. | ||
files: ["**/*.md"], | ||
processor: "markdown/markdown" | ||
}, | ||
{ | ||
// In v2, configuration for fenced code blocks is separate from the | ||
// containing Markdown file. Each code block has a virtual filename | ||
// appended to the Markdown file's path. | ||
files: ["**/*.md/*.js"], | ||
// Configuration for fenced code blocks goes with the override for | ||
// the code block's virtual filename, for example: | ||
parserOptions: { | ||
ecmaFeatures: { | ||
impliedStrict: true | ||
} | ||
}, | ||
rules: { | ||
"no-console": "off" | ||
} | ||
} | ||
] | ||
}; | ||
``` | ||
If you need to precisely mimic the behavior of v1 with the hard-coded Markdown extensions and fenced code block syntaxes, you can use those as glob patterns in `overrides[].files`: | ||
```js | ||
// eslintrc.js for v2 mimicking v1 behavior | ||
module.exports = { | ||
plugins: ["markdown"], | ||
overrides: [ | ||
{ | ||
files: ["**/*.{md,mkdn,mdown,markdown}"], | ||
processor: "markdown/markdown" | ||
}, | ||
{ | ||
files: ["**/*.{md,mkdn,mdown,markdown}/*.{js,javascript,jsx,node}"] | ||
// ... | ||
} | ||
] | ||
}; | ||
``` | ||
### Running | ||
#### ESLint v7 | ||
You can run ESLint as usual and do not need to use the `--ext` option. | ||
ESLint v7 [automatically lints file extensions specified in `overrides[].files` patterns in config files](https://github.com/eslint/rfcs/blob/0253e3a95511c65d622eaa387eb73f824249b467/designs/2019-additional-lint-targets/README.md). | ||
#### ESLint v6 | ||
Use the [`--ext` option](https://eslint.org/docs/user-guide/command-line-interface#ext) to include `.js` and `.md` extensions in ESLint's file search: | ||
```sh | ||
eslint --ext md . | ||
eslint --ext js,md . | ||
``` | ||
It will lint `js`, `javascript`, `jsx`, or `node` [fenced code blocks](https://help.github.com/articles/github-flavored-markdown/#fenced-code-blocks) in your Markdown documents: | ||
### Autofixing | ||
With this plugin, [ESLint's `--fix` option](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some issues in your Markdown fenced code blocks. | ||
To enable this, pass the `--fix` flag when you run ESLint: | ||
```bash | ||
eslint --fix . | ||
``` | ||
## What Gets Linted? | ||
With this plugin, ESLint will lint [fenced code blocks](https://help.github.com/articles/github-flavored-markdown/#fenced-code-blocks) in your Markdown documents: | ||
````markdown | ||
@@ -42,3 +183,5 @@ ```js | ||
```JavaScript | ||
Here is some regular Markdown text that will be ignored. | ||
```js | ||
// This also gets linted | ||
@@ -55,13 +198,9 @@ | ||
```jsx | ||
// This gets linted too | ||
// This can be linted too if you add `.jsx` files to `overrides` in ESLint v7 | ||
// or pass `--ext jsx` in ESLint v6. | ||
var div = <div className="jsx"></div>; | ||
``` | ||
```node | ||
// And this | ||
console.log(process.version); | ||
``` | ||
```` | ||
Blocks that don't specify either `js`, `javascript`, `jsx`, or `node` syntax are ignored: | ||
Blocks that don't specify a syntax are ignored: | ||
@@ -72,3 +211,8 @@ ````markdown | ||
``` | ||
```` | ||
Unless a fenced code block's syntax appears as a file extension in `overrides[].files` in ESLint v7, it will be ignored. | ||
If using ESLint v6, you must also include the extension with the `--ext` option. | ||
````markdown | ||
```python | ||
@@ -81,3 +225,5 @@ print("This doesn't get linted either.") | ||
The processor will convert HTML comments immediately preceding a code block into JavaScript block comments and insert them at the beginning of the source code that it passes to ESLint. This permits configuring ESLint via configuration comments while keeping the configuration comments themselves hidden when the markdown is rendered. Comment bodies are passed through unmodified, so the plugin supports any [configuration comments](http://eslint.org/docs/user-guide/configuring) supported by ESLint itself. | ||
The processor will convert HTML comments immediately preceding a code block into JavaScript block comments and insert them at the beginning of the source code that it passes to ESLint. | ||
This permits configuring ESLint via configuration comments while keeping the configuration comments themselves hidden when the markdown is rendered. | ||
Comment bodies are passed through unmodified, so the plugin supports any [configuration comments](http://eslint.org/docs/user-guide/configuring) supported by ESLint itself. | ||
@@ -117,5 +263,8 @@ This example enables the `browser` environment, disables the `no-alert` rule, and configures the `quotes` rule to prefer single quotes: | ||
## Skipping Blocks | ||
### Skipping Blocks | ||
Sometimes it can be useful to have code blocks marked with `js` even though they don't contain valid JavaScript syntax, such as commented JSON blobs that need `js` syntax highlighting. Standard `eslint-disable` comments only silence rule reporting, but ESLint still reports any syntax errors it finds. In cases where a code block should not even be parsed, insert a non-standard `<!-- eslint-skip -->` comment before the block, and this plugin will hide the following block from ESLint. Neither rule nor syntax errors will be reported. | ||
Sometimes it can be useful to have code blocks marked with `js` even though they don't contain valid JavaScript syntax, such as commented JSON blobs that need `js` syntax highlighting. | ||
Standard `eslint-disable` comments only silence rule reporting, but ESLint still reports any syntax errors it finds. | ||
In cases where a code block should not even be parsed, insert a non-standard `<!-- eslint-skip -->` comment before the block, and this plugin will hide the following block from ESLint. | ||
Neither rule nor syntax errors will be reported. | ||
@@ -140,10 +289,2 @@ ````markdown | ||
## Fix issues automatically | ||
This plugin can attempt to fix some of the issues automatically using [`fix` ESLint option](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems). This option instructs ESLint to try to fix as many issues as possible. To enable this option you can add `--fix` to your ESLint call, for example: | ||
```bash | ||
eslint --fix --ext md . | ||
``` | ||
## Unsatisfiable Rules | ||
@@ -158,71 +299,71 @@ | ||
Given that code snippets often lack full context, and adding full context | ||
through configuration comments may be too cumbersome to apply for each snippet, | ||
one may wish to instead set defaults for all one's JavaScript snippets in a | ||
manner that applies to all Markdown files within your project (or a specific | ||
directory). | ||
Given that code snippets often lack full context, and adding full context through configuration comments may be too cumbersome to apply for each snippet, one may wish to instead set defaults for all one's JavaScript snippets in a manner that applies to all Markdown files within your project (or a specific directory). | ||
ESLint allows a configuration property `overrides` which has a `files` | ||
property which accepts a | ||
[glob pattern](https://eslint.org/docs/user-guide/configuring#configuration-based-on-glob-patterns), allowing you to designate files (such as all `md` files) whose rules will | ||
be overridden. | ||
ESLint allows a configuration property `overrides` which has a `files` property which accepts a [glob pattern](https://eslint.org/docs/user-guide/configuring#configuration-based-on-glob-patterns), allowing you to designate files (such as all `md` files) whose rules will be overridden. | ||
The following example shows the disabling of a few commonly problematic rules | ||
for code snippets. It also points to the fact that some rules | ||
(e.g., `padded-blocks`) may be more appealing for disabling given that | ||
one may wish for documentation to be more liberal in providing padding for | ||
readability. | ||
The following example shows the disabling of a few commonly problematic rules for code snippets. | ||
It also points to the fact that some rules (e.g., `padded-blocks`) may be more appealing for disabling given that one may wish for documentation to be more liberal in providing padding for readability. | ||
```js | ||
// .eslintrc.json | ||
{ | ||
// ... | ||
"overrides": [{ | ||
"files": ["**/*.md"], | ||
"rules": { | ||
"no-undef": "off", | ||
"no-unused-vars": "off", | ||
"no-console": "off", | ||
"padded-blocks": "off" | ||
// .eslintrc.js | ||
module.exports = { | ||
plugins: ["markdown"], | ||
overrides: [ | ||
{ | ||
files: ["**/*.md"], | ||
processor: "markdown/markdown" | ||
}, | ||
{ | ||
files: ["**/*.md/*.js"], | ||
rules: { | ||
"no-undef": "off", | ||
"no-unused-vars": "off", | ||
"no-console": "off", | ||
"padded-blocks": "off" | ||
} | ||
} | ||
}] | ||
} | ||
] | ||
}; | ||
``` | ||
#### Overriding `strict` | ||
### Overriding `strict` | ||
The `strict` rule is technically satisfiable inside of Markdown code blocks, but writing a `"use strict"` directive at the top of every code block is tedious and distracting. We recommend a glob pattern for `.md` files to disable `strict` and enable the `impliedStrict` [parser option](https://eslint.org/docs/user-guide/configuring#specifying-parser-options) so the code blocks still parse in strict mode: | ||
The `strict` rule is technically satisfiable inside of Markdown code blocks, but writing a `"use strict"` directive at the top of every code block is tedious and distracting. | ||
We recommend a glob pattern for `.md` files containing `.js` blocks to disable `strict` and enable the `impliedStrict` [parser option](https://eslint.org/docs/user-guide/configuring#specifying-parser-options) so the code blocks still parse in strict mode: | ||
```js | ||
// .eslintrc.json | ||
{ | ||
// ... | ||
"overrides": [{ | ||
"files": ["**/*.md"], | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"impliedStrict": true | ||
// .eslintrc.js | ||
module.exports = { | ||
plugins: ["markdown"], | ||
overrides: [ | ||
{ | ||
files: ["**/*.md"], | ||
processor: "markdown/markdown" | ||
}, | ||
{ | ||
files: ["**/*.md/*.js"], | ||
parserOptions: { | ||
ecmaFeatures: { | ||
impliedStrict: true | ||
} | ||
} | ||
}, | ||
"rules": { | ||
"strict": "off" | ||
} | ||
}] | ||
} | ||
] | ||
}; | ||
``` | ||
## Tips for use with Atom linter-eslint | ||
## Editor Integrations | ||
The [linter-eslint](https://atom.io/packages/linter-eslint) package allows for | ||
linting within the [Atom IDE](https://atom.io/). | ||
### VSCode | ||
In order to see `eslint-plugin-markdown` work its magic within Markdown code | ||
blocks in your Atom editor, you can go to `linter-eslint`'s settings and | ||
within "List of scopes to run ESLint on...", add the cursor scope "source.gfm". | ||
[`vscode-eslint`](https://github.com/microsoft/vscode-eslint) has built-in support for the Markdown processor. | ||
However, this reports a problem when viewing Markdown which does not have | ||
configuration, so you may wish to use the cursor scope "source.embedded.js", | ||
but note that `eslint-plugin-markdown` configuration comments and skip | ||
directives won't work in this context. | ||
### Atom | ||
The [`linter-eslint`](https://atom.io/packages/linter-eslint) package allows for linting within the [Atom IDE](https://atom.io/). | ||
In order to see `eslint-plugin-markdown` work its magic within Markdown code blocks in your Atom editor, you can go to `linter-eslint`'s settings and within "List of scopes to run ESLint on...", add the cursor scope "source.gfm". | ||
However, this reports a problem when viewing Markdown which does not have configuration, so you may wish to use the cursor scope "source.embedded.js", but note that `eslint-plugin-markdown` configuration comments and skip directives won't work in this context. | ||
## Contributing | ||
@@ -229,0 +370,0 @@ |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
34254
372
8
312
1
+ Added@eslint-community/eslint-utils@4.4.1(transitive)
+ Added@eslint-community/regexpp@4.12.1(transitive)
+ Added@eslint/config-array@0.19.1(transitive)
+ Added@eslint/core@0.10.0(transitive)
+ Added@eslint/eslintrc@3.2.0(transitive)
+ Added@eslint/js@9.18.0(transitive)
+ Added@eslint/object-schema@2.1.5(transitive)
+ Added@eslint/plugin-kit@0.2.5(transitive)
+ Added@humanfs/core@0.19.1(transitive)
+ Added@humanfs/node@0.16.6(transitive)
+ Added@humanwhocodes/module-importer@1.0.1(transitive)
+ Added@humanwhocodes/retry@0.3.10.4.1(transitive)
+ Added@types/estree@1.0.6(transitive)
+ Added@types/json-schema@7.0.15(transitive)
+ Addedacorn@8.14.0(transitive)
+ Addedacorn-jsx@5.3.2(transitive)
+ Addedajv@6.12.6(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedargparse@2.0.1(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedcallsites@3.1.0(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedcross-spawn@7.0.6(transitive)
+ Addeddebug@4.4.0(transitive)
+ Addeddeep-is@0.1.4(transitive)
+ Addedescape-string-regexp@4.0.0(transitive)
+ Addedeslint@9.18.0(transitive)
+ Addedeslint-scope@8.2.0(transitive)
+ Addedeslint-visitor-keys@3.4.34.2.0(transitive)
+ Addedespree@10.3.0(transitive)
+ Addedesquery@1.6.0(transitive)
+ Addedesrecurse@4.3.0(transitive)
+ Addedestraverse@5.3.0(transitive)
+ Addedesutils@2.0.3(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedfast-levenshtein@2.0.6(transitive)
+ Addedfile-entry-cache@8.0.0(transitive)
+ Addedfind-up@5.0.0(transitive)
+ Addedflat-cache@4.0.1(transitive)
+ Addedflatted@3.3.2(transitive)
+ Addedglob-parent@6.0.2(transitive)
+ Addedglobals@14.0.0(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedignore@5.3.2(transitive)
+ Addedimport-fresh@3.3.0(transitive)
+ Addedimurmurhash@0.1.4(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-glob@4.0.3(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedjs-yaml@4.1.0(transitive)
+ Addedjson-buffer@3.0.1(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedjson-stable-stringify-without-jsonify@1.0.1(transitive)
+ Addedkeyv@4.5.4(transitive)
+ Addedlevn@0.4.1(transitive)
+ Addedlocate-path@6.0.0(transitive)
+ Addedlodash.merge@4.6.2(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedms@2.1.3(transitive)
+ Addednatural-compare@1.4.0(transitive)
+ Addedoptionator@0.9.4(transitive)
+ Addedp-limit@3.1.0(transitive)
+ Addedp-locate@5.0.0(transitive)
+ Addedparent-module@1.0.1(transitive)
+ Addedpath-exists@4.0.0(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedprelude-ls@1.2.1(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedresolve-from@4.0.0(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedstrip-json-comments@3.1.1(transitive)
+ Addedsupports-color@7.2.0(transitive)
+ Addedtype-check@0.4.0(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedword-wrap@1.2.5(transitive)
+ Addedyocto-queue@0.1.0(transitive)
- Removedobject-assign@^4.0.1
- Removedobject-assign@4.1.1(transitive)