Skip to content

Commit c26bfe9

Browse files
authored
Prettier: Add prettier config that imports prettier from toolkit (grafana#23729)
1 parent 3d23ab5 commit c26bfe9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.prettierrc.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
...require('@grafana/toolkit/src/config/prettier.plugin.config.json'),
3+
};

package.json

-3
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@
5757
"git add"
5858
]
5959
},
60-
"prettier": {
61-
"trailingComma": "es5"
62-
},
6360
"devDependencies": {
6461
"@babel/core": "7.8.4",
6562
"@babel/plugin-proposal-nullish-coalescing-operator": "7.8.3",

0 commit comments

Comments
 (0)