@dvukovic/style-guide 0.3.71 → 0.3.73

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvukovic/style-guide",
3
- "version": "0.3.71",
3
+ "version": "0.3.73",
4
4
  "description": "My own style guide",
5
5
  "repository": {
6
6
  "type": "git",
@@ -53,6 +53,7 @@
53
53
  "eslint-plugin-sonarjs": "1.0.4",
54
54
  "eslint-plugin-sort-destructure-keys": "2.0.0",
55
55
  "eslint-plugin-sort-keys-fix": "1.1.2",
56
+ "eslint-plugin-storybook": "0.11.6",
56
57
  "eslint-plugin-typescript-sort-keys": "3.3.0",
57
58
  "eslint-plugin-unicorn": "56.0.1",
58
59
  "eslint-plugin-unused-imports": "4.1.4",
@@ -62,11 +63,13 @@
62
63
  "prettier-plugin-prisma": "5.0.0",
63
64
  "prettier-plugin-sh": "0.14.0",
64
65
  "prettier-plugin-sql": "0.18.1",
66
+ "prettier-plugin-tailwindcss": "0.6.11",
65
67
  "prettier-plugin-toml": "2.0.1",
66
68
  "stylelint-order": "6.0.4",
67
69
  "typescript-eslint": "8.23.0"
68
70
  },
69
71
  "devDependencies": {
72
+ "@storybook/react": "8.6.7",
70
73
  "@types/eslint": "8.56.12",
71
74
  "@types/jest": "29.5.14",
72
75
  "@types/node": "22.13.1",
@@ -106,7 +109,7 @@
106
109
  "optional": true
107
110
  }
108
111
  },
109
- "packageManager": "yarn@4.6.0",
112
+ "packageManager": "yarn@4.7.0",
110
113
  "engines": {
111
114
  "node": ">=20.0.0"
112
115
  },
@@ -104,3 +104,4 @@ mmkv
104
104
  deintegrate
105
105
  pressable
106
106
  intolerances
107
+ autodocs
@@ -0,0 +1,7 @@
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
+ module.exports = {
3
+ extends: ["../plugins/storybook"],
4
+ rules: {
5
+ "react-hooks/rules-of-hooks": "off",
6
+ },
7
+ }
@@ -0,0 +1,19 @@
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
+ module.exports = {
3
+ plugins: ["storybook"],
4
+ rules: {
5
+ "storybook/await-interactions": "error",
6
+ "storybook/context-in-play-function": "error",
7
+ "storybook/csf-component": "error",
8
+ "storybook/default-exports": "error",
9
+ "storybook/hierarchy-separator": "error",
10
+ "storybook/meta-inline-properties": "error",
11
+ "storybook/no-redundant-story-name": "error",
12
+ "storybook/no-title-property-in-meta": "error",
13
+ "storybook/no-uninstalled-addons": "error",
14
+ "storybook/prefer-pascal-case": "error",
15
+ "storybook/story-exports": "error",
16
+ "storybook/use-storybook-expect": "error",
17
+ "storybook/use-storybook-testing-library": "error",
18
+ },
19
+ }
@@ -13,6 +13,7 @@ module.exports = {
13
13
  "prettier-plugin-packagejson",
14
14
  "prettier-plugin-sh",
15
15
  "prettier-plugin-toml",
16
+ "prettier-plugin-tailwindcss",
16
17
  ],
17
18
  ...prettierPlugin,
18
19
  ...prettierPluginSql,