mirror of
https://github.com/EthanShoeDev/fressh.git
synced 2026-01-11 14:22:51 +00:00
ssh conn
This commit is contained in:
13
prettier.config.js
Normal file
13
prettier.config.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import defaultConfig from '@epic-web/config/prettier'
|
||||
// Sometimes this plugin can remove imports that are in use.
|
||||
// As a workaround we will only use this in the cli. (npm run fmt)
|
||||
const sortImports = process.env.SORT_IMPORTS === 'true'
|
||||
|
||||
/** @type {import("prettier").Options} */
|
||||
export default {
|
||||
...defaultConfig,
|
||||
plugins: [
|
||||
...(sortImports ? ['prettier-plugin-organize-imports'] : []),
|
||||
...(defaultConfig.plugins || []),
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user