File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
import { stringify } from 'javascript-stringify'
2
2
3
3
import * as editorconfigs from './templates/editorconfigs.js'
4
+ import * as prettierrcs from './templates/prettierrcs.js'
4
5
5
- import prettierrcs from './templates/prettierrcs.cjs'
6
6
import versionMap from './versionMap.cjs'
7
7
8
8
const CREATE_ALIAS_SETTING_PLACEHOLDER = 'CREATE_ALIAS_SETTING_PLACEHOLDER'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import { readFileSync } from 'node:fs'
2
+ import { fileURLToPath } from 'node:url'
3
+
4
+ export default readFileSync ( fileURLToPath ( new URL ( './prettierrc-default.json' , import . meta. url ) ) )
5
+
6
+ export const airbnb = readFileSync ( fileURLToPath ( new URL ( './prettierrc-airbnb.json' , import . meta. url ) ) )
7
+ export const standard = readFileSync ( fileURLToPath ( new URL ( './prettierrc-standard.json' , import . meta. url ) ) )
You can’t perform that action at this time.
0 commit comments