Only use root editorconfig, allow warnings in travis

This commit is contained in:
QWp6t
2015-12-29 14:27:17 -08:00
committed by Ben Word
parent fe659f4c58
commit f598ca9a0b
5 changed files with 10 additions and 9 deletions

View File

@@ -9,3 +9,9 @@ end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.php]
indent_size = 4
[templates/**.php]
indent_size = 2

View File

@@ -43,5 +43,5 @@ install:
script:
- npm run build
- phpcs --report=summary
- phpcs -n
- phpmd src text cleancode,codesize,controversial,design,naming,unusedcode

View File

@@ -3,9 +3,10 @@
<description>Roots Coding Standards</description>
<!-- Scan these files -->
<file>templates</file>
<file>functions.php</file>
<file>index.php</file>
<file>src</file>
<file>templates</file>
<!-- Show colors in console -->
<arg value="-colors"/>

View File

@@ -1,6 +0,0 @@
# editorconfig.org
root = false
[*.php]
indent_size = 4