Commit 0b82629
committed
Fix case in flat config when a file doesn't have any rules configured
In flat config the resolved config is "undefined" for files that don't
have any configuration, which caused an error in the CLI utility, unlike
in legacy ESLint configuration where the empty resolved configuration is
an empty object with an empty "rules: {}".1 parent cdc4a5c commit 0b82629
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments