File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ Below are code convention we strive to follow in `eng` directory:
13
13
- We align ` package.json ` dependencies versions across all ` package.json ` files.
14
14
- We align ` package.json ` dependencies numbers with [ microsoft/typespec package.json] .
15
15
In few cases we allow more frequent update cadence.
16
+ - We avoid doing package overrides. For example, we use ` v8 ` of ` eslint ` instead of ` v9 ` to avoid an override.
17
+ [ See this comment for details] [ eslint override ] .
18
+ - We order ` package.json ` keys as follows: ` name private type main bin scripts engines dependencies devDependencies ` .
16
19
17
20
### package-lock.json
18
21
@@ -30,3 +33,4 @@ Below are code convention we strive to follow in `eng` directory:
30
33
[ Design guidelines for spec repos validation tooling ] : https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/1153/Design-guidelines-for-spec-repos-validation-tooling
31
34
[ microsoft/typespec package.json ] : https://github.com/microsoft/typespec/blob/main/package.json
32
35
[ microsoft/typespec .prettierrc.json ] : https://github.com/microsoft/typespec/blob/main/.prettierrc.json
36
+ [ eslint override ] : https://github.com/Azure/azure-rest-api-specs/pull/29820#pullrequestreview-2177045580
You can’t perform that action at this time.
0 commit comments