eslint-plugin-isaacscript
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

eslint-plugin-isaacscript

Magic Mushroom

eslint-plugin-isaacscript is a collection of ESLint rules for IsaacScript mods. (By default, IsaacScript mods are automatically configured to use these rules.)

Configs

  • recommended - Currently, every rule in this plugin is recommended.

Rules

Each rule has emojis denoting:

  • ✅ - if it belongs to the recommended configuration
  • 🔧 - if some problems reported by the rule are automatically fixable by the --fix command line option
  • 💭 - if it requires type information
Name Description 🔧 💭
isaacscript/enum-member-number-separation Disallows numbers next to letters in enum members
isaacscript/no-invalid-default-map Disallows invalid constructors for the DefaultMap class 💭
isaacscript/no-throw Disallows the usage of "throw"
isaacscript/require-v-registration Require variables named "v" to be registered with the save data manager

Package Sidebar

Install

npm i eslint-plugin-isaacscript

Weekly Downloads

1,448

Version

4.0.0

License

MIT

Unpacked Size

25.5 kB

Total Files

39

Last publish

Collaborators

  • zamiell