Change ESLint ecmaVersion to 2019, remove unused catch binding.

This commit is contained in:
David Anson 2020-10-20 19:59:38 -07:00
parent aafd0830a2
commit fb49877c86
2 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{ {
"parserOptions": { "parserOptions": {
"ecmaVersion": 2018 "ecmaVersion": 2019
}, },
"env": { "env": {
"node": true, "node": true,

View file

@ -345,8 +345,7 @@ function getEnabledRulesPerLineNumber(
...config, ...config,
...json ...json
}; };
// eslint-disable-next-line unicorn/prefer-optional-catch-binding } catch {
} catch (error) {
// Ignore parse errors for inline configuration // Ignore parse errors for inline configuration
} }
} }