Skip to content

Commit e5f793e

Browse files
committed
Fix linting errors
1 parent afc9c23 commit e5f793e

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Install Node.js
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 16
19+
node-version: lts/*
2020
- name: Install Packages
2121
run: npm install
2222
env:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ npm install --save-dev eslint eslint-plugin-markdown
2828
In your `eslint.config.js` file, import `eslint-plugin-markdown` and included the recommended config to enable the Markdown processor on all `.md` files:
2929

3030
```js
31-
// / eslint.config.js
31+
// eslint.config.js
3232
import markdown from "eslint-plugin-markdown";
3333

3434
export default [

eslint.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ module.exports = [
4646
}
4747
},
4848
rules: {
49-
"lines-around-comment": "off"
49+
"lines-around-comment": "off",
50+
"n/no-missing-import": "off"
5051
}
5152
}
5253
];

tests/lib/plugin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ describe("LegacyESLint", () => {
7676
// the plugin, so we need to make sure it's resolvable and link it
7777
// if not.
7878

79-
79+
// eslint-disable-next-line n/no-missing-require -- Known possible failure.
8080
require.resolve("eslint-plugin-markdown");
8181
} catch (error) {
8282
if (error.code === "MODULE_NOT_FOUND") {

0 commit comments

Comments
 (0)