immobiliare / dats

📈 Minimalistic zero-dependencies statsd client for Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESLint and Prettier mismatch

antoniomuso opened this issue · comments

Eslint and prettier change continuously the code, in particular they change this line of code:

    const cachable = (ttl, hostname) =>
        buildLookupFunction(ttl, hostname, (mock as unknown) as typeof lookup);

For prettier this code it is fine, but Eslint removes the parentesis:

    const cachable = (ttl, hostname) =>
        buildLookupFunction(ttl, hostname, mock as unknown as typeof lookup);

I'll give a look, that surely some config set/plugin clashing