Skip to content

Commit

Permalink
fix: avoid inserting name for eslintrc configs; fixes #1239
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Jun 13, 2024
1 parent 5429982 commit c2d5a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const index = {
*/
const createRecommendedRuleset = (warnOrError, flatName) => {
return {
name: flatName,
...(flatName ? {name: flatName} : {}),
// @ts-expect-error Ok
plugins:
flatName ? {
Expand Down

0 comments on commit c2d5a35

Please sign in to comment.