diff --git a/.eslintrc.json b/.eslintrc.json index 685b1c7..ce6a96c 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -15,7 +15,7 @@ ], "plugins": ["import"], "parserOptions": { - "ecmaVersion": 2021 + "ecmaVersion": 2022 }, "settings": { "jest": { diff --git a/package.json b/package.json index 2c527c3..bfb31f3 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "scripts": { "check": "npm-run-all --parallel check:*", - "check:lint": "eslint --no-eslintrc --config=.eslintrc.json **/*.js", + "check:lint": "eslint --no-eslintrc --config=.eslintrc.json **/*.{js,mjs}", "check:prettier": "prettier --check **/*.{js,json,md}", "ci": "npm-run-all check test", "postinstall": "lerna bootstrap",