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

24 lines (22 loc) 1.01 kB
const limitDataScope = require('./plugin/limit-data-scope'); const keepFunctionsConcise = require('./plugin/keep-functions-concise'); const fixedLoopBounds = require('./plugin/fixed-loop-bounds'); const limitReferenceDepth = require('./plugin/limit-reference-depth'); const checkReturnValues = require('./plugin/check-return-values'); const minimizeComplexflows = require('./plugin/minimize-complexflows'); const avoidRuntimeHeapAllocation = require('./plugin/avoid-runtime-heap-allocation'); const useRuntimeAssesrtion = require('./plugin/use-runtime-assertions'); const minimizeDeepAsynchronousChains = require('./plugin/minimize-deep-asynchronous-chains'); module.exports = { rules: { ...limitDataScope.rules, ...keepFunctionsConcise.rules, ...fixedLoopBounds.rules, ...limitReferenceDepth.rules, ...checkReturnValues.rules, ...minimizeComplexflows.rules, ...avoidRuntimeHeapAllocation.rules, ...useRuntimeAssesrtion.rules, ...minimizeDeepAsynchronousChains.rules, }, };