forked from spree/spree_rails_frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
36 lines (36 loc) · 1.01 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
version: "2"
plugins:
rubocop:
enabled: true
checks:
Rubocop/Naming/RescuedExceptionsVariableName:
enabled: false
Rubocop/Layout/AlignArguments:
enabled: false
Rubocop/Style/MultilineWhenThen:
enabled: false
Rubocop/Layout/SpaceAroundOperators:
enabled: false
Rubocop/Style/FormatStringToken:
enabled: false
config:
file: .rubocop.yml
channel: "rubocop-0-80" # need to keep this value the same as rubocop version
# https://docs.codeclimate.com/v1.0/docs/rubocop#section-using-rubocop-s-newer-versions
eslint:
enabled: true
config:
extensions:
- .es6
- .js
channel: "eslint-7" # need to keep this value the same as eslint version
# https://docs.codeclimate.com/v1.0/docs/eslint#section-eslint-versions
stylelint:
enabled: true
exclude_patterns:
- "**/bin/"
- "**/script/"
- "**/vendor/"
- "**/spec/"
- "public/"
- "sample/db/samples"