Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeClimate Support #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
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/CamelCaseMethodName:
enabled: false
Controversial/CamelCaseVariableName:
enabled: false
eslint:
enabled: true
channel: "eslint-2"
scss-lint:
enabled: true
markdownlint:
enabled: true
ratings:
paths:
- "**.css"
- "**.scss"
- "**.inc"
- "**.js"
- "**.jsx"
- "**.module"
- "**.php"
- "**.md"
- "**.py"
- "**.rb"
exclude_paths:
- "**.png"
- "**.jpg"
- "**.gif"
- "gulpfile.js"
- "composer.lock"
- "phpcs.xml"
- "**.json"
- "**.pot"
- "**.txt"
- "**-min.js"
- "**-min.css"
- "**.dist"
- "**.sh"
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# IMPress Listings #

[![Code Climate](https://codeclimate.com/github/agentevolution/wp-listings/badges/gpa.svg)](https://codeclimate.com/github/agentevolution/wp-listings)
[![Test Coverage](https://codeclimate.com/github/agentevolution/wp-listings/badges/coverage.svg)](https://codeclimate.com/github/agentevolution/wp-listings/coverage)

**Author:** Agent Evolution

**Author URL:** http://www.agentevolution.com/
Expand Down