Add custom rule example to lint JavaScript code blocks using ESLint (fixes #197).

This commit is contained in:
David Anson 2019-07-30 23:07:42 -07:00
parent c3e8eab87b
commit 4d11e60cfe
4 changed files with 99 additions and 2 deletions

23
test/lint-javascript.md Normal file
View file

@ -0,0 +1,23 @@
# Lint JavaScript
<!-- markdownlint-disable MD046 -->
Text
```js
"use strict";
var x = 0;
console.log(x);
```
Text
var y = 0;
Text
Text `undefined` text
Text