@apitree.cz/prettier-config 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config.d.ts +0 -2
- package/dist/config.js +1 -6
- package/dist/config.js.map +1 -1
- package/package.json +1 -2
package/dist/config.d.ts
CHANGED
package/dist/config.js
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
export const config = {
|
|
2
2
|
arrowParens: 'always',
|
|
3
3
|
bracketSpacing: true,
|
|
4
|
-
plugins: ['prettier-plugin-packagejson'
|
|
5
|
-
// Group by external libraries and local files
|
|
6
|
-
// TODO: load local import prefixes from tsconfig?
|
|
7
|
-
importOrder: ['^node:(.*)', '<THIRD_PARTY_MODULES>', '^[./]'],
|
|
8
|
-
// Separate import groups by newline
|
|
9
|
-
importOrderSeparation: true,
|
|
4
|
+
plugins: ['prettier-plugin-packagejson'],
|
|
10
5
|
printWidth: 120,
|
|
11
6
|
semi: true,
|
|
12
7
|
singleQuote: true,
|
package/dist/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,WAAW,EAAE,QAAQ;IACrB,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE,CAAC,6BAA6B,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,WAAW,EAAE,QAAQ;IACrB,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE,CAAC,6BAA6B,CAAC;IACxC,UAAU,EAAE,GAAG;IACf,IAAI,EAAE,IAAI;IACV,WAAW,EAAE,IAAI;IACjB,QAAQ,EAAE,CAAC;IACX,aAAa,EAAE,KAAK;IACpB,OAAO,EAAE,KAAK;IACd,SAAS,EAAE;QACT;YACE,oDAAoD;YACpD,KAAK,EAAE,QAAQ;YACf,OAAO,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE;SACnC;KACF;CACe,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apitree.cz/prettier-config",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Prettier configuration for ApiTree projects.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"dist"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
24
23
|
"prettier-plugin-packagejson": "^2.4.7"
|
|
25
24
|
},
|
|
26
25
|
"devDependencies": {
|