Run lint on packages
envgap__aws__aws-sdk-js-v3-4074
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
3620ce4162435b9688823162281140f40365b14c- Manifest
package.json- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
aws/aws-sdk-js-v3 #4074 · read the original issue
### Describe the feature
We run linter and fix issues when generating clients
https://github.com/aws/aws-sdk-js-v3/blob/f9bc7afd7af7535c0de8123d0820faa8ebec7e16/scripts/generate-clients/code-eslint-fix.js#L6-L12
However, the linter is not run on packages and lib.
### Use Case
Running a linter can be used to enforce rules to avoid issues like in https://github.com/aws/aws-sdk-js-v3/issues/4067
### Proposed Solution
Run eslint on packages and lib during prebuild as follows:
```json
// package.json
{
"scripts": {
"prebuild": "eslint src/**/*.ts",
// ...
},
}
```
### Other Information
_No response_
### Acknowledgements
- [X] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
### SDK version used
main
### Environment details (OS name and version, etc.)
N/A04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]