Skip to content
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"
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# IMPress Agents #

[![Code Climate](https://codeclimate.com/github/agentevolution/impress-agents/badges/gpa.svg)](https://codeclimate.com/github/agentevolution/impress-agents)
[![Test Coverage](https://codeclimate.com/github/agentevolution/impress-agents/badges/coverage.svg)](https://codeclimate.com/github/agentevolution/impress-agents/coverage)
[![Issue Count](https://codeclimate.com/github/agentevolution/impress-agents/badges/issue_count.svg)](https://codeclimate.com/github/agentevolution/impress-agents)

Author: Agent Evolution
Author URL: http://www.agentevolution.com/
**Contributors:** agentevolution, davebonds, chadajohnson, idxco
Expand Down
3 changes: 2 additions & 1 deletion includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ function impa_employee_connection_types() {
p2p_register_connection_type( array(
'name' => 'agents_to_listings',
'from' => 'employee',
'to' => 'listing'
'to' => 'listing',
'sortable' => 'any'
) );
}

Expand Down