Skip to content

Commit 6246d27

Browse files
committed
Config craco to load our eslintrc file
Otherwise make build and make front-lint were producing different warnings Signed-off-by: Carlos Martín <carlos.martin.sanchez@gmail.com>
1 parent ac63701 commit 6246d27

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

frontend/craco.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
const CracoLessPlugin = require('craco-less');
2+
const { ESLINT_MODES } = require('@craco/craco');
23

34
module.exports = {
4-
plugins: [{ plugin: CracoLessPlugin }]
5+
plugins: [{ plugin: CracoLessPlugin }],
6+
eslint: {
7+
mode: ESLINT_MODES.file
8+
}
59
};

0 commit comments

Comments
 (0)