OpenZeppelin / configs

Code style guidelines and rules for OpenZeppelin projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Code style guidelines and rules for OpenZeppelin projects

License:Creative Commons Zero v1.0 Universal


Languages

Language:JavaScript 100.0%