From a51d3e1860b07518aaf3281f7084126e4a705b52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Wed, 21 Jan 2026 16:18:35 +0100 Subject: [PATCH] linting snippets --- themes/V3/Blank/snippets.js | 56 +++++++++---------- themes/V3/Blank/snippets/license.gen.js | 50 ++++++++--------- themes/V3/Blank/snippets/licenseAELF.js | 2 +- .../V3/Blank/snippets/licenseDTRPGCC.gen.js | 14 ++--- .../V3/Blank/snippets/licenseMongoose.gen.js | 2 +- themes/V3/Blank/snippets/licenseWotC.gen.js | 2 +- 6 files changed, 63 insertions(+), 63 deletions(-) diff --git a/themes/V3/Blank/snippets.js b/themes/V3/Blank/snippets.js index 3f7dd1c19..565e27355 100644 --- a/themes/V3/Blank/snippets.js +++ b/themes/V3/Blank/snippets.js @@ -208,7 +208,7 @@ export default [ view : 'text', snippets : [ { - name : 'AELF', + name : 'AELF', subsnippets : [ { name : 'Title Page Declaration', @@ -328,51 +328,51 @@ export default [ ] }, { - name : 'DTRPG Community Content', - incon : 'fab fa-dtrpg', + name : 'DTRPG Community Content', + incon : 'fab fa-dtrpg', subsnippets : [ { - name : "Chronicle System Guild Colophon", + name : 'Chronicle System Guild Colophon', gen : LicenseDTTRPGGCC.greenRoninChronicleSystemGuildColophon, }, { - name : 'Green Ronin\'s Age Creator\'s Alliance', + name : 'Green Ronin\'s Age Creator\'s Alliance', subsnippets : [ { - name : "Required Text", + name : 'Required Text', subsnippets : [ { - name : "Colophon", + name : 'Colophon', gen : LicenseDTTRPGGCC.greenRoninAgeCreatorsAllianceColophon, }, { - name : "Cover", + name : 'Cover', gen : LicenseDTTRPGGCC.greenRoninAgeCreatorsAllianceCover, }, ] }, { - name : "Logos", + name : 'Logos', subsnippets : [ { - name : "Age", + name : 'Age', gen : LicenseDTTRPGGCC.greenRoninAgeCreatorsAllianceLogo, }, { - name : "Blue Rose", + name : 'Blue Rose', gen : LicenseDTTRPGGCC.greenRoninAgeCreatorsAllianceBlueRoseLogo, }, { - name : "Fantasy Age Compatible", + name : 'Fantasy Age Compatible', gen : LicenseDTTRPGGCC.greenRoninAgeCreatorsAllianceFantasyAgeCompatible, }, { - name : "Modern AGE Compatible", + name : 'Modern AGE Compatible', gen : LicenseDTTRPGGCC.greenRoninAgeCreatorsAllianceModernAGECompatible, }, ] @@ -381,30 +381,30 @@ export default [ }, { - name : "Hero Kid\'s Creators Guild", + name : 'Hero Kid\'s Creators Guild', subsnippets : [ { - name: "Required Text", + name : 'Required Text', subsnippets : [ - + { - name : "heroForgeHeroKidsCreatorsGuildColophon", + name : 'heroForgeHeroKidsCreatorsGuildColophon', gen : LicenseDTTRPGGCC.heroForgeHeroKidsCreatorsGuildColophon, }, { - name : "heroForgeHeroKidsCreatorsGuildSuperKidsColophon", + name : 'heroForgeHeroKidsCreatorsGuildSuperKidsColophon', gen : LicenseDTTRPGGCC.heroForgeHeroKidsCreatorsGuildSuperKidsColophon, }, { - name : "heroForgeHeroKidsCreatorsGuildCover", + name : 'heroForgeHeroKidsCreatorsGuildCover', gen : LicenseDTTRPGGCC.heroForgeHeroKidsCreatorsGuildCover, }, { - name : "heroForgeHeroKidsCreatorsGuildSuperKidsCover", + name : 'heroForgeHeroKidsCreatorsGuildSuperKidsCover', gen : LicenseDTTRPGGCC.heroForgeHeroKidsCreatorsGuildSuperKidsCover, }, ] @@ -413,33 +413,33 @@ export default [ }, { - name : "Travellers' Aid Society", + name : 'Travellers\' Aid Society', subsnippets : [ { - name : "Legal Statement", + name : 'Legal Statement', gen : LicenseMongoosePublishing.TASLegal, } ] }, - + { - name : "Super-Powered by M&M", + name : 'Super-Powered by M&M', subsnippets : [ { - name : "Required Text", + name : 'Required Text', subsnippets : [ { - name : "Colophon", + name : 'Colophon', gen : LicenseDTTRPGGCC.greenRoninSuperPoweredMMColophon, }, { - name : "Cover", + name : 'Cover', gen : LicenseDTTRPGGCC.greenRoninSuperPoweredMMCover, }, { - name : "Section 15", + name : 'Section 15', gen : LicenseDTTRPGGCC.greenRoninSuperPoweredMMSection15, }, ] diff --git a/themes/V3/Blank/snippets/license.gen.js b/themes/V3/Blank/snippets/license.gen.js index 2bb3b9daa..65129e7e8 100644 --- a/themes/V3/Blank/snippets/license.gen.js +++ b/themes/V3/Blank/snippets/license.gen.js @@ -1,8 +1,8 @@ -/* eslint-disable max-lines */ + import dedent from 'dedent'; // Small and one-off licenses -// Licenses in this file consist of one or two functions at most. If something is larger, +// Licenses in this file consist of one or two functions at most. If something is larger, // has more assets, or variations, break it out into a distinct file. export default { @@ -35,28 +35,28 @@ export default { }} `; }, - cczero : ` \ This work is openly licensed via [CC0](https://creativecommons.org/publicdomain/zero/1.0/)\n\n`, - ccby : ` \ This work is openly licensed via [CC BY 4.0](https://creativecommons.org/publicdomain/by/4.0/)\n\n`, - ccbysa : ` \ This work is openly licensed via [CC BY-SA 4.0](https://creativecommons.org/publicdomain/by-sa/4.0/)\n\n`, - ccbync : ` \ This work is openly licensed via [CC BY-NC 4.0](https://creativecommons.org/publicdomain/by-nc/4.0/)\n\n`, - ccbyncsa : ` \ This work is openly licensed via [CC BY-NC-SA](https://creativecommons.org/publicdomain/by-nc-sa/4.0/)\n\n`, - ccbynd : ` \ This work is openly licensed via [CC BY-ND 4.0](https://creativecommons.org/publicdomain/by-nd/4.0/)\n\n`, - ccbyncnd : ` \ This work is openly licensed via [CC NY-NC-ND 4.0](https://creativecommons.org/publicdomain/by-nc-nd/4.0/)\n\n`, - cczeroBadge : `![CC0](http://mirrors.creativecommons.org/presskit/buttons/88x31/svg/cc-zero.svg)`, - ccbyBadge : `![CC BY](https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by.svg)`, - ccbysaBadge : `![CC BY-SA](https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-sa.svg)`, - ccbyncBadge : `![CC BY-NC](https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-nc.svg)`, - ccbyncsaBadge : `![CC BY-NC-SA](https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-nc-sa.svg)`, - ccbyndBadge : `![CC BY-ND](https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-nd.svg)`, - ccbyncndBadge : `![CC BY-NC-ND](https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-nc-nd.svg)`, - shadowDarkNotice : `\[Product Name]\ is an independent product published under the Shadowdark RPG Third-Party License and is not affiliated with The Arcane Library, LLC. Shadowdark RPG © 2023 The Arcane Library, LLC.\n`, - shadowDarkBlack : `![Shadowdark Black Logo](/assets/license_logos/The-Arcane-Library_Third-Party-License_Black.png){width:200px}`, - shadowDarkWhite : `![Shadowdark White Logo](/assets/license_logos/The-Arcane-Library_Third-Party-License_White.png){width:200px}`, - bladesDarkNotice : `This work is based on Blades in the Dark \(found at (http://www.bladesinthedark.com/)\), product of One Seven Design, developed and authored by John Harper, and licensed for our use under the Creative Commons Attribution 3.0 Unported license \(http://creativecommons.org/licenses/by/3.0/\).\n`, - bladesDarkLogo : `![Forged in the Dark](/assets/license_logos/Evil-Hat_Forged-In-The-Dark_Logo-V2.png)`, + cczero : ` \ This work is openly licensed via [CC0](https://creativecommons.org/publicdomain/zero/1.0/)\n\n`, + ccby : ` \ This work is openly licensed via [CC BY 4.0](https://creativecommons.org/publicdomain/by/4.0/)\n\n`, + ccbysa : ` \ This work is openly licensed via [CC BY-SA 4.0](https://creativecommons.org/publicdomain/by-sa/4.0/)\n\n`, + ccbync : ` \ This work is openly licensed via [CC BY-NC 4.0](https://creativecommons.org/publicdomain/by-nc/4.0/)\n\n`, + ccbyncsa : ` \ This work is openly licensed via [CC BY-NC-SA](https://creativecommons.org/publicdomain/by-nc-sa/4.0/)\n\n`, + ccbynd : ` \ This work is openly licensed via [CC BY-ND 4.0](https://creativecommons.org/publicdomain/by-nd/4.0/)\n\n`, + ccbyncnd : ` \ This work is openly licensed via [CC NY-NC-ND 4.0](https://creativecommons.org/publicdomain/by-nc-nd/4.0/)\n\n`, + cczeroBadge : `![CC0](http://mirrors.creativecommons.org/presskit/buttons/88x31/svg/cc-zero.svg)`, + ccbyBadge : `![CC BY](https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by.svg)`, + ccbysaBadge : `![CC BY-SA](https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-sa.svg)`, + ccbyncBadge : `![CC BY-NC](https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-nc.svg)`, + ccbyncsaBadge : `![CC BY-NC-SA](https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-nc-sa.svg)`, + ccbyndBadge : `![CC BY-ND](https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-nd.svg)`, + ccbyncndBadge : `![CC BY-NC-ND](https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-nc-nd.svg)`, + shadowDarkNotice : `\[Product Name]\ is an independent product published under the Shadowdark RPG Third-Party License and is not affiliated with The Arcane Library, LLC. Shadowdark RPG © 2023 The Arcane Library, LLC.\n`, + shadowDarkBlack : `![Shadowdark Black Logo](/assets/license_logos/The-Arcane-Library_Third-Party-License_Black.png){width:200px}`, + shadowDarkWhite : `![Shadowdark White Logo](/assets/license_logos/The-Arcane-Library_Third-Party-License_White.png){width:200px}`, + bladesDarkNotice : `This work is based on Blades in the Dark \(found at (http://www.bladesinthedark.com/)\), product of One Seven Design, developed and authored by John Harper, and licensed for our use under the Creative Commons Attribution 3.0 Unported license \(http://creativecommons.org/licenses/by/3.0/\).\n`, + bladesDarkLogo : `![Forged in the Dark](/assets/license_logos/Evil-Hat_Forged-In-The-Dark_Logo-V2.png)`, bladesDarkLogoAttribution : `*Blades in the Dark^tm^ is a trademark of One Seven Design. The Forged in the Dark Logo is © One Seven Design, and is used with permission.*`, - iconsCompatibility : 'Compatibility with Icons requires Icons Superpowered Roleplaying from Ad Infinitum Adventures. Ad Infinitum Adventures does not guarantee compatibility, and does not endorse this product.', - iconsTrademark : 'Icons Superpowered Roleplaying is a trademark of Steve Kenson, published exclusively by Ad Infinitum Adventures. The Icons Superpowered Roleplaying Compatibility Logo is a trademark of Ad Infinitum Adventures and is used under the Icons Superpowered Roleplaying Compatibility License.', - icondsSection15 : 'Open Game License v 1.0, Copyright 2000, Wizards of the Coast, Inc.\n::\nFudge System Reference Document, Copyright 2005, Grey Ghost Press, Inc.; Authors Steffan O\’Sullivan and Ann Dupuis, with additional material by Peter Bonney, Deird’Re Brooks, Reimer Behrends, Shawn Garbett, Steven Hammond, Ed Heil, Bernard Hsiung, Sedge Lewis, Gordon McCormick, Kent Matthewson, Peter Mikelsons, Anthony Roberson, Andy Skinner, Stephan Szabo, John Ughrin, Dmitri Zagidulin\n::\nFATE (Fantastic Adventures in Tabletop Entertainment), Copyright 2003 by Evil Hat Productions LLC; Authors Robert Donoghue and Fred Hicks\n::\nSpirit of the Century, Copyright 2006, Evil Hat Productions LLC. Authors Robert Donoghue, Fred Hicks, and Leonard Balsera.\n::\nIcons, Copyright 2010, Ad Infinitum Adventures; Author Steve Kenson.\n', - iconsCompatibilityLogo : '![Icons Compatibility Logo](/assets/license_logos/Ad-Infinitum-Adventures_Icons-Compatibility-License_Logo.png){width:200px}' + iconsCompatibility : 'Compatibility with Icons requires Icons Superpowered Roleplaying from Ad Infinitum Adventures. Ad Infinitum Adventures does not guarantee compatibility, and does not endorse this product.', + iconsTrademark : 'Icons Superpowered Roleplaying is a trademark of Steve Kenson, published exclusively by Ad Infinitum Adventures. The Icons Superpowered Roleplaying Compatibility Logo is a trademark of Ad Infinitum Adventures and is used under the Icons Superpowered Roleplaying Compatibility License.', + icondsSection15 : 'Open Game License v 1.0, Copyright 2000, Wizards of the Coast, Inc.\n::\nFudge System Reference Document, Copyright 2005, Grey Ghost Press, Inc.; Authors Steffan O\’Sullivan and Ann Dupuis, with additional material by Peter Bonney, Deird’Re Brooks, Reimer Behrends, Shawn Garbett, Steven Hammond, Ed Heil, Bernard Hsiung, Sedge Lewis, Gordon McCormick, Kent Matthewson, Peter Mikelsons, Anthony Roberson, Andy Skinner, Stephan Szabo, John Ughrin, Dmitri Zagidulin\n::\nFATE (Fantastic Adventures in Tabletop Entertainment), Copyright 2003 by Evil Hat Productions LLC; Authors Robert Donoghue and Fred Hicks\n::\nSpirit of the Century, Copyright 2006, Evil Hat Productions LLC. Authors Robert Donoghue, Fred Hicks, and Leonard Balsera.\n::\nIcons, Copyright 2010, Ad Infinitum Adventures; Author Steve Kenson.\n', + iconsCompatibilityLogo : '![Icons Compatibility Logo](/assets/license_logos/Ad-Infinitum-Adventures_Icons-Compatibility-License_Logo.png){width:200px}' }; \ No newline at end of file diff --git a/themes/V3/Blank/snippets/licenseAELF.js b/themes/V3/Blank/snippets/licenseAELF.js index 0df1d8028..e0f74bad5 100644 --- a/themes/V3/Blank/snippets/licenseAELF.js +++ b/themes/V3/Blank/snippets/licenseAELF.js @@ -1,4 +1,4 @@ -/* eslint-disable max-lines */ + import dedent from 'dedent'; // AELF License diff --git a/themes/V3/Blank/snippets/licenseDTRPGCC.gen.js b/themes/V3/Blank/snippets/licenseDTRPGCC.gen.js index 8febabfbb..821314cde 100644 --- a/themes/V3/Blank/snippets/licenseDTRPGCC.gen.js +++ b/themes/V3/Blank/snippets/licenseDTRPGCC.gen.js @@ -1,4 +1,4 @@ -/* eslint-disable max-lines */ + import dedent from 'dedent'; // DriveThruRPG/OneBookShelf Community Content Programs @@ -168,8 +168,8 @@ export default { `; }, // Monte Cook's Cypher License - monteCookCypherCover : `Requires the Cypher System Rulebook from Monte Cook Games. Distributed through the Cypher System CreatorTM at DriveThruRPG.`, - monteCookCypherColophon : function() { + monteCookCypherCover : `Requires the Cypher System Rulebook from Monte Cook Games. Distributed through the Cypher System CreatorTM at DriveThruRPG.`, + monteCookCypherColophon : function() { return dedent` This product was created under license. CYPHER SYSTEM and its logo, and CYPHER SYSTEM CREATOR and its logo, are trademarks of Monte Cook Games, LLC in the U.S.A. and other countries. All Monte Cook Games characters and character names, and the distinctive likenesses thereof, are trademarks of Monte Cook Games, LLC. [](www.montecookgames.com) @@ -179,10 +179,10 @@ export default { `; }, // Verify Logo redistribution - monteCookLogoDarkLarge : `![Cypher System Compatible](/assets/license_logos/CSCDarkLarge.png)`, - monteCookLogoDarkSmall : `![Cypher System Compatible](/assets/license_logos/CSCDarkSmall.png)`, - monteCookLogoLightLarge : `![Cypher System Compatible](/assets/license_logos/CSCLightLarge.png)`, - monteCookLogoLightSmall : `![Cypher System Compatible](/assets/license_logos/CSCLightSmall.png)`, + monteCookLogoDarkLarge : `![Cypher System Compatible](/assets/license_logos/CSCDarkLarge.png)`, + monteCookLogoDarkSmall : `![Cypher System Compatible](/assets/license_logos/CSCDarkSmall.png)`, + monteCookLogoLightLarge : `![Cypher System Compatible](/assets/license_logos/CSCLightLarge.png)`, + monteCookLogoLightSmall : `![Cypher System Compatible](/assets/license_logos/CSCLightSmall.png)`, // Onyx Path Canis Minor - Verify logos and access onyxPathCanisMinorColophon : function () { return dedent` diff --git a/themes/V3/Blank/snippets/licenseMongoose.gen.js b/themes/V3/Blank/snippets/licenseMongoose.gen.js index c89ae6429..5c939572d 100644 --- a/themes/V3/Blank/snippets/licenseMongoose.gen.js +++ b/themes/V3/Blank/snippets/licenseMongoose.gen.js @@ -1,4 +1,4 @@ -/* eslint-disable max-lines */ + import dedent from 'dedent'; // Mongoose Publishing Licenses diff --git a/themes/V3/Blank/snippets/licenseWotC.gen.js b/themes/V3/Blank/snippets/licenseWotC.gen.js index 543255540..c40b28509 100644 --- a/themes/V3/Blank/snippets/licenseWotC.gen.js +++ b/themes/V3/Blank/snippets/licenseWotC.gen.js @@ -1,4 +1,4 @@ -/* eslint-disable max-lines */ + import dedent from 'dedent'; export default {