generated from MetaMask/metamask-module-template
-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
choreNot a feature, not documentation, but something we still have to do.Not a feature, not documentation, but something we still have to do.
Description
Currently, our linter can only be run at the monorepo root, which is the same as MetaMask/core. In order to facilitate running our linter at the package-level, we should add the relevant lint scripts to each package. This is how linting works in https://github.com/MetaMask/snaps.
The relevant scripts are:
lintlint:fixlint:eslintlint:misc
The existing scripts in the root package.json should contain the relevant pieces, but we should not check Yarn constraints or run the dependency linter in packages. See individual packages in MetaMask/snaps as a reference.
For dependencies, it probably makes sense to add the whole suite of lint dependencies to each package, but whatever works should ultimately be fine.
Metadata
Metadata
Assignees
Labels
choreNot a feature, not documentation, but something we still have to do.Not a feature, not documentation, but something we still have to do.