[CHORE] moving things around

This commit is contained in:
Daveanand Mannie
2025-10-22 03:59:38 -04:00
parent fe02946bb2
commit 800e892b6e
10 changed files with 186 additions and 33 deletions

59
config_files/.rubocop.yml Normal file
View File

@@ -0,0 +1,59 @@
AllCops:
TargetRubyVersion: 3.4
NewCops: enable
Exclude:
- 'db/schema.rb'
- 'bin/**/*'
- 'node_modules/**/*'
- 'vendor/**/*'
Layout/LineLength:
Max: 100
Layout/IndentationWidth:
Width: 2
Layout/EmptyLinesAroundClassBody:
Enabled: true
Layout/EmptyLinesAroundModuleBody:
Enabled: true
Naming/VariableName:
EnforcedStyle: snake_case
Naming/MethodName:
EnforcedStyle: snake_case
Naming/ClassAndModuleCamelCase:
Enabled: true
Style/Documentation:
Enabled: false
Style/RedundantBegin:
Enabled: true
Style/GuardClause:
Enabled: true
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/OptionalBooleanParameter:
Enabled: false
Metrics/MethodLength:
Max: 25
Metrics/ClassLength:
Max: 200
Metrics/BlockLength:
Max: 25
Metrics/AbcSize:
Max: 15

View File

@@ -1,11 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 4,
"lineWidth": 120
},
"$schema": "https://biomejs.dev/schemas/2.2.6/schema.json",
"linter": {
"enabled": true,
"rules": {
@@ -18,8 +12,46 @@
}
}
},
"vcs": {
"enabled": true,
"clientKind": "git"
},
"javascript": {
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 4,
"lineWidth": 100
},
"linter": {
"enabled": true
},
"assist": {
"enabled": true
}
},
"css": {
"formatter": {
"enabled": true,
"indentWidth": 2,
"indentStyle": "space"
},
"linter": {
"enabled": true
},
"assist": {
"enabled": true
}
},
"json": {
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 4,
"expand": "always"
}
}
}