-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove non relevant linter rules (#707)
All rules about the previous state of `@fixed` and open enums - no `@fixed` - we should deprecate it as its a noop - no fixed enum discriminator - new rule taking over recommending unions #693 --------- Co-authored-by: Mark Cowlishaw <[email protected]>
- Loading branch information
1 parent
4500461
commit 423469b
Showing
13 changed files
with
80 additions
and
290 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
.chronus/changes/remove-outdated-li3nter-rules-2024-3-19-19-40-26.md
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking | ||
changeKind: internal | ||
packages: | ||
- "@azure-tools/typespec-azure-resource-manager" | ||
--- | ||
Doc change |
8 changes: 8 additions & 0 deletions
8
.chronus/changes/remove-outdated-linter-rules-2024-3-19-19-40-26.md
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking | ||
changeKind: feature | ||
packages: | ||
- "@azure-tools/typespec-azure-core" | ||
--- | ||
|
||
Remove linter rules that are not relevant anymore: `use-extensible-enum` and `no-fixed-enum-discriminator` |
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
64 changes: 32 additions & 32 deletions
64
docs/libraries/azure-resource-manager/reference/linter.md
Large diffs are not rendered by default.
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
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
22 changes: 0 additions & 22 deletions
22
packages/typespec-azure-core/src/rules/extensible-enums.ts
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
packages/typespec-azure-core/src/rules/no-fixed-enum-discriminator.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
88 changes: 0 additions & 88 deletions
88
packages/typespec-azure-core/test/rules/no-fixed-enum-discriminator.test.ts
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
packages/typespec-azure-core/test/rules/use-extensible-enums.test.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.