Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move some no-restricted-syntax rules from the extension to the shared config #186

Closed
Tracked by #7701
fregante opened this issue Jan 9, 2024 · 0 comments · Fixed by #228
Closed
Tracked by #7701

Move some no-restricted-syntax rules from the extension to the shared config #186

fregante opened this issue Jan 9, 2024 · 0 comments · Fixed by #228
Assignees

Comments

@fregante
Copy link
Contributor

fregante commented Jan 9, 2024

https://github.com/pixiebrix/pixiebrix-extension/blob/0828deb2d7acac35bffcfefaf239015b13a552f4/.eslintrc.js#L87

For example

      {
        message: "Use `jest.mocked(fn)` instead of `fn as jest.Mock`.",
        selector: "TSAsExpression TSQualifiedName[right.name='Mock']",
      },
      {
        message:
          "Use `jest.mocked(fn)` instead of `fn as jest.MockedFunction`.",
        selector: "TSAsExpression TSQualifiedName[right.name='MockedFunction']",
      },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant