Refactoring code to reduce cognitive complexity of Flags.validate function in src/flags.js #121
Annotations
10 errors and 1 warning
Run ESLint:
test/flags.js#L1196
Expected indentation of 1 tab but found 4 spaces
|
Run ESLint:
test/flags.js#L1197
Expected indentation of 2 tabs but found 8 spaces
|
Run ESLint:
test/flags.js#L1198
Expected indentation of 2 tabs but found 8 spaces
|
Run ESLint:
test/flags.js#L1200
Expected indentation of 2 tabs but found 8 spaces
|
Run ESLint:
test/flags.js#L1201
Expected indentation of 3 tabs but found 12 spaces
|
Run ESLint:
test/flags.js#L1202
Expected indentation of 2 tabs but found 8 spaces
|
Run ESLint:
test/flags.js#L1203
Expected indentation of 3 tabs but found 12 spaces
|
Run ESLint:
test/flags.js#L1204
Expected indentation of 3 tabs but found 12 spaces
|
Run ESLint:
test/flags.js#L1205
Expected indentation of 2 tabs but found 8 spaces
|
Run ESLint:
test/flags.js#L1206
Expected indentation of 1 tab but found 4 spaces
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading