Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 582 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 582 Bytes

Configuration for tools used across OpenZeppelin projects.

Prettier

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.

JavaScript

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.