eslint: update rules.

master
Tom Hacohen 5 years ago
parent ab5495e221
commit 40e5d4bb10

@ -62,6 +62,8 @@ module.exports = {
"react/jsx-curly-brace-presence": ["error", "never"], "react/jsx-curly-brace-presence": ["error", "never"],
"react/jsx-key": ["error", { "checkFragmentShorthand": true }], "react/jsx-key": ["error", { "checkFragmentShorthand": true }],
"react/jsx-indent": ["error", 2, { checkAttributes: true, indentLogicalExpressions: true }], "react/jsx-indent": ["error", 2, { checkAttributes: true, indentLogicalExpressions: true }],
"react/void-dom-elements-no-children": ["error"],
"react/no-unknown-property": ["error"],
"quotes": "off", "quotes": "off",
"@typescript-eslint/quotes": ["error", "single", { "allowTemplateLiterals": true, "avoidEscape": true }], "@typescript-eslint/quotes": ["error", "single", { "allowTemplateLiterals": true, "avoidEscape": true }],

Loading…
Cancel
Save