docs icon indicating copy to clipboard operation
docs copied to clipboard

More strict Prettier rules

Open gskril opened this issue 1 year ago • 1 comments

Whenever I press save on a file, there are a lot of formatting changes (indents, quotes, semicolons, etc). Might be partially because of my weird system defaults, but more consistency would be great.

Eg in https://github.com/ensdomains/docs/pull/226 there is a bigger diff than intended because of formatting.

gskril avatar Apr 15 '24 19:04 gskril

Just realized the existing .prettierrc file is in app so it's not getting applied to the mdx files. Should we move it to the root and run prettier --write in a pre-commit hook?

gskril avatar Apr 15 '24 19:04 gskril