https://github.com/openzeppelin/configs
Code style guidelines and rules for OpenZeppelin projects
https://github.com/openzeppelin/configs
Last synced: 8 months ago
JSON representation
Code style guidelines and rules for OpenZeppelin projects
- Host: GitHub
- URL: https://github.com/openzeppelin/configs
- Owner: OpenZeppelin
- License: cc0-1.0
- Created: 2018-04-11T22:42:01.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-09-01T20:43:35.000Z (over 2 years ago)
- Last Synced: 2025-06-28T04:04:19.937Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 38.1 KB
- Stars: 20
- Watchers: 21
- Forks: 17
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Configuration for tools used across OpenZeppelin projects.
## Prettier
We use [Prettier](https://prettier.io) 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](https://github.com/prettier-solidity/prettier-plugin-solidity) plugin.
## JavaScript
To check for common errors in JavaScript or TypeScript, we use [ESLint](https://eslint.org/), with the rules in [.eslintrc](.eslintrc). Note that some additional packages are required.
ESLint should run with `--max-warnings 0` in CI.