-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
66 lines (64 loc) · 1.51 KB
/
.codeclimate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
exclude_patterns:
- "node_modules/"
- "languages/"
- "vendor/"
- "js/vendor/"
- ".sass-cache/"
- "*.min.js"
- "css/"
- "**/*.css"
- "js/script.js"
- "**/*.map"
- "images/"
- ".github/"
prepare:
fetch:
- url: "https://raw.githubusercontent.com/bu-ist/coding-standards/master/code-climate-rule-sets/.stylelintrc.json"
path: ".stylelintrc.json"
- "https://raw.githubusercontent.com/bu-ist/coding-standards/master/code-climate-rule-sets/.eslintrc"
- "https://raw.githubusercontent.com/bu-ist/coding-standards/master/code-climate-rule-sets/.eslintignore"
- "https://raw.githubusercontent.com/bu-ist/coding-standards/master/code-climate-rule-sets/.mdlrc"
- "https://raw.githubusercontent.com/bu-ist/coding-standards/master/code-climate-rule-sets/markdown.rb"
engines:
csslint:
enabled: false
duplication:
enabled: true
config:
languages:
- javascript
- php
exclude_paths:
- "Gruntfile.js"
eslint:
enabled: false
channel: eslint-5
fixme:
enabled: true
markdownlint:
enabled: false
phpcodesniffer:
enabled: true
config:
file_extensions: php
standard: WordPress
ignore_warnings: false
encoding: utf-8
phpmd:
enabled: false
config:
file_extensions: php
rulesets: codesize,naming,unusedcode
stylelint:
enabled: true
config:
file_extensions: scss
ratings:
paths:
- "**.md"
- "**.inc"
- "**.js"
- "**.json"
- "**.php"
- "**.scss"