Skip to content

Commit

Permalink
refactor(remark): attach decklists to tree directly (#248)
Browse files Browse the repository at this point in the history
* chore(lint): remove lint-staged

* refactor(markdown): add remarkMinutes

* fix(home): fix layout for tablet viewports

* chore(remark): clean up typings

* refactor(remark): attach decklists to tree directly
  • Loading branch information
angrybacon authored May 19, 2024
1 parent 68ff996 commit 4cd8401
Show file tree
Hide file tree
Showing 41 changed files with 290 additions and 574 deletions.
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

3 changes: 0 additions & 3 deletions .knip.json

This file was deleted.

5 changes: 0 additions & 5 deletions .lintstagedrc.json

This file was deleted.

9 changes: 0 additions & 9 deletions .markdownlint.json

This file was deleted.

11 changes: 0 additions & 11 deletions .prettierrc.json

This file was deleted.

1 change: 0 additions & 1 deletion .yarnrc

This file was deleted.

1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default [
{ argsIgnorePattern: '^_', ignoreRestSiblings: true },
],
'import/consistent-type-specifier-style': ['error', 'prefer-inline'],
'no-console': ['error', { allow: ['error', 'warn'] }],
},
},
].map((it) => ({
Expand Down
4 changes: 4 additions & 0 deletions knip.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
ignore: ['markdownlint.config.js'],
ignoreDependencies: ['ts-node'],
};
12 changes: 9 additions & 3 deletions markdown/articles/2020/01/01/echoes-of-the-past.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ be more aggressive with your cantrips.

## Matchups and sideboarding based on broad category

### Fair Blue Decks (Slghtly Favorable, how much depends a lot on the specfic opponent)
### Fair Blue Decks

_Slightly favorable, how much depends a lot on the specfic opponent._

It may seem suprising on the surface, but this deck is fine against blue decks.
Refilling a blue mage's hand or going all in on Doomsday may not seem like good
Expand All @@ -156,7 +158,9 @@ number of goblins against slower control. Even if they don't win outright they
can get your opponent low and force them to spend resources dealing with the
horde while you build back up for another go.

### Permanent Based Hate Decks including Burn (Slightly Unfavorable, except DnT which is even or slightly favorable)
### Permanent Based Hate Decks including Burn

_Slightly unfavorable, except Taxes which is even or slightly favorable._

Generally in these matchups you win by giving your opponent as few turns as
possible. You have wishable cards to deal with a permanent or 2, but it can be
Expand All @@ -171,7 +175,9 @@ and bring in your bounce spells or anything like Abrade or Abrupt Decay that you
may have. These matchups tend to be straightforward. Watchout for things that
affect your manabase, and try your best to create an opening.

### Combo Mirrors and Pseudo-Mirrors (Slightly Favorable, faster = less favorable)
### Combo Mirrors and Pseudo-Mirrors

_Slightly favorable, faster: less favorable._

This list is fast enough to have a shot against just about any other combo deck,
has strong game against discard with Veil of Summer and Echoes, and packs enough
Expand Down
2 changes: 2 additions & 0 deletions markdown/chapters/appendices/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ banner: Information Booth | UNF | 218d
title: Frequently Asked Questions
---

<!-- markdownlint-configure-file {"line-length": {headings: false}} -->

## Table of Contents

## Preamble
Expand Down
6 changes: 6 additions & 0 deletions markdownlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
default: true,
'line-length': { tables: false },
'no-duplicate-heading': { siblings_only: true },
'ol-prefix': { style: 'one' },
};
13 changes: 5 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
"lint:format:wiki": "prettier --check --log-level warn markdown/",
"lint:prune": "knip --exclude enumMembers",
"lint:typings": "tsc",
"lint:wiki": "markdownlint markdown/",
"prepare": "husky install",
"lint:wiki": "markdownlint --config markdownlint.config.js markdown/",
"scryfall": "node ./scryfall/server.js",
"start": "next start",
"test": "jest",
Expand All @@ -34,7 +33,7 @@
"@korumite/kiwi": "2.9.1",
"@mdi/js": "7.4.47",
"@mdi/react": "1.6.1",
"@mui/material": "5.15.17",
"@mui/material": "5.15.18",
"@mui/system": "5.15.15",
"@mui/utils": "5.15.14",
"@vercel/analytics": "1.2.2",
Expand All @@ -56,15 +55,15 @@
"remark-parse": "11.0.0",
"remark-stringify": "11.0.0",
"remark-toc": "9.0.0",
"simple-icons": "11.14.0",
"simple-icons": "11.15.0",
"unified": "11.0.4",
"unist-util-remove": "4.0.0",
"unist-util-select": "5.1.0",
"unist-util-visit": "5.0.0",
"vfile-matter": "5.0.0"
},
"devDependencies": {
"@eslint/js": "9.2.0",
"@eslint/js": "9.3.0",
"@ianvs/prettier-plugin-sort-imports": "4.2.1",
"@testing-library/jest-dom": "6.4.5",
"@testing-library/react": "15.0.7",
Expand All @@ -76,13 +75,11 @@
"@types/react-syntax-highlighter": "15.5.13",
"@types/unist": "3.0.2",
"concurrently": "8.2.2",
"eslint": "9.2.0",
"eslint": "9.3.0",
"eslint-plugin-import": "2.29.1",
"husky": "9.0.11",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"knip": "5.16.0",
"lint-staged": "15.2.2",
"markdownlint-cli": "0.40.0",
"mdast-util-directive": "3.0.0",
"prettier": "3.2.5",
Expand Down
Loading

0 comments on commit 4cd8401

Please sign in to comment.