- 
                Notifications
    You must be signed in to change notification settings 
- Fork 242
Closed
Description
To continue #648
@G-Rath Looks like no-try-expect is still in the recommended list (v24 major was released recently).
I got here because I'm using eslint-find-rules to find deprecated rules in my configs and it failed for jest/recommended.
I'm assuming the recommended property needs to be removed from the rule file.
But also thinking if this can be prevented in the future.
Although if we deprecate a rule and still keep it in the jest/recommended, then I'm not sure how.
Any way, here's how I ran eslint-find-rules:
// .eslintrc.js
module.exports = {
  plugins: ['jest'],
  extends: ['plugin:jest/recommended'],
};$ npx eslint-find-rules --deprecated jest-bug.js
deprecated rules
jest/no-try-expectMetadata
Metadata
Assignees
Labels
No labels