@typespec/library-linter 0.53.0-dev.0 → 0.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +5 -6
package/README.md CHANGED
@@ -10,15 +10,15 @@ npm install -D @typespec/library-linter
10
10
 
11
11
  ## Usage
12
12
 
13
- Compile your library package. Any errors or warnings will be reported as typespec diagnostics.
13
+ Compile your library package. Any errors or warnings will be reported as TypeSpec diagnostics.
14
14
 
15
15
  ```bash
16
- # At the root of your typespec library.
16
+ # At the root of your TypeSpec library.
17
17
  tsp compile . --import @typespec/library-linter
18
18
  ```
19
19
 
20
20
  ## TypeSpec Library Best rules and best practices
21
21
 
22
- | Rule name | Description |
23
- | ------------------- | ---------------------------------------------------------------------------------------------------------------- |
24
- | `missing-namespace` | Validate that every exported element from the library(Models, JS functions, operations, etc.) is in a namespace. |
22
+ | Rule name | Description |
23
+ | ------------------- | ----------------------------------------------------------------------------------------------------------------- |
24
+ | `missing-namespace` | Validate that every exported element from the library (models, JS functions, operations, etc.) is in a namespace. |
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@typespec/library-linter",
3
- "version": "0.53.0-dev.0",
3
+ "version": "0.53.0",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec library for linting another library.",
6
- "homepage": "https://microsoft.github.io/typespec",
6
+ "homepage": "https://typespec.io",
7
7
  "readme": "https://github.com/microsoft/typespec/blob/main/README.md",
8
8
  "license": "MIT",
9
9
  "repository": {
@@ -38,12 +38,12 @@
38
38
  "!dist/test/**"
39
39
  ],
40
40
  "peerDependencies": {
41
- "@typespec/compiler": "~0.52.0 || >=0.53.0-dev <0.53.0"
41
+ "@typespec/compiler": "~0.53.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/node": "~18.11.9",
45
- "@typespec/compiler": "~0.52.0 || >=0.53.0-dev <0.53.0",
46
- "@typespec/eslint-config-typespec": "~0.52.0 || >=0.53.0-dev <0.53.0",
45
+ "@typespec/compiler": "~0.53.0",
46
+ "@typespec/eslint-config-typespec": "~0.53.0",
47
47
  "eslint": "^8.55.0",
48
48
  "vitest": "^1.2.0",
49
49
  "@vitest/coverage-v8": "^1.1.0",
@@ -52,7 +52,6 @@
52
52
  "rimraf": "~5.0.1",
53
53
  "typescript": "~5.3.3"
54
54
  },
55
- "dependencies": {},
56
55
  "scripts": {
57
56
  "clean": "rimraf ./dist ./temp",
58
57
  "build": "tsc -p .",