diff --git a/index.js b/index.js index 64aeb14..9434670 100644 --- a/index.js +++ b/index.js @@ -83,6 +83,9 @@ module.exports = { * using named for the base component in tests, and default for connected/router * component in the app-proper. */ 'import/no-named-as-default': 'off', + + // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-use-before-define.md + 'no-use-before-define': 'off', }, settings: { diff --git a/package.json b/package.json index ca8e10a..13626b2 100644 --- a/package.json +++ b/package.json @@ -18,18 +18,18 @@ "lint:fix": "eslint --ignore-pattern '!.eslintrc.js' --fix '**/{.,}*.js'" }, "devDependencies": { - "@typescript-eslint/parser": "^4.15.1", + "@typescript-eslint/parser": "^4.15.2", "eslint": "^6.4.0", - "eslint-config-airbnb": "^18.0.1", + "eslint-config-airbnb": "^18.2.1", "eslint-plugin-import": "^2.18.2", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-react": "^7.14.3", "typescript": "^4.2.2" }, "peerDependencies": { - "@typescript-eslint/parser": "^4.15.1", + "@typescript-eslint/parser": "^4.15.2", "eslint": "^6.4.0", - "eslint-config-airbnb": "^18.0.1", + "eslint-config-airbnb": "^18.2.1", "eslint-plugin-import": "^2.18.2", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-react": "^7.14.3",