diff --git a/.eslintrc.json b/.eslintrc.json index 1494f4c..00ca4b1 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,4 +1,5 @@ { + "root": true, "plugins": ["jest", "@typescript-eslint"], "extends": ["plugin:github/recommended"], "parser": "@typescript-eslint/parser", @@ -13,14 +14,20 @@ "i18n-text/no-en": "off", "no-unused-vars": "off", "@typescript-eslint/no-unused-vars": "error", - "@typescript-eslint/explicit-member-accessibility": ["error", {"accessibility": "no-public"}], + "@typescript-eslint/explicit-member-accessibility": [ + "error", + {"accessibility": "no-public"} + ], "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/array-type": "error", "@typescript-eslint/await-thenable": "error", "@typescript-eslint/ban-ts-comment": "error", "camelcase": "off", "@typescript-eslint/consistent-type-assertions": "error", - "@typescript-eslint/explicit-function-return-type": ["error", {"allowExpressions": true}], + "@typescript-eslint/explicit-function-return-type": [ + "error", + {"allowExpressions": true} + ], "@typescript-eslint/func-call-spacing": ["error", "never"], "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-empty-interface": "error", diff --git a/package.json b/package.json index ff191d4..f03ab8b 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "@typescript-eslint/parser": "^4.30.0", "@vercel/ncc": "^0.30.0", "eslint": "^7.32.0", - "eslint-plugin-github": "^4.1.5", + "eslint-plugin-github": "^4.2.0", "eslint-plugin-jest": "^24.4.0", "jest": "^27.1.0", "jest-circus": "^27.1.0", diff --git a/yarn.lock b/yarn.lock index 40ea0b2..876684c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1511,7 +1511,7 @@ eslint-plugin-filenames@^1.3.2: lodash.snakecase "4.1.1" lodash.upperfirst "4.3.1" -eslint-plugin-github@^4.1.5: +eslint-plugin-github@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/eslint-plugin-github/-/eslint-plugin-github-4.2.0.tgz#e59491ffb3d87da64d61b7a9bf304a5b7d9eff0f" integrity sha512-YAzCgSKFpZK7e3YVBKNmsVqHG5+/+cFWXKx8gi2zj96vlFA665mHRhHAMTNuPQmY22Lx4c5Xq26KIRiVLQMmqQ==