@teacinemaq/core 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/.gitignire ADDED
@@ -0,0 +1,8 @@
1
+ node_modules/
2
+ dist/
3
+ build/
4
+ pnpm-lock.yaml
5
+ .env
6
+ .DS-Store
7
+ .vscode/
8
+ .log
package/package.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "@teacinemaq/core",
3
+ "version": "1.0.0",
4
+ "description": "git",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "author": "Karina <gizamova.k@gmail.com>",
9
+ "license": "ISC",
10
+ "type": "module",
11
+ "peerDependencies": {
12
+ "prettier": "^3.0.0"
13
+ },
14
+ "dependencies": {
15
+ "@trivago/prettier-plugin-sort-imports": "^5.2.2"
16
+ },
17
+ "exports": {
18
+ "prettier": "./src/prettier.config.mjs"
19
+ }
20
+
21
+ }
@@ -0,0 +1,20 @@
1
+ /** @type {import("prettier").Config} */
2
+ export default {
3
+ trailingComma: "none", //запятая после последного эл
4
+ tabWidth: 4,
5
+ useTabs: true,
6
+ semi: false, //не ставить ; в конце строк
7
+ singleQuote: true, //одинарные кавычки
8
+ jsxSingleQuote: true, //одинарные кавчики
9
+ arrowParens: "avoid", //не добавлять скобки вокруг ед эл стрелочной функции
10
+ importOrderSeparation: true, //добавлять пустую строку
11
+ importOrderSortSpecifiers: true,
12
+ importOrderCaseInsensitive: true, // игнорировать регистр при сортировке импортов
13
+ importOrderParserPlugins: [
14
+ "classProperties",
15
+ "decorators-legacy",
16
+ "typescript"
17
+ ],
18
+ importOrder: ["<THIRD_PARTY_MODULES>", "@/(.*)$", "^../(.*)", "^./(.*)"],
19
+ plugins: ["@trivago/prettier-plugin-sort-imports"]
20
+ }