-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
enhancementNew feature or requestNew feature or requestpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
Description
We should use a snapshot system to test rules with each rule having a rule-name.ts
fixture that is run through ESLint. Config can be provided by inline /* eslint */
comments, and any reported errors would be dumped to either a Jest snapshot or an errors.json
file. We could either switch the test framework from Mocha to Jest or just import Jest’s expect
function to get access to the toMatchSnapshot
matcher.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin