Skip to content

Commit 9c6141f

Browse files
authoredJan 18, 2025··
chore: add plugin name to flat recommended config (#703)
1 parent 35a5cd0 commit 9c6141f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
 

‎.changeset/healthy-seas-add.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-plugin-prettier": patch
3+
---
4+
5+
Add name field to recommended flat config

‎recommended.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
const eslintConfigPrettier = require('eslint-config-prettier');
22
const eslintPluginPrettier = require('./eslint-plugin-prettier');
33

4-
// Merge the contents of eslint-config-prettier into every
4+
// Merge the contents of eslint-config-prettier into config
55
module.exports = {
66
...eslintConfigPrettier,
7+
name: 'eslint-plugin-prettier/recommended',
78
plugins: {
89
...eslintConfigPrettier.plugins,
910
prettier: eslintPluginPrettier,

0 commit comments

Comments
 (0)
Please sign in to comment.