Open mcmire opened 5 months ago
Note that there are other Prettier-related considerations that we could address for this ticket but do not need to:
eslint-config-prettier
and eslint-plugin-prettier
as dev dependencies. We are already checking these as a part of #9, since they are required by @metamask/eslint-config
, but if we want to make those checks more explicit we could split them into a separate rule that's tied more closely to the rules here. However, that may not be truly necessary. We could decide that later if need be.
We want to make sure that for a given project:
prettier
as a dev dependency, and the versions match the same dev dependencies as in the module template.prettier-config-*
andprettier-plugin-*
dependencies listed in the module template are also listed in the project as dependencies, and the versions match.lint:misc
package script as in the module templatelint
script exists, then thelint
script runsyarn lint:misc --write
(i.e. the value of this script matches/\byarn lint:misc --write\b/
)..prettierrc.js
file, and the content of the file matches the same in the module template