diff --git a/jest.config.js b/jest.config.js index 71588cc..316692c 100644 --- a/jest.config.js +++ b/jest.config.js @@ -3,5 +3,5 @@ module.exports = { collectCoverage: false, collectCoverageFrom: ["rules/**/{!(examples),}/*.js"], moduleFileExtensions: ["js"], - coverageReporters: ["text-summary", "lcov"], + coverageReporters: ["text-summary", "lcov"] }; diff --git a/rules/enforce-effect-naming-convention/enforce-effect-naming-convention.js b/rules/enforce-effect-naming-convention/enforce-effect-naming-convention.js index 466418f..d7203da 100644 --- a/rules/enforce-effect-naming-convention/enforce-effect-naming-convention.js +++ b/rules/enforce-effect-naming-convention/enforce-effect-naming-convention.js @@ -19,6 +19,7 @@ module.exports = { renameEffect: 'Rename "{{ effectName }}" to "{{ effectName }}Fx"', }, schema: [], + hasSuggestions: true, }, create(context) { const parserServices = context.parserServices; diff --git a/rules/enforce-store-naming-convention/enforce-store-naming-convention.js b/rules/enforce-store-naming-convention/enforce-store-naming-convention.js index 2f1bcb7..d371a7a 100644 --- a/rules/enforce-store-naming-convention/enforce-store-naming-convention.js +++ b/rules/enforce-store-naming-convention/enforce-store-naming-convention.js @@ -29,6 +29,7 @@ module.exports = { renameStore: 'Rename "{{ storeName }}" to "{{ correctedStoreName }}"', }, schema: [], + hasSuggestions: true, }, create(context) { const { parserServices } = context; diff --git a/rules/no-unnecessary-duplication/no-unnecessary-duplication.js b/rules/no-unnecessary-duplication/no-unnecessary-duplication.js index 5c6c4d8..986e8b0 100644 --- a/rules/no-unnecessary-duplication/no-unnecessary-duplication.js +++ b/rules/no-unnecessary-duplication/no-unnecessary-duplication.js @@ -20,6 +20,7 @@ module.exports = { removeSource: "Remove `source`", }, schema: [], + hasSuggestions: true, }, create(context) { const importedFromEffector = new Map();