Copy-pasta from:
eslint/eslint#20351
Here is a modified version of that minimal repro which shows a linting error:
BUT it seems the inspector is also wrong, because the config inspector thinks the lint rule should be disabled
Unexpected:

from config:
import { defineConfig } from 'eslint/config';
import js from '@eslint/js';
export default defineConfig(js.configs.recommended, {
files: ['root.js'],
extends: [
{
files: ['subdir/*.js'],
rules: { 'no-unused-vars': 'off' },
},
],
});
The inspector reports what I would expect, but CLI behavior does not agree

Copy-pasta from:
eslint/eslint#20351
Here is a modified version of that minimal repro which shows a linting error:
(unexpected, because the eslint config disables it)
BUT it seems the inspector is also wrong, because the config inspector thinks the lint rule should be disabled
Unexpected:

from config:
The inspector reports what I would expect, but CLI behavior does not agree
