Skip to content

Thoughts on using ESLint for static analysis #124

Open
@pmdartus

Description

@pmdartus

@pimterry I wanted to get your thoughts on using ESLint to enforce static analysis against the Mockttp source code. I see value in adding static analysis for a project of this scale for the following reasons:

The ESLint adoption can be done gradually by enforcing rules incrementally until reaching a state where you are happy without having to be a maintenance burden in the long run. For what it's worth, create a quick POC, enabling ESLint with the eslint:recommended config and using eslint --fix to automatically fix the "fixable" linting errors.

I am certainly biased on this, so I don't this to be a limiting factor for you to quickly iterate over this project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions