We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lintツール:detektのデフォに合わせていきたい(現状は200などの固定値を許している)
config/detekt/detekt-override.yml をなくせたら理想
# # MagicNumber # # 概要 # - マジックナンバーはOUT # MagicNumber: active: true excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**', '**/*.kts'] ignoreNumbers: # (default: ['-1', '0', '1', 2]) - '-1' - '0' - '1' - '2' - '200' - '201' - '400' - '401' - '403' - '404' - '422' - '500'
Before
val expectedStatus = 200
After
val expectedStatus = HttpStatus.OK.value()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
背景
lintツール:detektのデフォに合わせていきたい(現状は200などの固定値を許している)
config/detekt/detekt-override.yml をなくせたら理想
実際の対応例
Before
After
The text was updated successfully, but these errors were encountered: