diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d1f3bd..68015e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,5 @@ # CHANGELOG - ## 0.26.1 / 2021-03-30 - [deps] update `eslint-config-yoctol-base` to `0.24.1` diff --git a/rules/react.js b/rules/react.js index 6e19f93..439b9bf 100644 --- a/rules/react.js +++ b/rules/react.js @@ -43,5 +43,11 @@ module.exports = { // https://github.com/facebook/react/tree/master/packages/eslint-plugin-react-hooks 'react-hooks/rules-of-hooks': 'error', 'react-hooks/exhaustive-deps': 'error', + + // turn off react rules that will conflict with prettier + 'react/jsx-curly-newline': 'off', + 'react/jsx-indent': 'off', + 'react/jsx-one-expression-per-line': 'off', + 'react/jsx-wrap-multilines': 'off', }, };