JSPM

  • Created
  • Published
  • Downloads 530
  • Score
    100M100P100Q109127F
  • License MIT

An ESLint plugin that contains useful rules.

Package Exports

  • eslint-plugin-isaacscript
  • eslint-plugin-isaacscript/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-plugin-isaacscript) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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