-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(eslint-plugin): remove unused no-qualified-construct rule (#28779)
The `no-qualified-construct` rule is meant to make sure there are no collisions with `constructs.Construct` and `core.Construct`. This was helpful when reducing merge conflicts between v1 and v2 branches. We no longer have this issue, and CDK v2 does not include `core.Constructs`; we use `constructs.Construct` everywhere. Also I documented our other eslint-plugin rules that seem to still make sense in the README. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information
Showing
13 changed files
with
6 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
export const rules = { | ||
'no-core-construct': require('./rules/no-core-construct'), | ||
'no-qualified-construct': require('./rules/no-qualified-construct'), | ||
'invalid-cfn-imports': require('./rules/invalid-cfn-imports'), | ||
'no-literal-partition': require('./rules/no-literal-partition'), | ||
}; |
134 changes: 0 additions & 134 deletions
134
tools/@aws-cdk/eslint-plugin/lib/rules/no-qualified-construct.ts
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...-cdk/eslint-plugin/test/rules/fixtures/no-qualified-construct/both-constructs.expected.ts
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
tools/@aws-cdk/eslint-plugin/test/rules/fixtures/no-qualified-construct/both-constructs.ts
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
tools/@aws-cdk/eslint-plugin/test/rules/fixtures/no-qualified-construct/eslintrc.js
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...k/eslint-plugin/test/rules/fixtures/no-qualified-construct/qualified-heritage.expected.ts
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
...s/@aws-cdk/eslint-plugin/test/rules/fixtures/no-qualified-construct/qualified-heritage.ts
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...-cdk/eslint-plugin/test/rules/fixtures/no-qualified-construct/qualified-usage.expected.ts
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tools/@aws-cdk/eslint-plugin/test/rules/fixtures/no-qualified-construct/qualified-usage.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters