Skip to content

Enable eslint-plugin-wildcard globally

Administrator requested to merge contractors/SG-30471 into main

Created by: gitstart-sourcegraph

Description

Eslint wildcard plugin, should enabled on the root eslintrc.

Preview App

Storybook Frontend

Success Criteria

Eslint wildcard plugin, is enabled on the root eslintrc.

  1. Enable eslint-plugin-wildcard, in the projects's root eslintrc.js file.
  2. remove Link forbid rule from eslintrc.js file, since it would now be brought in through the wildcard plugin
  3. Resolve all lint rule side effects

Refs

Gitstart Ticket Sourcegraph Issue

Test Plan

Attempt to use any of the banned tags/restricted-imports, in any package within the codebase, Confirm that lint error is thrown, suggesting usage of wildcard's alternative component

Merge request reports

Loading