-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Either this plugin isn't compatible with ESLint's flat config file yet, or I'm not setting it up quite right.
Here's a simple example:
Config
import globals from 'globals';
import diff from 'eslint-plugin-diff';
export default [
{
...diff.configs.diff.overrides[0],
plugins: { diff },
processor: diff.processors.diff,
},
{
rules: {
'no-console': ['error'],
},
},
];
console.log(1);
+console.log(2);
console.log(3);
console.log(4);
Expected
2:1 error Unexpected console statement no-console
Actual
1:1 error Unexpected console statement no-console
2:1 error Unexpected console statement no-console
3:1 error Unexpected console statement no-console
4:1 error Unexpected console statement no-console
Any help would be appreciated.
Thanks in advance
lkraav, rakleed, gtbuchanan and jayphelps
Metadata
Metadata
Assignees
Labels
No labels