diff options
| author | Johann-S <[email protected]> | 2021-02-17 08:22:44 +0100 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2021-09-15 16:42:04 +0200 |
| commit | d73d835380f793ab7ca40b82a6ce09ba8f5946c5 (patch) | |
| tree | 7c98a87a596ae937983498980afb6e2fa239ab53 /.eslintrc.json | |
| parent | bdfb4cc54d29c0c7bcd7944d3c8de2e1cd41bb6c (diff) | |
| download | bootstrap-jo-ssr-friendly.tar.xz bootstrap-jo-ssr-friendly.zip | |
being ssr friendly when accessing dom objectsjo-ssr-friendly
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" } } |
