@mediacubeco/prettier-config-fsd 1.0.0
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.cjs +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.mjs +1 -0
- package/package.json +36 -0
package/dist/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("node:module"),r="undefined"!=typeof document?document.currentScript:null;const t={plugins:[e.createRequire("undefined"==typeof document?require("url").pathToFileURL(__filename).href:r&&"SCRIPT"===r.tagName.toUpperCase()&&r.src||new URL("index.cjs",document.baseURI).href).resolve("@trivago/prettier-plugin-sort-imports")],importOrderParserPlugins:["typescript","jsx"],importOrder:["^@mediacubeco","^node:","^react","^react-native","^expo","^@react","^@react-native","^@expo","^@(.*)$","<THIRD_PARTY_MODULES>","^~node_modules(.*)$","^~app(.*)$","^~screens(.*)$","^~widgets(.*)$","^~features(.*)$","^~entities(.*)$","^~shared/lib(.*)$","^~shared/ui(.*)$","^~shared/hooks(.*)$","^~shared/utils(.*)$","^~shared/helpers(.*)$","^~shared/constants(.*)$","^~shared/types(.*)$","^~shared/assets(.*)$","^~shared(.*)$","^../../../../../","^../../../../","^../../../","^../../","^../","^.+/*(components)$","^.+/*(hooks)$","^.+/*(utils)$","^.+/*(constants)$","^.+/*(context.*)$","^.+/*(provider.*)$","^.+/*(manager.*)$","^.+/*(components.*)$","^.+/*(hooks.*)$","^.+/*(styles.*)$","^.+/*(utils.*)$","^.+/*(constants.*)$","^.+/*(types.*)$","./","^[./]"],importOrderSeparation:!1,importOrderSortSpecifiers:!0,importOrderCaseInsensitive:!0,importOrderGroupNamespaceSpecifiers:!0};exports.default=t;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare namespace config {
|
|
2
|
+
let plugins: any[];
|
|
3
|
+
let importOrderParserPlugins: string[];
|
|
4
|
+
let importOrder: string[];
|
|
5
|
+
let importOrderSeparation: boolean;
|
|
6
|
+
let importOrderSortSpecifiers: boolean;
|
|
7
|
+
let importOrderCaseInsensitive: boolean;
|
|
8
|
+
let importOrderGroupNamespaceSpecifiers: boolean;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { config as default };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createRequire as e}from"node:module";const r={plugins:[e(import.meta.url).resolve("@trivago/prettier-plugin-sort-imports")],importOrderParserPlugins:["typescript","jsx"],importOrder:["^@mediacubeco","^node:","^react","^react-native","^expo","^@react","^@react-native","^@expo","^@(.*)$","<THIRD_PARTY_MODULES>","^~node_modules(.*)$","^~app(.*)$","^~screens(.*)$","^~widgets(.*)$","^~features(.*)$","^~entities(.*)$","^~shared/lib(.*)$","^~shared/ui(.*)$","^~shared/hooks(.*)$","^~shared/utils(.*)$","^~shared/helpers(.*)$","^~shared/constants(.*)$","^~shared/types(.*)$","^~shared/assets(.*)$","^~shared(.*)$","^../../../../../","^../../../../","^../../../","^../../","^../","^.+/*(components)$","^.+/*(hooks)$","^.+/*(utils)$","^.+/*(constants)$","^.+/*(context.*)$","^.+/*(provider.*)$","^.+/*(manager.*)$","^.+/*(components.*)$","^.+/*(hooks.*)$","^.+/*(styles.*)$","^.+/*(utils.*)$","^.+/*(constants.*)$","^.+/*(types.*)$","./","^[./]"],importOrderSeparation:!1,importOrderSortSpecifiers:!0,importOrderCaseInsensitive:!0,importOrderGroupNamespaceSpecifiers:!0};export{r as default};
|
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"private": false,
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"name": "@mediacubeco/prettier-config-fsd",
|
|
5
|
+
"description": "Prettier config FSD by Mediacube developers",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"keywords": [
|
|
12
|
+
"mediacube",
|
|
13
|
+
"mediacubeco",
|
|
14
|
+
"prettier",
|
|
15
|
+
"config",
|
|
16
|
+
"fsd",
|
|
17
|
+
"prettier-config-fsd"
|
|
18
|
+
],
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@trivago/prettier-plugin-sort-imports": "^6.0.2"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"eslint": "^9.39.1",
|
|
24
|
+
"prettier": "^3.8.1",
|
|
25
|
+
"typescript": "^5.9.3",
|
|
26
|
+
"@mediacubeco/eslint-config": "1.0.0",
|
|
27
|
+
"@mediacubeco/typescript-config": "1.0.0"
|
|
28
|
+
},
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"import": "./dist/index.mjs",
|
|
32
|
+
"require": "./dist/index.cjs",
|
|
33
|
+
"types": "./dist/index.d.ts"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|