Skip to content

Commit

Permalink
[networkanalytics] Enable linter ruleset (#26060)
Browse files Browse the repository at this point in the history
- Enable linter ruleset as required by latest version of TypeSpec
- Fix linter violation by replacing 'format("date-time")' with 'utcDateTime'
  • Loading branch information
mikeharder authored Oct 3, 2023
1 parent b62ddd0 commit c670161
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,12 +292,10 @@ model ConsumptionEndpointsProperties {
@added(Versions.v2023_11_15)
model AccountSas {
@doc("Sas token start timestamp.")
@format("date-time")
startTimeStamp: string;
startTimeStamp: utcDateTime;

@doc("Sas token expiry timestamp.")
@format("date-time")
expiryTimeStamp: string;
expiryTimeStamp: utcDateTime;

@doc("Ip Address")
ipAddress: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
emit:
- '@azure-tools/typespec-autorest'
linter:
extends:
- "@azure-tools/typespec-azure-resource-manager/all"
options:
'@azure-tools/typespec-autorest':
emitter-output-dir: "{project-root}/.."
Expand Down

0 comments on commit c670161

Please sign in to comment.