@checkdigit/spectral-config 3.0.0 → 3.1.0-PR.24-c860
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.
- package/README.md +0 -4
- package/package.json +1 -42
- package/ruleset.json +1 -1
package/README.md
CHANGED
|
@@ -54,7 +54,3 @@ Set Included files to the following glob pattern `**/*swagger.yml`.
|
|
|
54
54
|
Install Spectral, by Spotlight https://marketplace.visualstudio.com/items?itemName=stoplight.spectral
|
|
55
55
|
|
|
56
56
|
### Rules for Certain Warnings and Errors
|
|
57
|
-
|
|
58
|
-
`operation-operationId Operation must have "operationId"`
|
|
59
|
-
|
|
60
|
-
Add an operationId to the operation. Check Digit uses a `noun-noun-verb` naming convention. For example, the correct operationId for a `PUT` to path `/resource/{id}/item/{itemId}/key` is `resource-item-key-put`
|
package/package.json
CHANGED
|
@@ -1,42 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@checkdigit/spectral-config",
|
|
3
|
-
"version": "3.0.0",
|
|
4
|
-
"private": false,
|
|
5
|
-
"description": "Check Digit Spectral Config",
|
|
6
|
-
"homepage": "https://github.com/checkdigit/spectral-config#readme",
|
|
7
|
-
"bugs": {
|
|
8
|
-
"url": "https://github.com/checkdigit/spectral-config/issues"
|
|
9
|
-
},
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/checkdigit/spectral-config.git"
|
|
13
|
-
},
|
|
14
|
-
"license": "UNLICENSED",
|
|
15
|
-
"author": "Check Digit, LLC",
|
|
16
|
-
"main": "ruleset.json",
|
|
17
|
-
"files": [
|
|
18
|
-
"ruleset.json"
|
|
19
|
-
],
|
|
20
|
-
"scripts": {
|
|
21
|
-
"ci:compile": "",
|
|
22
|
-
"ci:coverage": "",
|
|
23
|
-
"ci:lint": "npm run lint",
|
|
24
|
-
"ci:style": "npm run prettier",
|
|
25
|
-
"ci:test": "spectral lint test/openapi.yml --ruleset test/.spectral.json",
|
|
26
|
-
"lint": "",
|
|
27
|
-
"lint:fix": "",
|
|
28
|
-
"prettier": "prettier --ignore-path .gitignore --list-different .",
|
|
29
|
-
"prettier:fix": "prettier --ignore-path .gitignore --write .",
|
|
30
|
-
"test": "npm run ci:compile && npm run ci:test && npm run ci:style && npm run ci:lint"
|
|
31
|
-
},
|
|
32
|
-
"prettier": "@checkdigit/prettier-config",
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"@checkdigit/prettier-config": "^6.0.0"
|
|
35
|
-
},
|
|
36
|
-
"peerDependencies": {
|
|
37
|
-
"@stoplight/spectral-cli": "6.14.2"
|
|
38
|
-
},
|
|
39
|
-
"engines": {
|
|
40
|
-
"node": ">=22.11"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
1
|
+
{"name":"@checkdigit/spectral-config","version":"3.1.0-PR.24-c860","private":false,"description":"Check Digit Spectral Config","homepage":"https://github.com/checkdigit/spectral-config#readme","bugs":{"url":"https://github.com/checkdigit/spectral-config/issues"},"repository":{"type":"git","url":"git+https://github.com/checkdigit/spectral-config.git"},"license":"UNLICENSED","author":"Check Digit, LLC","main":"ruleset.json","files":["ruleset.json"],"scripts":{"ci:compile":"","ci:coverage":"","ci:lint":"npm run lint","ci:style":"npm run prettier","ci:test":"spectral lint test/openapi.yml --ruleset test/.spectral.json","lint":"","lint:fix":"","prettier":"prettier --ignore-path .gitignore --list-different .","prettier:fix":"prettier --ignore-path .gitignore --write .","test":"npm run ci:compile && npm run ci:test && npm run ci:style && npm run ci:lint"},"prettier":"@checkdigit/prettier-config","devDependencies":{"@checkdigit/prettier-config":"^7.1.2"},"peerDependencies":{"@stoplight/spectral-cli":"6.15.0"},"engines":{"node":">=22.15"}}
|
package/ruleset.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"no-eval-in-markdown": "error",
|
|
13
13
|
"no-script-tags-in-markdown": "error",
|
|
14
14
|
"operation-description": "error",
|
|
15
|
-
"operation-operationId": "
|
|
15
|
+
"operation-operationId": "off",
|
|
16
16
|
"operation-operationId-valid-in-url": "error",
|
|
17
17
|
"operation-tags": "error",
|
|
18
18
|
"path-declarations-must-exist": "error",
|