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
I was using https://eslint.org/docs/latest/use/configure/migration-guide#using-eslintrc-configs-in-flat-config to try to convert from the old config to flat config.
import { defineFlatConfig } from "eslint-define-config"; import { FlatCompat } from "@eslint/eslintrc"; const compat = new FlatCompat({ baseDirectory: __dirname }); // js.configs.recommended is basically "eslint:recommended" import js from "@eslint/js"; import eslintConfigPrettier from "eslint-config-prettier"; export default defineFlatConfig([ js.configs.recommended, eslintConfigPrettier, ...compat.extends("eslint-config-turbo"), { plugins: { // plugins... }, rules: { // rules... } } ]);
But ...compat.extends("eslint-config-turbo") error out even though it should work If I use jsdoc with the types from "eslint"
// js.configs.recommended is basically "eslint:recommended" import js from "@eslint/js"; import eslintConfigPrettier from "eslint-config-prettier"; import { FlatCompat } from "@eslint/eslintrc"; const compat = new FlatCompat({ baseDirectory: __dirname }); /** * @type {import("eslint").Linter.FlatConfig[]} */ export default [ js.configs.recommended, eslintConfigPrettier, ...compat.extends("eslint-config-my-config"), { plugins: { // plugins... }, rules: { // rules... } } ];
It starts to work but it would be great if this plugin worked with the convertion.
The text was updated successfully, but these errors were encountered:
Please give tseslint.config (https://typescript-eslint.io/getting-started/#step-2-configuration) a try
Sorry, something went wrong.
No branches or pull requests
I was using https://eslint.org/docs/latest/use/configure/migration-guide#using-eslintrc-configs-in-flat-config to try to convert from the old config to flat config.
But ...compat.extends("eslint-config-turbo") error out even though it should work
If I use jsdoc with the types from "eslint"
It starts to work but it would be great if this plugin worked with the convertion.
The text was updated successfully, but these errors were encountered: