mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +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
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2018
|
||||
"ecmaVersion": 2019
|
||||
},
|
||||
"env": {
|
||||
"node": true,
|
||||
|
|
|
|||
|
|
@ -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