Commit 3c10a42
chore: reorg eslint rules into separate files (#466)
The rules file got a bit large and hard to maintain/understand what's
going on. In this change we are splitting the file up into sensible
categories.
Also includes a projen upgrade to uses `@stylistic` for formatting rules
and fixes a couple of rules to not use an array when they prefer to not
use one (based on VSCode eslint plugin warnings). Places where some of
the affected rules are disabled needed updating as well.
There are a bunch of small formatting changes to type statements. These
didn't get picked up previously because the built-in eslint rules don't
support TypeScript, but the `@stylistic` ones do.
The lack of any other changes to the codebase proves that these fixes
are alright.
---
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache-2.0 license
---------
Signed-off-by: github-actions <github-actions@github.com>
Co-authored-by: github-actions <github-actions@github.com>1 parent 89a2bcf commit 3c10a42
File tree
61 files changed
+1285
-1389
lines changed- packages
- @aws-cdk-testing/cli-integ
- lib/package-sources
- @aws-cdk
- cdk-cli-wrapper
- cli-lib-alpha
- cli-plugin-contract
- cloud-assembly-schema
- cloudformation-diff
- lib
- diff
- iam
- test
- integ-runner
- lib/runner
- node-bundle
- src/api
- toolkit-lib
- lib
- api
- aws-auth
- cloud-assembly
- deployments
- environment
- io/private
- plugin
- work-graph
- context-providers
- private/activity-printer
- util
- test
- _helpers
- context-providers
- user-input-gen
- yarn-cling
- lib
- aws-cdk
- lib
- cli
- commands
- cxapp
- test/_helpers
- cdk-assets
- cdk
- projenrc
- eslint
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
61 files changed
+1285
-1389
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments