Initial commit

This commit is contained in:
Yaser
2026-08-13 19:56:46 +03:30
commit de1d57a67b
474 changed files with 43185 additions and 0 deletions

73
.codeclimate.yml Normal file
View File

@@ -0,0 +1,73 @@
#TODO enable codeclimate in spec files and fix issues
version: '2'
checks:
method-complexity:
config:
threshold: 10
file-lines:
config:
threshold: 400
plugins:
brakeman:
enabled: true
rubocop:
enabled: false
checks:
Rubocop/Metrics/ClassLength:
enabled: false
Rubocop/Metrics/BlockLength:
enabled: false
Rubocop/Style/RedundantSelf:
enabled: false
Rubocop/Metrics/AbcSize:
enabled: false
Rubocop/Layout/AlignHash:
enabled: false
Rubocop/Metrics/LineLength:
enabled: false
reek:
enabled: false
checks:
FeatureEnvy:
enabled: false
RepeatedConditional:
enabled: false
NilCheck:
enabled: false
InstanceVariableAssumption:
enabled: false
IrresponsibleModule:
enabled: false
UncommunicativeModuleName:
enabled: false
exclude_patterns:
- spec/
bundler-audit:
enabled: true
todo:
enabled: false
fixme:
enabled: false
duplication:
enabled: true
exclude_patterns:
- spec/
- app/api/
config:
languages:
- ruby
exclude_patterns:
- db/
- ci/bump.rb
- node_modules/
- vendor/
- config/initializers/*
- config/plugins.rb
- config/
- test/
- config.ru
- db/
- dist/
- script/
- spec/