You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's happening
I want to set a custom eslint file according to the receipt, but @craco/craco does not export ESLINT_MODES.
What should happen @craco/craco should export ESLINT_MODES and therefore allow a custom eslint file.
To reproduce
Try to import ESLINT_MODES from @craco/craco anywhere. It's clearly not exported in the index.ts. Furthermore, it just appears in the documentation when searching the entire repository: https://github.com/dilanx/craco/search?q=ESLINT_MODES
Thanks for the catch. Since CRACO 7, ESLINT_MODES does not exist, and the config property should be set to either 'extends' or 'file' (as a string, see the TS interface here). The documentation does not accurately reflect that so I'll fix that soon. Sorry!
What's happening
I want to set a custom eslint file according to the receipt, but
@craco/craco
does not exportESLINT_MODES
.What should happen
@craco/craco
should exportESLINT_MODES
and therefore allow a custom eslint file.To reproduce
Try to import
ESLINT_MODES
from@craco/craco
anywhere. It's clearly not exported in theindex.ts
. Furthermore, it just appears in the documentation when searching the entire repository: https://github.com/dilanx/craco/search?q=ESLINT_MODESCRACO version
7.0.0
CRACO config
package.json
Additional information
None
The text was updated successfully, but these errors were encountered: