« get me outta code hell

real pragma, and some eslint fixes - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page/static.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-06-26 18:02:27 -0300
committer(quasar) nebula <qznebula@protonmail.com>2022-06-26 18:02:27 -0300
commitc75b029160248b6935e5c0f5156cc7a870311e82 (patch)
tree693c5cca195e50b048b0086e768aa06a7c1986ee /src/page/static.js
parentf65e712fe8b8b1a196da2db286ebc6a5c9bf7433 (diff)
real pragma, and some eslint fixes
Diffstat (limited to 'src/page/static.js')
-rw-r--r--src/page/static.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/page/static.js b/src/page/static.js
index ecd77c9..f4a8197 100644
--- a/src/page/static.js
+++ b/src/page/static.js
@@ -1,24 +1,24 @@
-// @format
-//
+/** @format */
+
 // Static content page specification. (These are static pages coded into the
 // wiki data folder, used for a variety of purposes, e.g. wiki info,
 // changelog, and so on.)
 
 // Imports
 
-import fixWS from "fix-whitespace";
+import fixWS from 'fix-whitespace';
 
 // Page exports
 
-export function targets({ wikiData }) {
+export function targets({wikiData}) {
   return wikiData.staticPageData;
 }
 
-export function write(staticPage, { wikiData }) {
+export function write(staticPage, {wikiData}) {
   const page = {
-    type: "page",
-    path: ["staticPage", staticPage.directory],
-    page: ({ language, transformMultiline }) => ({
+    type: 'page',
+    path: ['staticPage', staticPage.directory],
+    page: ({language, transformMultiline}) => ({
       title: staticPage.name,
       stylesheet: staticPage.stylesheet,
 
@@ -31,7 +31,7 @@ export function write(staticPage, { wikiData }) {
                 `,
       },
 
-      nav: { simple: true },
+      nav: {simple: true},
     }),
   };