Skip to content

Commit

Permalink
chore: update deps + templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Zamiell committed Sep 17, 2024
1 parent 3f8bd61 commit 99f6c6d
Show file tree
Hide file tree
Showing 26 changed files with 103,487 additions and 7,561 deletions.
42 changes: 0 additions & 42 deletions .eslintrc.cjs

This file was deleted.

1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ tsconfig*.json linguist-language=JSON-with-Comments
package-lock.json linguist-generated=true
yarn.lock linguist-generated=true
pnpm-lock.yaml linguist-generated=true
bun.lockb linguist-generated=true
8 changes: 2 additions & 6 deletions .github/workflows/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,12 @@ runs:
using: composite

steps:
- name: Enable corepack to work around a setup-node bug
run: corepack enable
shell: bash # Composite jobs must specify the shell.

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: yarn
cache: npm

- name: Install dependencies
run: yarn install --immutable
run: npm ci
shell: bash # Composite jobs must specify the shell.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dist
package-lock.json
yarn.lock
pnpm-lock.yaml
bun.lockb

# Minified files
*.min.js
Expand Down
8 changes: 5 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@
"**/.yarn/": true,
"**/dist/": true,
"**/node_modules/": true,
"bun.lockb": true,
"LICENSE": true,
"package-lock.json": true,
"pnpm-lock.yaml": true,
"yarn.lock": true,
// @template-customization-start
"docs/babies.md": true,
// @template-customization-end
Expand All @@ -39,7 +43,7 @@
// Extension settings
// ------------------

// Use Prettier to format "cspell.jsonc".
// Use Prettier to format "cspell.config.jsonc".
"cSpell.autoFormatConfigFile": true,

// -----------------
Expand Down Expand Up @@ -68,11 +72,9 @@
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.tabSize": 2,
},
"[css][html][json][jsonc][markdown][postcss][xml][yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.tabSize": 2,
},
}
2 changes: 1 addition & 1 deletion cspell.jsonc → cspell.config.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"*.svg",
".git/**",
".yarn/**",
"bun.lockb",
"dist/**",
"LICENSE",
"node_modules/**",
Expand Down Expand Up @@ -160,7 +161,6 @@
"pinkghost",
"pinkprincess",
"polarbear",
"Proto",
"punkboy",
"punkgirl",
"purplehorse",
Expand Down
53 changes: 53 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
// This is the configuration file for ESLint, the TypeScript linter:
// https://eslint.org/docs/latest/use/configure/

// @ts-check

import { completeConfigBase } from "eslint-config-complete"; // eslint-disable-line import-x/no-extraneous-dependencies
import { isaacScriptModConfigBase } from "eslint-config-isaacscript"; // eslint-disable-line import-x/no-extraneous-dependencies
import tseslint from "typescript-eslint"; // eslint-disable-line import-x/no-extraneous-dependencies

export default tseslint.config(
// https://github.com/complete-ts/complete/blob/main/packages/eslint-config-complete/src/base.js
...completeConfigBase,

// https://github.com/IsaacScript/isaacscript/blob/main/packages/eslint-config-isaacscript/src/base.js
...isaacScriptModConfigBase,

{
rules: {
// Insert changed or disabled rules here, if necessary.

// @template-customization-start

"no-restricted-syntax": [
"error",
{
selector: "MethodDefinition[accessibility='public']",
message: 'Using "public" class method modifiers are not allowed.',
},
{
selector: "MethodDefinition[accessibility='private']",
message: 'Using "private" class method modifiers are not allowed.',
},
{
selector: "MethodDefinition[accessibility='protected']",
message: 'Using "protected" class method modifiers are not allowed.',
},
],

// @template-customization-end
},
},

// @template-customization-start

{
files: ["scripts/*.ts"],
rules: {
"isaacscript/no-throw": "off",
},
},

// @template-customization-end
);
18 changes: 2 additions & 16 deletions mod/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,15 @@

In The Binding of Isaac: Rebirth, there are a ton of co-op babies. Even though most of the babies are only cosmetic and have no special abilities, a tremendous amount of work has gone into designing them, coding them, and creating all of the sprites. This is an area of the game that is unknown and unused by 99% of the Isaac player-base. It's time for that to change.

[*] This mod adds a new character -
"
Random Baby
"
. When playing this character, on every floor, you will be assigned a random baby from the 600+ possibilities. Each baby has a unique item or ability.
[*] This mod adds a new character - " Random Baby " . When playing this character, on every floor, you will be assigned a random baby from the 600+ possibilities. Each baby has a unique item or ability.
[*] Some babies are very strong, while others are very weak. But they only last for a single floor.
[*] The [url=https://github.com/Zamiell/babies-mod/blob/main/docs/babies.md]full list of babies is located on GitHub[/url].
[*] Due to the random nature of the babies, this mod should provide fresh experiences time and time again.
[*] A lot of the babies will make you quite powerful, which can remove the difficulty of a normal Isaac run. Instead, challenge yourself to beat the game as fast as possible! (This mod was deliberately designed for speedrunning and racing other people.)

For patch notes, see [url=https://github.com/Zamiell/babies-mod/blob/main/docs/history.md]the version history on GitHub[/url].

For technical support or general questions, please [b]do not post a comment here[/b]. Instead, post in the
"
#b-general
"
channel on the [url=https://discord.gg/JzbhWQb]Isaac racing
&
speedrunning Discord server[/url]. To report bugs, please post in the
"
#b-bugs
"
channel.
For technical support or general questions, please [b]do not post a comment here[/b]. Instead, post in the " #b-general " channel on the [url=https://discord.gg/JzbhWQb]Isaac racing & speedrunning Discord server[/url]. To report bugs, please post in the " #b-bugs " channel.
</description>
<version>1.29.4</version>
<visibility>Public</visibility>
Expand Down
Loading

0 comments on commit 99f6c6d

Please sign in to comment.