feat(formatting): adds prettier and related run scripts #4697
Annotations
10 errors and 10 warnings
lint:
bin/app.ts#L7
Replace `⏎··IamPathAspect,⏎··IamPermissionsBoundaryAspect,⏎` with `·IamPathAspect,·IamPermissionsBoundaryAspect·`
|
lint:
bin/app.ts#L39
Replace `⏎········deploymentConfig.config.iamPermissionsBoundary,⏎······` with `deploymentConfig.config.iamPermissionsBoundary`
|
lint:
bin/cli/src/commands/deploy.ts#L2
Replace `⏎··checkIfAuthenticated,⏎··runCommand,⏎··project,⏎··region,⏎··writeUiEnvFile,⏎` with `·checkIfAuthenticated,·runCommand,·project,·region,·writeUiEnvFile·`
|
lint:
bin/cli/src/commands/deploy.ts#L11
Replace `⏎··CloudFrontClient,⏎··CreateInvalidationCommand,⏎` with `·CloudFrontClient,·CreateInvalidationCommand·`
|
lint:
bin/cli/src/commands/deploy.ts#L25
Replace `⏎······"cdk",⏎······["deploy",·"-c",·`stage=${options.stage}`,·"--all"],⏎······".",⏎····` with `"cdk",·["deploy",·"-c",·`stage=${options.stage}`,·"--all"],·"."`
|
lint:
bin/cli/src/commands/deploy.ts#L60
Replace `⏎······"aws",⏎······["s3",·"rm",·`s3://${s3BucketName}/`,·"--recursive"],⏎······".",⏎····` with `"aws",·["s3",·"rm",·`s3://${s3BucketName}/`,·"--recursive"],·"."`
|
lint:
bin/cli/src/commands/deploy.ts#L65
Replace `⏎······"aws",⏎······["s3",·"sync",·buildDir,·`s3://${s3BucketName}/`],⏎······".",⏎····` with `"aws",·["s3",·"sync",·buildDir,·`s3://${s3BucketName}/`],·"."`
|
lint:
bin/cli/src/commands/deploy.ts#L85
Replace `⏎······new·CreateInvalidationCommand(invalidationParams),⏎····` with `new·CreateInvalidationCommand(invalidationParams)`
|
lint:
bin/cli/src/commands/destroy.ts#L7
Replace `⏎··checkIfAuthenticated,⏎··confirmDestroyCommand,⏎··project,⏎··region,⏎` with `·checkIfAuthenticated,·confirmDestroyCommand,·project,·region·`
|
lint:
bin/cli/src/commands/destroy.ts#L14
Replace `⏎··client:·CloudFormationClient,⏎··stackName:·string,⏎` with `client:·CloudFormationClient,·stackName:·string`
|
lint:
react-app/src/components/Opensearch/main/Filtering/Drawer/hooks.ts#L153
React Hook useEffect has missing dependencies: 'accordionValues' and 'setFilters'. Either include them or remove the dependency array
|
lint:
react-app/src/components/Opensearch/main/Filtering/Drawer/hooks.ts#L170
React Hook useMemo has a missing dependency: 'labelMap'. Either include it or remove the dependency array
|
lint:
react-app/src/components/Opensearch/main/useOpensearch.ts#L74
React Hook useEffect has missing dependencies: 'onRequest' and 'params.state'. Either include them or remove the dependency array
|
lint:
react-app/src/components/RHF/Slot.tsx#L39
React Hook useEffect has a missing dependency: 'field.name'. Either include it or remove the dependency array
|
lint:
react-app/src/components/RHF/dependencyWrapper.tsx#L143
React Hook useEffect has missing dependencies: 'getValues', 'isTriggered', 'name', 'setValue', and 'wasSetLast'. Either include them or remove the dependency array
|
lint:
react-app/src/components/SearchForm/index.tsx#L16
React Hook useEffect has a missing dependency: 'handleSearch'. Either include it or remove the dependency array. If 'handleSearch' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
lint:
react-app/src/features/package/admin-changes/index.tsx#L67
React Hook useMemo has missing dependencies: 'props.event' and 'props.raiWithdrawEnabled'. Either include them or remove the dependency array
|
lint:
react-app/src/hooks/useIdle/index.ts#L55
React Hook useEffect has a missing dependency: 'events'. Either include it or remove the dependency array
|
lint:
react-app/src/hooks/useMediaQuery.ts#L29
React Hook useEffect has a missing dependency: 'handleChange'. Either include it or remove the dependency array
|
lint:
react-app/src/hooks/useParams.ts#L25
React Hook useMemo has a missing dependency: 'props.initValue'. Either include it or remove the dependency array
|