@ethang/eslint-config 22.5.0 → 22.6.1

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/README.md CHANGED
@@ -39,9 +39,9 @@
39
39
  * 18 rules for **Solid**
40
40
  * `import solidConfig from "@ethang/eslint-config/config.solid.js";`
41
41
  * 18 rules from [eslint-plugin-solid](https://github.com/solidjs-community/eslint-plugin-solid)
42
- * 15 rules from **Storybook**
42
+ * 16 rules from **Storybook**
43
43
  * `import storybookConfig from "@ethang/eslint-config/config.storybook.js";`
44
- * 15 rules from [eslint-plugin-storybook](https://github.com/storybookjs/eslint-plugin-storybook)
44
+ * 16 rules from [eslint-plugin-storybook](https://github.com/storybookjs/eslint-plugin-storybook)
45
45
 
46
46
  # Install
47
47
 
@@ -1,2 +1,2 @@
1
- import{a as o,b as r}from"./chunk-WK3YS7OG.js";import t from"eslint-plugin-storybook";import s from"typescript-eslint";var y=s.config({files:["**/*.stories.@(ts|tsx|js|jsx|mjs|cjs)"],ignores:o,languageOptions:r,plugins:{storybook:t},rules:{"storybook/await-interactions":"error","storybook/context-in-play-function":"error","storybook/csf-component":"error","storybook/default-exports":"error","storybook/hierarchy-separator":"error","storybook/meta-inline-properties":"error","storybook/meta-satisfies-type":"error","storybook/no-redundant-story-name":"error","storybook/no-stories-of":"error","storybook/no-title-property-in-meta":"error","storybook/no-uninstalled-addons":"error","storybook/prefer-pascal-case":"error","storybook/story-exports":"error","storybook/use-storybook-expect":"error","storybook/use-storybook-testing-library":"error"}});export{y as default};
1
+ import{a as o,b as r}from"./chunk-WK3YS7OG.js";import t from"eslint-plugin-storybook";import e from"typescript-eslint";var y=e.config({files:["**/*.stories.@(ts|tsx|js|jsx|mjs|cjs)"],ignores:o,languageOptions:r,plugins:{storybook:t},rules:{"storybook/await-interactions":"error","storybook/context-in-play-function":"error","storybook/csf-component":"error","storybook/default-exports":"error","storybook/hierarchy-separator":"error","storybook/meta-inline-properties":"error","storybook/meta-satisfies-type":"error","storybook/no-redundant-story-name":"error","storybook/no-renderer-packages":"error","storybook/no-stories-of":"error","storybook/no-title-property-in-meta":"error","storybook/no-uninstalled-addons":"error","storybook/prefer-pascal-case":"error","storybook/story-exports":"error","storybook/use-storybook-expect":"error","storybook/use-storybook-testing-library":"error"}});export{y as default};
2
2
  //# sourceMappingURL=config.storybook.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/config.storybook.js"],"sourcesContent":["// @ts-nocheck\nimport { ignores, languageOptions } from \"./constants.js\";\nimport storybook from \"eslint-plugin-storybook\";\nimport tseslint from \"typescript-eslint\";\n\nexport default tseslint.config(\n {\n files: [\"**/*.stories.@(ts|tsx|js|jsx|mjs|cjs)\"],\nignores,\nlanguageOptions,\n plugins: {\n \"storybook\": storybook,\n },\n rules: {\n \"storybook/await-interactions\":\"error\",\"storybook/context-in-play-function\":\"error\",\"storybook/csf-component\":\"error\",\"storybook/default-exports\":\"error\",\"storybook/hierarchy-separator\":\"error\",\"storybook/meta-inline-properties\":\"error\",\"storybook/meta-satisfies-type\":\"error\",\"storybook/no-redundant-story-name\":\"error\",\"storybook/no-stories-of\":\"error\",\"storybook/no-title-property-in-meta\":\"error\",\"storybook/no-uninstalled-addons\":\"error\",\"storybook/prefer-pascal-case\":\"error\",\"storybook/story-exports\":\"error\",\"storybook/use-storybook-expect\":\"error\",\"storybook/use-storybook-testing-library\":\"error\"\n },\n },\n \n \n );\n"],"mappings":"+CAEA,OAAOA,MAAe,0BACtB,OAAOC,MAAc,oBAErB,IAAOC,EAAQD,EAAS,OACpB,CACA,MAAO,CAAC,uCAAuC,EACnD,QAAAE,EACA,gBAAAC,EACI,QAAS,CACP,UAAaJ,CACf,EACA,MAAO,CACL,+BAA+B,QAAQ,qCAAqC,QAAQ,0BAA0B,QAAQ,4BAA4B,QAAQ,gCAAgC,QAAQ,mCAAmC,QAAQ,gCAAgC,QAAQ,oCAAoC,QAAQ,0BAA0B,QAAQ,sCAAsC,QAAQ,kCAAkC,QAAQ,+BAA+B,QAAQ,0BAA0B,QAAQ,iCAAiC,QAAQ,0CAA0C,OACzlB,CACF,CAGA","names":["storybook","tseslint","config_storybook_default","ignores","languageOptions"]}
1
+ {"version":3,"sources":["../src/config.storybook.js"],"sourcesContent":["// @ts-nocheck\nimport { ignores, languageOptions } from \"./constants.js\";\nimport storybook from \"eslint-plugin-storybook\";\nimport tseslint from \"typescript-eslint\";\n\nexport default tseslint.config(\n {\n files: [\"**/*.stories.@(ts|tsx|js|jsx|mjs|cjs)\"],\nignores,\nlanguageOptions,\n plugins: {\n \"storybook\": storybook,\n },\n rules: {\n \"storybook/await-interactions\":\"error\",\"storybook/context-in-play-function\":\"error\",\"storybook/csf-component\":\"error\",\"storybook/default-exports\":\"error\",\"storybook/hierarchy-separator\":\"error\",\"storybook/meta-inline-properties\":\"error\",\"storybook/meta-satisfies-type\":\"error\",\"storybook/no-redundant-story-name\":\"error\",\"storybook/no-renderer-packages\":\"error\",\"storybook/no-stories-of\":\"error\",\"storybook/no-title-property-in-meta\":\"error\",\"storybook/no-uninstalled-addons\":\"error\",\"storybook/prefer-pascal-case\":\"error\",\"storybook/story-exports\":\"error\",\"storybook/use-storybook-expect\":\"error\",\"storybook/use-storybook-testing-library\":\"error\"\n },\n },\n \n \n );\n"],"mappings":"+CAEA,OAAOA,MAAe,0BACtB,OAAOC,MAAc,oBAErB,IAAOC,EAAQD,EAAS,OACpB,CACA,MAAO,CAAC,uCAAuC,EACnD,QAAAE,EACA,gBAAAC,EACI,QAAS,CACP,UAAaJ,CACf,EACA,MAAO,CACL,+BAA+B,QAAQ,qCAAqC,QAAQ,0BAA0B,QAAQ,4BAA4B,QAAQ,gCAAgC,QAAQ,mCAAmC,QAAQ,gCAAgC,QAAQ,oCAAoC,QAAQ,iCAAiC,QAAQ,0BAA0B,QAAQ,sCAAsC,QAAQ,kCAAkC,QAAQ,+BAA+B,QAAQ,0BAA0B,QAAQ,iCAAiC,QAAQ,0CAA0C,OACloB,CACF,CAGA","names":["storybook","tseslint","config_storybook_default","ignores","languageOptions"]}
package/package.json CHANGED
@@ -26,12 +26,12 @@
26
26
  "eslint-plugin-jsx-a11y": "^6.10.2",
27
27
  "eslint-plugin-lodash": "^8.0.0",
28
28
  "eslint-plugin-perfectionist": "^4.13.0",
29
- "eslint-plugin-prettier": "^5.4.0",
29
+ "eslint-plugin-prettier": "^5.4.1",
30
30
  "eslint-plugin-react-hooks": "^5.2.0-rc.1",
31
- "eslint-plugin-react-you-might-not-need-an-effect": "^0.0.37",
31
+ "eslint-plugin-react-you-might-not-need-an-effect": "^0.0.38",
32
32
  "eslint-plugin-solid": "^0.14.5",
33
33
  "eslint-plugin-sonarjs": "3.0.2",
34
- "eslint-plugin-storybook": "^0.12.0",
34
+ "eslint-plugin-storybook": "^9.0.1",
35
35
  "eslint-plugin-tailwindcss": "^3.18.0",
36
36
  "eslint-plugin-unicorn": "^59.0.1",
37
37
  "prettier": "^3.5.3",
@@ -43,10 +43,10 @@
43
43
  "@types/eslint-plugin-jsx-a11y": "^6.10.0",
44
44
  "@types/eslint-plugin-tailwindcss": "^3.17.0",
45
45
  "@types/lodash": "^4.17.17",
46
- "@types/node": "^22.15.23",
46
+ "@types/node": "^22.15.27",
47
47
  "lodash": "^4.17.21",
48
48
  "typescript": "^5.8.3",
49
- "zod": "^3.25.32"
49
+ "zod": "^3.25.42"
50
50
  },
51
51
  "engines": {
52
52
  "node": ">=22"
@@ -58,7 +58,7 @@
58
58
  "url": "git+https://github.com/eglove/ethang-monorepo.git#master"
59
59
  },
60
60
  "type": "module",
61
- "version": "22.5.0",
61
+ "version": "22.6.1",
62
62
  "scripts": {
63
63
  "build": "bun build.ts && pnpm lint",
64
64
  "lint": "eslint . --fix && prettier src --write"