Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Commit fb65b08

Browse files
committed
fix eslint
1 parent 20753b4 commit fb65b08

File tree

5 files changed

+431
-456
lines changed

5 files changed

+431
-456
lines changed

eslint-plugin-openapi/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -412,10 +412,10 @@ module.exports = {
412412
},
413413
configs: {
414414
recommended: {
415-
plugins: ['openapi-jsdoc'],
415+
plugins: ['openapi'],
416416
rules: {
417-
'openapi-jsdoc/warnings': 'warn',
418-
'openapi-jsdoc/errors': 'error',
417+
'openapi/warnings': 'warn',
418+
'openapi/errors': 'error',
419419
},
420420
},
421421
},

eslint-plugin-openapi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-openapi",
3-
"version": "0.0.1",
3+
"version": "0.0.3",
44
"main": "index.js",
55
"license": "MIT",
66
"scripts": {

example/yarn.lock

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,14 +305,22 @@ [email protected]:
305305
resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3"
306306
integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==
307307

308-
[email protected], js-yaml@^3.13.1:
308+
309309
version "3.13.1"
310310
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847"
311311
integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==
312312
dependencies:
313313
argparse "^1.0.7"
314314
esprima "^4.0.0"
315315

316+
js-yaml@^3.13.1:
317+
version "3.14.0"
318+
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.0.tgz#a7a34170f26a21bb162424d8adacb4113a69e482"
319+
integrity sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==
320+
dependencies:
321+
argparse "^1.0.7"
322+
esprima "^4.0.0"
323+
316324
lodash.get@^4.4.2:
317325
version "4.4.2"
318326
resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99"
@@ -511,9 +519,9 @@ [email protected]:
511519
"@apidevtools/swagger-parser" "9.0.1"
512520

513521
swagger-ui-dist@^3.18.1:
514-
version "3.25.3"
515-
resolved "https://registry.yarnpkg.com/swagger-ui-dist/-/swagger-ui-dist-3.25.3.tgz#15a985381c6a2120982618cca37363dd8e9071e8"
516-
integrity sha512-/8DSx431mdN94t8mIZejhVUdN9r8zM+V1l+VGT0h7smrzYFa9vWi2sLVCg4YfgKgMjXYhU4OKADHPnWkbLb+ZQ==
522+
version "3.25.4"
523+
resolved "https://registry.yarnpkg.com/swagger-ui-dist/-/swagger-ui-dist-3.25.4.tgz#045fdcc37d4b756c00bc228eec82153014474f00"
524+
integrity sha512-IiupbwT2znZ/BXDgSv9gIaxTL+oVSvhaSe5K4NxSCxRe6bTFK/Q4JwOGzYLep5I2h460xSbwdIuUUblNDolTNg==
517525

518526
swagger-ui-express@^4.1.4:
519527
version "4.1.4"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"eslint-config-prettier": "6.10.1",
6161
"eslint-loader": "3.0.3",
6262
"eslint-plugin-import": "2.20.1",
63-
"eslint-plugin-openapi": "^0.0.1",
63+
"eslint-plugin-openapi": "^0.0.3",
6464
"eslint-plugin-prettier": "3.1.2",
6565
"globby": "^11.0.0",
6666
"js-yaml": "^3.13.1",

0 commit comments

Comments
 (0)