diff --git a/.eslintrc.json b/.eslintrc.json index 9bbe884..e64f9ff 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,13 +1,17 @@ { "root": true, "parserOptions": { + "ecmaVersion": 2020, "sourceType": "module" }, - "extends": [ - "eslint-config-airbnb-base", - "plugin:prettier/recommended" - ], + "extends": ["eslint-config-airbnb-base", "plugin:prettier/recommended"], "rules": { + "no-empty": [ + 2, + { + "allowEmptyCatch": true + } + ], "no-underscore-dangle": "off", "no-shadow": "off" }