Skip to content

This is a question, not an Issue! Is Multithreading supported with Stricter? #289

@spaul1042

Description

@spaul1042

Hi, I am using Stricter library to execute a rule for an array of packages.
something like this in stricter.config.js :

module.exports = { ... rules: { 'package-structure': ({ packages }) => packages.map(pkg => ({ level: 'error', config: { pkgRoot: pkg, }, })), 'rule-that-does-not-need-to-execute-multiple-times': { level: 'error', ... } }, ... }

the rule is executed synchronously for all the packages. This is taking a lot of time. Can I optimise run time here probably using multithreading?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions