File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
import retext from "remark-retext"
2
2
import { Parser } from "retext-english"
3
3
import dictionary from "dictionary-en"
4
- import { readFileSync } from ' node:fs'
4
+ import { readFileSync } from " node:fs"
5
5
export default {
6
6
plugins : [
7
7
"remark-lint" ,
@@ -22,9 +22,14 @@ export default {
22
22
[ retext , Parser ] ,
23
23
"retext-indefinite-article" ,
24
24
[ "retext-readability" , { threshold : 6 / 7 } ] ,
25
- [ "retext-spell" , {
26
- dictionary,
27
- ignore : readFileSync ( '.spelling' , 'utf-8' ) . split ( '\n' ) . filter ( l => ! l . startsWith ( '#' ) )
28
- } ] ,
25
+ [
26
+ "retext-spell" ,
27
+ {
28
+ dictionary,
29
+ ignore : readFileSync ( ".spelling" , "utf-8" )
30
+ . split ( "\n" )
31
+ . filter ( ( l ) => ! l . startsWith ( "#" ) ) ,
32
+ } ,
33
+ ] ,
29
34
] ,
30
35
}
Original file line number Diff line number Diff line change @@ -199,4 +199,5 @@ class MyElement extends HTMLElement {
199
199
}
200
200
}
201
201
```
202
+
202
203
[ lifecycle ] : /learn/components/lifecycle-reference
You can’t perform that action at this time.
0 commit comments