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

Commit 9b00a44

Browse files
committed
use the plugin
1 parent 14d8f47 commit 9b00a44

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.eslintrc.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
module.exports = {
22
root: true,
3-
extends: ['airbnb-base', 'plugin:prettier/recommended', 'openapi-jsdoc'],
3+
extends: [
4+
'airbnb-base',
5+
'plugin:prettier/recommended',
6+
'plugin:openapi-jsdoc/recommended',
7+
],
48
rules: {
59
'func-names': 'off',
610
'no-console': 'off',

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"build": "run-s clean bundle",
3737
"clean": "rimraf dist",
3838
"bundle": "rollup -c && cp src/exported.d.ts dist/openapi-comment-parser.d.ts",
39-
"prepublishOnly": "npm run build"
39+
"prepublishOnly": "npm run build",
40+
"mid": "nodemon -e yaml,yml,js,mjs,json middleware/src/app.js"
4041
},
4142
"dependencies": {},
4243
"devDependencies": {

0 commit comments

Comments
 (0)