UNPKG

swagger-endpoint-validator

Version:

A validator of API endpoints to check that input and output match with the swagger specification for the API

40 lines (39 loc) 780 B
{ "extends": "airbnb-base", "parserOptions": { "sourceType": "module", "allowImportExportEverywhere": false, "ecmaVersion": 2018 }, "env": { "jest/globals": true, "es6": true, "node": true }, "plugins": ["jest"], "rules": { "indent": [2, "tab"], "no-tabs": 0, "max-len": 0, "no-underscore-dangle": 0, "class-methods-use-this": ["off"], "no-nested-ternary": ["off"], "quotes": ["error", "single"], "linebreak-style": ["error", "unix"], "semi": ["error", "always"], "no-use-before-define": [ "error", { "functions": false, "classes": false } ], "arrow-parens": [ "error", "as-needed", { "requireForBlockBody": false } ] } }