UNPKG

@mindfiredigital/eslint-plugin-hub

Version:

eslint-plugin-hub is a powerful, flexible ESLint plugin that provides a curated set of rules to enhance code readability, maintainability, and prevent common errors. Whether you're working with vanilla JavaScript, TypeScript, React, or Angular, eslint-plu

15 lines (13 loc) 507 B
const httpStatusCode = require('./plugin/http-status-code'); const consistentRouteFormat = require('./plugin/consistent-route-format'); // Add this line const pluralResourcePaths = require('./plugin/plural-resource-paths'); const verbConsistency = require('./plugin/verb-consistency'); module.exports = { rules: { ...httpStatusCode.rules, ...consistentRouteFormat.rules, ...pluralResourcePaths.rules, ...verbConsistency.rules, // ...add other express rules here in the future }, };