All Projects → OpenZeppelin → code-style

OpenZeppelin / code-style

Licence: other
Code style guidelines and rules for Zeppelin projects

Programming Languages

javascript
184084 projects - #8 most used programming language

code-style

Code style guidelines and rules for OpenZeppelin projects.

Solidity

To check the code style of smart contracts written in Solidity, we use solium v1.1.7, with the rules in .soliumrc.json.

Javascript

To check the code style of code written in Javascript, we use eslint, with the rules in .eslintrc and the plugins:

  • eslint-config-standard
  • eslint-plugin-standard
  • eslint-plugin-import
  • eslint-plugin-node
  • eslint-plugin-promise
  • eslint-plugin-react (only for react projects)

Prettier

We use Prettier as a code formatter to keep our code consistent and to reduce friction for reading and reviewing code.

Pull Requests

Disputes

If you dislike a rule, please open an issue.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].