Open
Description
@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:
- catching silly mistakes like Fix mocha async
describe
#123 - enforcing best practices like removing unused imports or enforcing usage
const
overlet
when possible - enabling external developers to contribute to this project by enforcing a code quality standard.
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
Labels
No labels