diff options
Diffstat (limited to '.eslintrc.json')
| -rw-r--r-- | .eslintrc.json | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 9bd404dfa..8a433a16f 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,11 +1,13 @@ { "root": true, + "plugins": ["ssr-friendly"], "extends": [ "plugin:import/errors", "plugin:import/warnings", "plugin:unicorn/recommended", "xo", - "xo/browser" + "xo/browser", + "plugin:ssr-friendly/recommended" ], "rules": { "arrow-body-style": "off", @@ -63,6 +65,8 @@ "unicorn/prefer-prototype-methods": "off", "unicorn/prefer-query-selector": "off", "unicorn/prefer-spread": "off", - "unicorn/prevent-abbreviations": "off" + "unicorn/prevent-abbreviations": "off", + "ssr-friendly/no-dom-globals-in-react-cc-render": "off", + "ssr-friendly/no-dom-globals-in-react-fc": "off" } } |
