Configuration for tools used across OpenZeppelin projects.
We use Prettier as a code formatter to keep our code consistent and to reduce friction for reading and reviewing code.
For Solidity we use the Prettier Solidity plugin.
To check for common errors in JavaScript or TypeScript, we use ESLint, with the rules in .eslintrc. Note that some additional packages are required.
ESLint should run with --max-warnings 0
in CI.