From 40e5d4bb102ca9fa81cec3c10a4a3a36dcf051bf Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Wed, 6 Nov 2019 23:16:49 +0200 Subject: [PATCH] eslint: update rules. --- .eslintrc.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 0a8048c..9f0537a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -62,6 +62,8 @@ module.exports = { "react/jsx-curly-brace-presence": ["error", "never"], "react/jsx-key": ["error", { "checkFragmentShorthand": true }], "react/jsx-indent": ["error", 2, { checkAttributes: true, indentLogicalExpressions: true }], + "react/void-dom-elements-no-children": ["error"], + "react/no-unknown-property": ["error"], "quotes": "off", "@typescript-eslint/quotes": ["error", "single", { "allowTemplateLiterals": true, "avoidEscape": true }],