Commit 1a81c44
fix: undefined place in vFile message causes TypeError (#521)
Many remark-lint errors do not set a place variable in the vFile
message. This code should accept undefined for this field.
fixes #520
Co-authored-by: JounQin <[email protected]>1 parent 4623359 commit 1a81c44
File tree
2 files changed
+11
-1
lines changed- .changeset
- packages/eslint-plugin-mdx/src/rules
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments