Browse Source

Prettier/Eslint - ignore storybook build folder - see #10089

LB Johnston 2 years ago
parent
commit
3f72b3ebf4

+ 1 - 0
.eslintignore

@@ -14,3 +14,4 @@ wagtail/snippets/static
 wagtail/users/static
 wagtail/contrib/*/static
 .mypy_cache
+/storybook-static

+ 1 - 0
.prettierignore

@@ -12,3 +12,4 @@ _build
 # Files which contain incompatible syntax.
 *.html
 .mypy_cache
+/storybook-static

+ 2 - 0
client/src/components/Draftail/decorators/__snapshots__/TooltipEntity.test.js.snap

@@ -23,6 +23,7 @@ exports[`TooltipEntity #openTooltip 1`] = `
       >
         <script
           id="wagtail-config"
+          type="application/json"
         >
           {"CSRF_TOKEN":"potato"}
         </script>
@@ -42,6 +43,7 @@ exports[`TooltipEntity #openTooltip 1`] = `
           >
             <script
               id="wagtail-config"
+              type="application/json"
             >
               {"CSRF_TOKEN":"potato"}
             </script>