-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.codeclimate.yml
76 lines (74 loc) · 1.77 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
67
68
69
70
71
72
73
74
75
76
---
exclude_paths:
- Gemfile
- Gemfile.lock
- node_modules/
- languages/
- js/vendor/
- vendor/
- ".sass-cache/"
- "hooks/post-merge"
- "js/script.js"
- "markdown.rb"
- "phpunit.xml"
- "phpunit.xml.dist"
- "**/*.min.css"
- "**/*.min.js"
- "**.css"
- "**.css.map"
- "**.gif"
- "**.jpg"
- "**.png"
- "**.svg"
prepare:
fetch:
- url: "https://raw.githubusercontent.com/bu-ist/coding-standards/master/code-climate-rule-sets/.scss-lint-r-2.x.yml"
path: ".scss-lint.yml"
- "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"
- url: "https://raw.githubusercontent.com/bu-ist/coding-standards/master/code-climate-rule-sets/phpcs-themes.xml"
path: "phpcs.xml"
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: true
phpcodesniffer:
enabled: true
config:
file_extensions: php
standard: "phpcs.xml"
ignore_warnings: false
encoding: utf-8
phpmd:
enabled: true
config:
file_extensions: php
rulesets: codesize,naming,unusedcode
stylelint:
enabled: true
config:
file_extensions: scss
ratings:
paths:
- "**.md"
- "**.inc"
- "**.js"
- "**.json"
- "**.php"
- "**.scss"