We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tell us about your environment
import path from "node:path"; import { fileURLToPath } from "node:url"; import { FlatCompat } from "@eslint/eslintrc"; import js from "@eslint/js"; import autoPlugin from 'eslint-plugin-no-autofix'; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); const compat = new FlatCompat({ baseDirectory: __dirname, recommendedConfig: js.configs.recommended, allConfig: js.configs.all }); export default [autoPlugin.configs.all];
Expected behavior success use
Actual behavior throw error: This method cannot be used with flat config. Add your entries directly into the config array
The text was updated successfully, but these errors were encountered:
aladdin-add
No branches or pull requests
Tell us about your environment
Expected behavior
success use
Actual behavior
throw error: This method cannot be used with flat config. Add your entries directly into the config array
The text was updated successfully, but these errors were encountered: