Skip to content

Commit 078bd2f

Browse files
committed
Add linting
1 parent 8555c26 commit 078bd2f

File tree

3 files changed

+35
-3
lines changed

3 files changed

+35
-3
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.DS_Store
2+
*.log
3+
node_modules/

package.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "hast",
3+
"private": true,
4+
"version": "0.0.0",
5+
"description": "hypertext abstract syntax tree",
6+
"license": "MIT",
7+
"keywords": [],
8+
"repository": "syntax-tree/hast",
9+
"bugs": "https://github.com/syntax-tree/hast/issues",
10+
"author": "Titus Wormer <[email protected]> (wooorm.com)",
11+
"contributors": [
12+
"Titus Wormer <[email protected]> (wooorm.com)"
13+
],
14+
"devDependencies": {
15+
"remark-cli": "^6.0.0",
16+
"remark-preset-wooorm": "^4.0.0"
17+
},
18+
"scripts": {
19+
"format": "remark . -qfo"
20+
},
21+
"remarkConfig": {
22+
"plugins": [
23+
"preset-wooorm"
24+
]
25+
}
26+
}

readme.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<!--lint disable no-html-->
2+
13
# ![HAST][logo]
24

35
**H**ypertext **A**bstract **S**yntax **T**ree format.
@@ -21,8 +23,9 @@ The reason for introducing a new “virtual” DOM is primarily:
2123

2224
**HAST** is a subset of [Unist][] and implemented by [rehype][].
2325

24-
This document may not be released. See [releases][] for released
25-
documents. The latest released version is [`2.2.0`][latest].
26+
This document may not be released.
27+
See [releases][] for released documents.
28+
The latest released version is [`2.2.0`][latest].
2629

2730
## Table of Contents
2831

@@ -53,7 +56,7 @@ alphabetically based on content after `hast-util-`
5356
* [`hast-util-assert`](https://github.com/syntax-tree/hast-util-assert)
5457
— Assert HAST nodes
5558
* [`hast-util-class-list`](https://github.com/brechtcs/hast-util-class-list)
56-
— Simulate the browser's `classList` API for HAST nodes
59+
— Simulate the browsers `classList` API for HAST nodes
5760
* [`hast-util-embedded`](https://github.com/syntax-tree/hast-util-embedded)
5861
— Check if `node` is embedded content
5962
* [`hast-util-find-and-replace`](https://github.com/syntax-tree/hast-util-find-and-replace)

0 commit comments

Comments
 (0)