diff --git a/.changeset/quick-ties-add.md b/.changeset/quick-ties-add.md new file mode 100644 index 0000000..a402811 --- /dev/null +++ b/.changeset/quick-ties-add.md @@ -0,0 +1,5 @@ +--- +"eslint-plugin-immutable-class": patch +--- + +Fix recommended config diff --git a/packages/eslint-plugin-immutable-class/src/index.ts b/packages/eslint-plugin-immutable-class/src/index.ts index 65d9b2b..605c223 100644 --- a/packages/eslint-plugin-immutable-class/src/index.ts +++ b/packages/eslint-plugin-immutable-class/src/index.ts @@ -42,7 +42,10 @@ const recommended = { plugins: { 'immutable-class': plugin, }, - rules, + rules: { + 'declare-implicit-fields': 'error', + 'readonly-implicit-fields': 'error', + }, }; export = plugin;