Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
codeclimate config file for WordPress projects
---
engines:
csslint:
enabled: true
duplication:
enabled: true
config:
languages:
- javascript
- php
fixme:
enabled: true
phpcodesniffer:
enabled: true
config:
standard: "WordPress"
phpmd:
enabled: true
checks:
Controversial/CamelCaseClassName:
enabled: false
Controversial/CamelCaseParameterName:
enabled: false
Controversial/CamelCaseMethodName:
enabled: false
Controversial/CamelCasePropertyName:
enabled: false
Controversial/CamelCaseVariableName:
enabled: false
CleanCode/ElseExpression:
enabled: false
eslint:
enabled: true
scss-lint:
enabled: true
markdownlint:
enabled: true
ratings:
paths:
- "**.css"
- "**.scss"
- "**.inc"
- "**.js"
- "**.jsx"
- "**.module"
- "**.php"
- "**.md"
- "**.py"
- "**.rb"
exclude_paths:
- ".git/*"
- "vendor/*"
- "**.png"
- "**.jpg"
- "**.gif"
- "gulpfile.js"
- "Gruntfile.js"
- "composer.lock"
- "phpcs.xml"
- "**.json"
- "**.pot"
- "**.txt"
- "**.min.js"
- "**.min.css"
- "**.dist"
- "**.sh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment