Relative Content

Tag Archive for javascripttypescripteslint

ESLint: Why is no-unused-expressions failing?

In my code I have a series of ternary operators using the addition/subtraction assignment operator to modify the value for a variable corresponding to the pixel position of an element in an SVG.

ESLint: Error while flat config migration

I’ve upgrade my eslint to use new flat configuration and I’m getting error.
As you know,I can’t set parserOptions.project in new flat configuration but eslint is complaining about it.
ESLint version: 8.57.0
Link to my new flat confiiguration: https://github.com/FlowCrypt/flowcrypt-browser/blob/0b627aae2977076fdcb6c96cfad3e627718e9ade/eslint.config.mjs