mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +01:00
Add Scrutinizer config
This commit is contained in:
parent
afae06ed69
commit
37b8e0ad57
13
.jshintrc
Normal file
13
.jshintrc
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"laxbreak": true,
|
||||||
|
"curly": true,
|
||||||
|
"eqeqeq": true,
|
||||||
|
"newcap": true
|
||||||
|
"forin": true,
|
||||||
|
"quotmark": "single",
|
||||||
|
"unused": true,
|
||||||
|
"jquery": true,
|
||||||
|
"browser": true,
|
||||||
|
"devel" true,
|
||||||
|
"globals": { "OC": false }
|
||||||
|
}
|
64
.scrutinizer.yml
Normal file
64
.scrutinizer.yml
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
filter:
|
||||||
|
excluded_paths:
|
||||||
|
- 'js/modernizr.custom.js'
|
||||||
|
|
||||||
|
imports:
|
||||||
|
- php
|
||||||
|
- javascript
|
||||||
|
|
||||||
|
tools:
|
||||||
|
js_hint:
|
||||||
|
use_native_config: true
|
||||||
|
|
||||||
|
php_mess_detector:
|
||||||
|
config:
|
||||||
|
controversial_rules:
|
||||||
|
camel_case_class_name: true
|
||||||
|
camel_case_property_name: true
|
||||||
|
camel_case_method_name: true
|
||||||
|
camel_case_parameter_name: true
|
||||||
|
camel_case_variable_name: true
|
||||||
|
superglobals: false
|
||||||
|
|
||||||
|
php_code_sniffer:
|
||||||
|
config:
|
||||||
|
sniffs:
|
||||||
|
generic:
|
||||||
|
white_space:
|
||||||
|
disallow_space_indent_sniff: true
|
||||||
|
squiz:
|
||||||
|
white_space:
|
||||||
|
logical_operator_spacing_sniff: true
|
||||||
|
language_construct_spacing_sniff: true
|
||||||
|
operator_spacing_sniff: true
|
||||||
|
control_structure_spacing_sniff: true
|
||||||
|
function_spacing_sniff: true
|
||||||
|
scope_keyword_spacing_sniff: true
|
||||||
|
semicolon_spacing_sniff: true
|
||||||
|
object_operator_spacing_sniff: true
|
||||||
|
functions:
|
||||||
|
lowercase_function_keywords_sniff: true
|
||||||
|
commenting:
|
||||||
|
class_comment_sniff: true
|
||||||
|
doc_comment_alignment_sniff: true
|
||||||
|
function_comment_throw_tag_sniff: true
|
||||||
|
control_structures:
|
||||||
|
lowercase_declaration_sniff: true
|
||||||
|
strings:
|
||||||
|
double_quote_usage_sniff: true
|
||||||
|
operators:
|
||||||
|
valid_logical_operators_sniff: true
|
||||||
|
psr2:
|
||||||
|
classes:
|
||||||
|
class_declaration_sniff: false
|
||||||
|
namespaces:
|
||||||
|
namespace_declaration_sniff: true
|
||||||
|
pear:
|
||||||
|
commenting:
|
||||||
|
inline_comment_sniff: true
|
||||||
|
control_structures:
|
||||||
|
control_signature_sniff: true
|
||||||
|
naming_conventions:
|
||||||
|
valid_function_name_sniff: true
|
||||||
|
valid_class_name_sniff: true
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user