eslint-config-prettier v10.1.1

v10.1.1
Fixed 1
  • Separate the /flat entry for compatibility with config-inspector by adding a name property to the flat config entry

From eslint-config-prettier

Patch Changes
  • #309 eb56a5e Thanks @JounQin! - fix: separate the /flat entry for compatibility

    For flat config users, the previous "eslint-config-prettier" entry still works, but "eslint-config-prettier/flat" adds a new name property for config-inspector, we just can't add it for the default entry for compatibility.

    See also https://github.com/prettier/eslint-config-prettier/issues/308

    // before
    import eslintConfigPrettier from "eslint-config-prettier";
    
    // after
    import eslintConfigPrettier from "eslint-config-prettier/flat";
    
View original

Upgraded? How did it go?

Discussion