Skip to content

Commit 6c0776c

Browse files
authored
Merge pull request #253 from wp-bootstrap/master
Update from 2.0.5 of WP-Bootstrap Org
2 parents 946aa07 + 4ecb9e1 commit 6c0776c

21 files changed

+1923
-554
lines changed

.codeclimate.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
engines:
3+
csslint:
4+
enabled: true
5+
duplication:
6+
enabled: true
7+
config:
8+
languages:
9+
- javascript
10+
- php
11+
fixme:
12+
enabled: true
13+
phpcodesniffer:
14+
enabled: true
15+
config:
16+
standard: "WordPress-Core,WordPress-Docs,WordPress-Extra"
17+
phpmd:
18+
enabled: true
19+
checks:
20+
Controversial/CamelCaseParameterName:
21+
enabled: false
22+
Controversial/CamelCaseMethodName:
23+
enabled: false
24+
Controversial/CamelCasePropertyName:
25+
enabled: false
26+
Controversial/CamelCaseVariableName:
27+
enabled: false
28+
CleanCode/ElseExpression:
29+
enabled: false
30+
eslint:
31+
enabled: true
32+
scss-lint:
33+
enabled: true
34+
markdownlint:
35+
enabled: true
36+
ratings:
37+
paths:
38+
- "**.css"
39+
- "**.scss"
40+
- "**.inc"
41+
- "**.js"
42+
- "**.jsx"
43+
- "**.module"
44+
- "**.php"
45+
- "**.md"
46+
- "**.py"
47+
- "**.rb"
48+
exclude_paths:
49+
- "**.png"
50+
- "**.jpg"
51+
- "**.gif"
52+
- "gulpfile.js"
53+
- "composer.lock"
54+
- "phpcs.xml"
55+
- "**.json"
56+
- "**.pot"
57+
- "**.txt"
58+
- "**.min.js"
59+
- "**.min.css"
60+
- "**.dist"
61+
- "**.sh"
62+
- "tests/*"
63+
- "dummy-data/*"

.csslintrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
--exclude-exts=.min.css
2+
--ignore=adjoining-classes,box-model,ids,order-alphabetical,unqualified-attributes
3+
--exclude-exts=.min.css
4+
--ignore=adjoining-classes,box-model,ids,order-alphabetical,unqualified-attributes

.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This file is for unifying the coding style for different editors and IDEs
2+
# editorconfig.org
3+
4+
# WordPress Coding Standards
5+
# https://make.wordpress.org/core/handbook/coding-standards/
6+
7+
root = true
8+
9+
[*]
10+
charset = utf-8
11+
end_of_line = lf
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
indent_style = tab
15+
16+
[{.jshintrc,*.json,*.yml}]
17+
indent_style = space
18+
indent_size = 2
19+
20+
[{*.txt,wp-config-sample.php}]
21+
end_of_line = crlf

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
**/*{.,-}min.js
2+
**/*{.,-}min.js

0 commit comments

Comments
 (0)