https://github.com/pcon/apex-styleguide
Our teams style guide for Apex
https://github.com/pcon/apex-styleguide
Last synced: 5 months ago
JSON representation
Our teams style guide for Apex
- Host: GitHub
- URL: https://github.com/pcon/apex-styleguide
- Owner: pcon
- License: gpl-3.0
- Created: 2016-04-15T19:41:19.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-15T17:13:44.000Z (almost 10 years ago)
- Last Synced: 2025-04-04T11:35:48.678Z (about 1 year ago)
- Language: HTML
- Size: 360 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/pcon/apex-styleguide)
# apex-styleguide
Our teams style guide for Apex. For a human readable version, checkout this [page](https://pcon.github.io/apex-styleguide)
## Checkstyle Usage
1. Download the most recent version of the [checkstyle jar](https://sourceforge.net/projects/checkstyle/files/checkstyle/)
2. Generate a `checkstyle.properties` file
```basedir=/path/to/src```
3. Run checkstyle against a single file `java -jar checkstyle.jar -p checkstyle.properties -c apex_checks_combined.xml /path/to/src/classes/MyClass.cls`