@apitree.cz/prettier-config 0.1.2 → 0.1.3

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 CHANGED
@@ -1,2 +1,17 @@
1
- import type { Config } from 'prettier';
2
- export declare const config: Config;
1
+ export declare const config: {
2
+ arrowParens: "always";
3
+ bracketSpacing: true;
4
+ plugins: string[];
5
+ printWidth: number;
6
+ semi: true;
7
+ singleQuote: true;
8
+ tabWidth: number;
9
+ trailingComma: "all";
10
+ useTabs: false;
11
+ overrides: {
12
+ files: string;
13
+ options: {
14
+ trailingComma: "none";
15
+ };
16
+ }[];
17
+ };
package/dist/config.js CHANGED
@@ -2,6 +2,7 @@ export const config = {
2
2
  arrowParens: 'always',
3
3
  bracketSpacing: true,
4
4
  plugins: ['prettier-plugin-packagejson'],
5
+ printWidth: 120,
5
6
  semi: true,
6
7
  singleQuote: true,
7
8
  tabWidth: 2,
@@ -9,6 +10,7 @@ export const config = {
9
10
  useTabs: false,
10
11
  overrides: [
11
12
  {
13
+ // https://github.com/prettier/prettier/issues/15956
12
14
  files: '*.json',
13
15
  options: { trailingComma: 'none' },
14
16
  },
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,MAAM,GAAW;IAC5B,WAAW,EAAE,QAAQ;IACrB,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE,CAAC,6BAA6B,CAAC;IACxC,IAAI,EAAE,IAAI;IACV,WAAW,EAAE,IAAI;IACjB,QAAQ,EAAE,CAAC;IACX,aAAa,EAAE,KAAK;IACpB,OAAO,EAAE,KAAK;IACd,SAAS,EAAE;QACT;YAEE,KAAK,EAAE,QAAQ;YACf,OAAO,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE;SACnC;KACF;CACF,CAAC"}
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.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Prettier configuration for ApiTree projects.",
5
5
  "repository": {
6
6
  "type": "git",