eslint-config-callstack icon indicating copy to clipboard operation
eslint-config-callstack copied to clipboard

Lack of support for flat config (default starting in ESLint v9.0.0)

Open artus9033 opened this issue 6 months ago • 0 comments

Environment

ESLint $\geqslant 9.0.0$ @callstack/eslint-config ^14.2.0

Description

The config does not work since it does not use flat config, which is the default since ESLint v9.0.0.

It can be worked around by setting the env var ESLINT_USE_FLAT_CONFIG=false, yet it would be good to support the new format, also having backwards-compatible (eslintrc-style) configuration exports.

Reproducible Demo

Upgrade ESLint to $\geqslant 9.0.0$ in any project using eslint-config-callstack and run ESLint.

artus9033 avatar Aug 08 '24 10:08 artus9033