forked from i18next/i18next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.codeclimate.yml
45 lines (45 loc) · 842 Bytes
/
.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
engines:
duplication:
enabled: true
config:
languages:
- ruby
- javascript:
mass_threshold: 58
- python
- php
eslint:
# Disabled since this engine used a different set of version of
# `@typescript/eslint` and `typescript`
#
# @see https://github.com/i18next/i18next/pull/2098
enabled: false
channel: "eslint-8"
fixme:
enabled: true
ratings:
paths:
- 'src/**/*'
exclude_paths:
- test/
- coverage/
- dist/
- 'i18next.js'
- 'i18next.min.js'
- 'index.d.ts'
- 'rollup.config.js'
- 'vitest.config.mts'
- 'vitest.workspace.mts'
checks:
file-lines:
config:
threshold: 300
method-lines:
config:
threshold: 70
complex-logic:
config:
threshold: 5
nested-control-flow:
config:
threshold: 5