@jpp-toolkit/prettier-config 0.0.26 → 0.0.28
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/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -21,8 +21,7 @@ const config = {
|
|
|
21
21
|
singleAttributePerLine: false,
|
|
22
22
|
plugins: [require.resolve("@jpp-toolkit/prettier-plugin-packagejson"), require.resolve("prettier-plugin-tailwindcss")]
|
|
23
23
|
};
|
|
24
|
-
var src_default = config;
|
|
25
24
|
|
|
26
25
|
//#endregion
|
|
27
|
-
export {
|
|
26
|
+
export { config as default };
|
|
28
27
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import { createRequire } from 'node:module';\n\nimport type { Config } from 'prettier';\n\nconst require = createRequire(import.meta.url);\n\nconst config: Config = {\n /**\n * Use curious ternaries, with the question mark after the condition.\n * @see {@link https://prettier.io/docs/options#experimental-ternaries}\n */\n experimentalTernaries: true,\n\n /**\n * When binary expressions wrap lines, print operators at the start of new lines.\n * @see {@link https://prettier.io/docs/options#experimental-operator-position}\n */\n experimentalOperatorPosition: 'start',\n\n /**\n * Specify the line length that the printer will wrap on.\n * @see {@link https://prettier.io/docs/options#print-width}\n */\n printWidth: 100,\n\n /**\n * Specify the number of spaces per indentation-level.\n * @see {@link https://prettier.io/docs/options#tab-width}\n */\n tabWidth: 4,\n\n /**\n * Indent lines with spaces instead of tabs.\n * @see {@link https://prettier.io/docs/options#tabs}\n */\n useTabs: false,\n\n /**\n * Add a semicolon at the end of every statement.\n * @see {@link https://prettier.io/docs/options#semicolons}\n */\n semi: true,\n\n /**\n * Use single quotes instead of double quotes.\n * @see {@link https://prettier.io/docs/options#quotes}\n */\n singleQuote: true,\n\n /**\n * If at least one property in an object requires quotes, quote all properties.\n * @see {@link https://prettier.io/docs/options#quote-props}\n */\n quoteProps: 'consistent',\n\n /**\n * Use double quotes instead of single quotes in JSX.\n * @see {@link https://prettier.io/docs/options#jsx-quotes}\n */\n jsxSingleQuote: false,\n\n /**\n * Trailing commas wherever possible.\n * @see {@link https://prettier.io/docs/options#trailing-commas}\n */\n trailingComma: 'all',\n\n /**\n * Print spaces between brackets in object literals.\n * @see {@link https://prettier.io/docs/options#bracket-spacing}\n */\n bracketSpacing: true,\n\n /**\n * Keep as multi-line, if there is a newline between the opening brace and first property.\n * @see {@link https://prettier.io/docs/options#object-wrap}\n */\n objectWrap: 'preserve',\n\n /**\n * Put the `>` of a multi-line JSX element alone on the next line.\n * @see {@link https://prettier.io/docs/options#bracket-line}\n */\n bracketSameLine: false,\n\n /**\n * Always include parens.\n * @see {@link https://prettier.io/docs/options#arrow-function-parentheses}\n */\n arrowParens: 'always',\n\n /**\n * Line Feed only (\\n), common on Linux and macOS as well as inside git repos.\n * @see {@link https://prettier.io/docs/options#end-of-line}\n */\n endOfLine: 'lf',\n\n /**\n * Do not enforce single attribute per line.\n * @see {@link https://prettier.io/docs/options#single-attribute-per-line}\n */\n singleAttributePerLine: false,\n\n /**\n * Plugins to use with Prettier.\n * @see {@link https://prettier.io/docs/en/plugins.html}\n */\n plugins: [\n require.resolve('@jpp-toolkit/prettier-plugin-packagejson'),\n require.resolve('prettier-plugin-tailwindcss'),\n ],\n};\n\nexport default config;\n"],"mappings":";;;AAIA,MAAM,UAAU,cAAc,OAAO,KAAK,IAAI;AAE9C,MAAM,SAAiB;CAKnB,uBAAuB;CAMvB,8BAA8B;CAM9B,YAAY;CAMZ,UAAU;CAMV,SAAS;CAMT,MAAM;CAMN,aAAa;CAMb,YAAY;CAMZ,gBAAgB;CAMhB,eAAe;CAMf,gBAAgB;CAMhB,YAAY;CAMZ,iBAAiB;CAMjB,aAAa;CAMb,WAAW;CAMX,wBAAwB;CAMxB,SAAS,CACL,QAAQ,QAAQ,2CAA2C,EAC3D,QAAQ,QAAQ,8BAA8B,CACjD;CACJ
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import { createRequire } from 'node:module';\n\nimport type { Config } from 'prettier';\n\nconst require = createRequire(import.meta.url);\n\nconst config: Config = {\n /**\n * Use curious ternaries, with the question mark after the condition.\n * @see {@link https://prettier.io/docs/options#experimental-ternaries}\n */\n experimentalTernaries: true,\n\n /**\n * When binary expressions wrap lines, print operators at the start of new lines.\n * @see {@link https://prettier.io/docs/options#experimental-operator-position}\n */\n experimentalOperatorPosition: 'start',\n\n /**\n * Specify the line length that the printer will wrap on.\n * @see {@link https://prettier.io/docs/options#print-width}\n */\n printWidth: 100,\n\n /**\n * Specify the number of spaces per indentation-level.\n * @see {@link https://prettier.io/docs/options#tab-width}\n */\n tabWidth: 4,\n\n /**\n * Indent lines with spaces instead of tabs.\n * @see {@link https://prettier.io/docs/options#tabs}\n */\n useTabs: false,\n\n /**\n * Add a semicolon at the end of every statement.\n * @see {@link https://prettier.io/docs/options#semicolons}\n */\n semi: true,\n\n /**\n * Use single quotes instead of double quotes.\n * @see {@link https://prettier.io/docs/options#quotes}\n */\n singleQuote: true,\n\n /**\n * If at least one property in an object requires quotes, quote all properties.\n * @see {@link https://prettier.io/docs/options#quote-props}\n */\n quoteProps: 'consistent',\n\n /**\n * Use double quotes instead of single quotes in JSX.\n * @see {@link https://prettier.io/docs/options#jsx-quotes}\n */\n jsxSingleQuote: false,\n\n /**\n * Trailing commas wherever possible.\n * @see {@link https://prettier.io/docs/options#trailing-commas}\n */\n trailingComma: 'all',\n\n /**\n * Print spaces between brackets in object literals.\n * @see {@link https://prettier.io/docs/options#bracket-spacing}\n */\n bracketSpacing: true,\n\n /**\n * Keep as multi-line, if there is a newline between the opening brace and first property.\n * @see {@link https://prettier.io/docs/options#object-wrap}\n */\n objectWrap: 'preserve',\n\n /**\n * Put the `>` of a multi-line JSX element alone on the next line.\n * @see {@link https://prettier.io/docs/options#bracket-line}\n */\n bracketSameLine: false,\n\n /**\n * Always include parens.\n * @see {@link https://prettier.io/docs/options#arrow-function-parentheses}\n */\n arrowParens: 'always',\n\n /**\n * Line Feed only (\\n), common on Linux and macOS as well as inside git repos.\n * @see {@link https://prettier.io/docs/options#end-of-line}\n */\n endOfLine: 'lf',\n\n /**\n * Do not enforce single attribute per line.\n * @see {@link https://prettier.io/docs/options#single-attribute-per-line}\n */\n singleAttributePerLine: false,\n\n /**\n * Plugins to use with Prettier.\n * @see {@link https://prettier.io/docs/en/plugins.html}\n */\n plugins: [\n require.resolve('@jpp-toolkit/prettier-plugin-packagejson'),\n require.resolve('prettier-plugin-tailwindcss'),\n ],\n};\n\nexport default config;\n"],"mappings":";;;AAIA,MAAM,UAAU,cAAc,OAAO,KAAK,IAAI;AAE9C,MAAM,SAAiB;CAKnB,uBAAuB;CAMvB,8BAA8B;CAM9B,YAAY;CAMZ,UAAU;CAMV,SAAS;CAMT,MAAM;CAMN,aAAa;CAMb,YAAY;CAMZ,gBAAgB;CAMhB,eAAe;CAMf,gBAAgB;CAMhB,YAAY;CAMZ,iBAAiB;CAMjB,aAAa;CAMb,WAAW;CAMX,wBAAwB;CAMxB,SAAS,CACL,QAAQ,QAAQ,2CAA2C,EAC3D,QAAQ,QAAQ,8BAA8B,CACjD;CACJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jpp-toolkit/prettier-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.28",
|
|
4
4
|
"description": "Prettier configurations for JS/TS projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jpp",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"prettier-plugin-tailwindcss": "0.7.2",
|
|
35
|
-
"@jpp-toolkit/prettier-plugin-packagejson": "0.0.
|
|
35
|
+
"@jpp-toolkit/prettier-plugin-packagejson": "0.0.26"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"prettier": "3.8.1"
|