Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@
"Emojies",
"molestie",
"Lyyy",
"memfs"
"memfs",
"eslintcache",
"cspellcache"
],

"ignorePaths": [
"CHANGELOG.md",
"package.json",
Expand Down
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

52 changes: 0 additions & 52 deletions .eslintrc.js

This file was deleted.

20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ Remark options
Type:

```ts
type remarkOptions = {
plugins: Array<string | Array>;
settings: Object;
data: Object;
};
interface remarkOptions {
plugins: (string | any[])[];
settings: object;
data: object;
}
```

- **[`plugins`](#plugins)**
Expand All @@ -90,7 +90,7 @@ Allows to connect [`remark` plugins](https://github.com/wooorm/remark/blob/maste
Type:

```ts
type plugins = Array<string | Array>;
type plugins = (string | any[])[];
```

Default: `[]`
Expand Down Expand Up @@ -133,8 +133,8 @@ If need to specify options for the plugin, you can pass the plugin using an arra
**webpack.config.js**

```js
import RemarkFrontmatter from "remark-frontmatter";
import RemarkBookmarks from "remark-bookmarks";
import RemarkFrontmatter from "remark-frontmatter";

module.exports = {
// ...
Expand Down Expand Up @@ -175,7 +175,7 @@ Remark settings
Type:

```ts
type settings = Object;
type settings = object;
```

Default: `undefined`
Expand Down Expand Up @@ -217,7 +217,7 @@ Information available to all plugins
Type:

```ts
type data = Object;
type data = object;
```

Default: `undefined`
Expand Down Expand Up @@ -317,6 +317,7 @@ To get HTML, you need to add [`remark-html`](https://github.com/wooorm/remark-ht

```js
import md from "markdown-file.md";

console.log(md);
```

Expand Down Expand Up @@ -356,6 +357,7 @@ module.exports = {

```js
import md from "markdown-file.md";

console.log(md);
```

Expand Down
8 changes: 8 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { defineConfig } from "eslint/config";
import configs from "eslint-config-webpack/configs.js";

export default defineConfig([
{
extends: [configs["recommended-dirty"]],
},
]);
Loading
Loading