mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Add @stylistic/eslint-plugin to ESLint configuration.
This commit is contained in:
parent
fe02674ce0
commit
164bbac651
21 changed files with 103 additions and 78 deletions
|
|
@ -21,14 +21,14 @@ module.exports = {
|
|||
codeBlock.children,
|
||||
[ "codeFlowValue" ]
|
||||
);
|
||||
const dollarMatches = codeFlowValues.
|
||||
map((codeFlowValue) => ({
|
||||
const dollarMatches = codeFlowValues
|
||||
.map((codeFlowValue) => ({
|
||||
"result": codeFlowValue.text.match(dollarCommandRe),
|
||||
"startColumn": codeFlowValue.startColumn,
|
||||
"startLine": codeFlowValue.startLine,
|
||||
"text": codeFlowValue.text
|
||||
})).
|
||||
filter((dollarMatch) => dollarMatch.result);
|
||||
}))
|
||||
.filter((dollarMatch) => dollarMatch.result);
|
||||
if (dollarMatches.length === codeFlowValues.length) {
|
||||
for (const dollarMatch of dollarMatches) {
|
||||
// @ts-ignore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue