mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 14:30:12 +01:00
Change ESLint ecmaVersion to 2019, remove unused catch binding.
This commit is contained in:
parent
aafd0830a2
commit
fb49877c86
2 changed files with 2 additions and 3 deletions
|
|
@ -345,8 +345,7 @@ function getEnabledRulesPerLineNumber(
|
|||
...config,
|
||||
...json
|
||||
};
|
||||
// eslint-disable-next-line unicorn/prefer-optional-catch-binding
|
||||
} catch (error) {
|
||||
} catch {
|
||||
// Ignore parse errors for inline configuration
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue