Move Spree.js file from spree_core
[spree.git] / .codeclimate.yml
blobd4e299ddd452af6756e3cea75e76fca0ba3eccf4
1 version: "2"
2 plugins:
3   rubocop:
4     enabled: true
5     checks:
6       Rubocop/Naming/RescuedExceptionsVariableName:
7         enabled: false
8       Rubocop/Layout/AlignArguments:
9         enabled: false
10       Rubocop/Style/MultilineWhenThen:
11         enabled: false
12       Rubocop/Layout/SpaceAroundOperators:
13         enabled: false
14       Rubocop/Style/FormatStringToken:
15         enabled: false
16     config:
17       file: .rubocop.yml
18     channel: "rubocop-0-80" # need to keep this value the same as rubocop version
19                             # https://docs.codeclimate.com/v1.0/docs/rubocop#section-using-rubocop-s-newer-versions
20   eslint:
21     enabled: true
22     config:
23       extensions:
24         - .es6
25         - .js
26     channel: "eslint-7" # need to keep this value the same as eslint version
27                         # https://docs.codeclimate.com/v1.0/docs/eslint#section-eslint-versions
28   stylelint:
29     enabled: true
30 exclude_patterns:
31   - "**/bin/"
32   - "**/script/"
33   - "**/vendor/"
34   - "**/spec/"
35   - "public/"
36   - "sample/db/samples"