Skip to content

eslint-plugin-immutable-class v1.0.0

Choose a tag to compare

@jgoz jgoz released this 03 Feb 18:01
· 32 commits to master since this release
09c0914

This exists!

$ npm i -D eslint-plugin-immutable-class @typescript-eslint/parser

.eslintrc:

{
  "plugins": ["immutable-class"],
  "extends": "plugin:immutable-class/recommended",
  "parser": "@typescript-eslint/parser"
}

What's Changed

  • Make compatible with useDefineForClassFields by @jgoz in #28
  • Add readonly-implicit-fields rule by @jgoz in #29
  • Add 'declare' for some readonly properties (! or ?) by @jgoz in #30

Full Changelog: v0.10.0...eslint-plugin-immutable-class-v1.0.0