IsaacScript / isaacscript

IsaacScript is a tool to help you create Binding of Isaac: Repentance mods using TypeScript.

Home Page:https://isaacscript.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Predefined linters and formatters

lajbel opened this issue · comments

It's really necessary for this framework to automatically import personal-styles such prettierrc.cjs, eslintrc.json, settings.json for vscode users, etc? It's kind of annoying delete that stuff, it can't be an option like isaacscript init --no-formatter --no-linter

commented

.prettierrc.cjs just contains prettier defaults and other best-practices, you should never delete it.
.eslintrc.json contains a suite of rules that are best-practice for the typescript ecosystem, you should not delete it.

if you don't want to use prettier, you should reconsider.

as for eslint, it is a no-brainer, it will prevent bugs in your mod for the exact same reason that using typescript will prevent bugs in your mod.

commented

i will add options if other people in the isaacscript ecosystem want that, but so far you are the only person to ask.
for now, i recommend using prettier/eslint like everyone else does.