@etchteam/eslint-config 3.1.3 → 3.1.5

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +5 -11
  2. package/README.md +14 -19
  3. package/package.json +6 -2
package/CHANGELOG.md CHANGED
@@ -1,12 +1,6 @@
1
- ## <small>3.1.3 (2026-04-08)</small>
1
+ ## <small>3.1.5 (2026-04-13)</small>
2
2
 
3
- * Merge pull request #553 from etchteam/dependabot/npm_and_yarn/npm_and_yarn-1ae34a2d94 ([f93a707](https://github.com/etchteam/eslint/commit/f93a707)), closes [#553](https://github.com/etchteam/eslint/issues/553)
4
- * Merge pull request #554 from etchteam/dependabot/npm_and_yarn/npm_and_yarn-7868ad5c7f ([4efe37d](https://github.com/etchteam/eslint/commit/4efe37d)), closes [#554](https://github.com/etchteam/eslint/issues/554)
5
- * Merge pull request #555 from etchteam/dependabot/npm_and_yarn/eslint-plugin-storybook-10.3.5 ([87ec2bf](https://github.com/etchteam/eslint/commit/87ec2bf)), closes [#555](https://github.com/etchteam/eslint/issues/555)
6
- * Merge pull request #556 from etchteam/dependabot/npm_and_yarn/typescript-eslint-8.58.1 ([2c31c95](https://github.com/etchteam/eslint/commit/2c31c95)), closes [#556](https://github.com/etchteam/eslint/issues/556)
7
- * Merge pull request #557 from etchteam/dependabot/npm_and_yarn/eslint/compat-2.0.5 ([670489c](https://github.com/etchteam/eslint/commit/670489c)), closes [#557](https://github.com/etchteam/eslint/issues/557)
8
- * fix: Bump @eslint/compat from 2.0.4 to 2.0.5 ([9b487f3](https://github.com/etchteam/eslint/commit/9b487f3))
9
- * fix: Bump eslint-plugin-storybook from 10.3.4 to 10.3.5 ([2a067ea](https://github.com/etchteam/eslint/commit/2a067ea))
10
- * fix: Bump typescript-eslint from 8.58.0 to 8.58.1 ([92aed37](https://github.com/etchteam/eslint/commit/92aed37))
11
- * chore: Bump @hono/node-server ([e2ebff2](https://github.com/etchteam/eslint/commit/e2ebff2))
12
- * chore: Bump hono in the npm_and_yarn group across 1 directory ([1d1c4f5](https://github.com/etchteam/eslint/commit/1d1c4f5))
3
+ * Merge pull request #559 from etchteam/dependabot/npm_and_yarn/next/eslint-plugin-next-16.2.3 ([c2cdd9a](https://github.com/etchteam/eslint/commit/c2cdd9a)), closes [#559](https://github.com/etchteam/eslint/issues/559)
4
+ * Merge pull request #560 from etchteam/dependabot/npm_and_yarn/globals-17.5.0 ([5150548](https://github.com/etchteam/eslint/commit/5150548)), closes [#560](https://github.com/etchteam/eslint/issues/560)
5
+ * fix: Bump globals from 17.4.0 to 17.5.0 ([8878a0c](https://github.com/etchteam/eslint/commit/8878a0c))
6
+ * chore: Bump @next/eslint-plugin-next from 16.2.2 to 16.2.3 ([cd57f48](https://github.com/etchteam/eslint/commit/cd57f48))
package/README.md CHANGED
@@ -7,7 +7,7 @@ The eslint config that we use at [Etch](https://etch.co)
7
7
  ## Install
8
8
 
9
9
  ```bash
10
- npm i -D eslint@^9.0.0 prettier @etchteam/eslint-config eslint-plugin-react eslint-plugin-jsx-a11y
10
+ npm i -D eslint@^9.0.0 prettier @etchteam/eslint-config eslint-plugin-react eslint-plugin-jsx-a11y eslint-plugin-storybook
11
11
  ```
12
12
 
13
13
  ## Usage
@@ -27,7 +27,7 @@ For projects that don't need the full config, use environment-specific imports t
27
27
  ### Next.js
28
28
 
29
29
  ```bash
30
- npm i -D eslint prettier @etchteam/eslint-config eslint-plugin-react eslint-plugin-jsx-a11y @next/eslint-plugin-next eslint-plugin-react-hooks
30
+ npm i -D eslint prettier @etchteam/eslint-config eslint-plugin-react eslint-plugin-jsx-a11y eslint-plugin-storybook @next/eslint-plugin-next eslint-plugin-react-hooks
31
31
  ```
32
32
 
33
33
  ```javascript
@@ -51,7 +51,7 @@ export default nodejs;
51
51
  ### Angular
52
52
 
53
53
  ```bash
54
- npm i -D eslint prettier @etchteam/eslint-config angular-eslint
54
+ npm i -D eslint prettier @etchteam/eslint-config eslint-plugin-storybook angular-eslint
55
55
  ```
56
56
 
57
57
  ```javascript
@@ -63,7 +63,7 @@ export default angular;
63
63
  ### Preact
64
64
 
65
65
  ```bash
66
- npm i -D eslint prettier @etchteam/eslint-config eslint-plugin-react eslint-plugin-jsx-a11y
66
+ npm i -D eslint prettier @etchteam/eslint-config eslint-plugin-react eslint-plugin-jsx-a11y eslint-plugin-storybook
67
67
  ```
68
68
 
69
69
  ```javascript
@@ -75,7 +75,7 @@ export default preact;
75
75
  ### Web Components (Lit)
76
76
 
77
77
  ```bash
78
- npm i -D eslint prettier @etchteam/eslint-config eslint-plugin-lit
78
+ npm i -D eslint prettier @etchteam/eslint-config eslint-plugin-storybook eslint-plugin-lit
79
79
  ```
80
80
 
81
81
  ```javascript
@@ -138,29 +138,24 @@ export default [
138
138
  | `web-components` | base + json + yaml + storybook + Lit rules |
139
139
  | `nestjs` | base + json + yaml + NestJS rules + Jest globals |
140
140
 
141
- ### Required Plugins
141
+ ### Required Peer Dependencies
142
142
 
143
- The **base**, **json**, **yaml**, and **storybook** modules have all their plugins included as package dependencies — no extra installs needed.
143
+ The **base**, **json**, and **yaml** modules have all their plugins included as package dependencies — no extra installs needed.
144
144
 
145
- Environment-specific configs require additional plugins to be installed as peer dependencies:
145
+ Other configs require additional plugins to be installed as peer dependencies:
146
146
 
147
147
  | Config | Additional plugins to install |
148
148
  |--------|-------------------------------|
149
- | Default (`@etchteam/eslint-config`) | `eslint-plugin-react` `eslint-plugin-jsx-a11y` |
149
+ | Default (`@etchteam/eslint-config`) | `eslint-plugin-react` `eslint-plugin-jsx-a11y` `eslint-plugin-storybook` |
150
150
  | `react` | `eslint-plugin-react` `eslint-plugin-jsx-a11y` |
151
- | `nextjs` | `eslint-plugin-react` `eslint-plugin-jsx-a11y` `@next/eslint-plugin-next` `eslint-plugin-react-hooks` |
151
+ | `storybook` | `eslint-plugin-storybook` |
152
+ | `nextjs` | `eslint-plugin-react` `eslint-plugin-jsx-a11y` `eslint-plugin-storybook` `@next/eslint-plugin-next` `eslint-plugin-react-hooks` |
152
153
  | `nodejs` | None |
153
- | `preact` | `eslint-plugin-react` `eslint-plugin-jsx-a11y` |
154
- | `angular` | `angular-eslint` |
155
- | `web-components` | `eslint-plugin-lit` |
154
+ | `preact` | `eslint-plugin-react` `eslint-plugin-jsx-a11y` `eslint-plugin-storybook` |
155
+ | `angular` | `eslint-plugin-storybook` `angular-eslint` |
156
+ | `web-components` | `eslint-plugin-storybook` `eslint-plugin-lit` |
156
157
  | `nestjs` | `@darraghor/eslint-plugin-nestjs-typed` |
157
158
 
158
- For example, to use the Next.js config:
159
-
160
- ```bash
161
- npm i -D eslint prettier @etchteam/eslint-config eslint-plugin-react eslint-plugin-jsx-a11y @next/eslint-plugin-next eslint-plugin-react-hooks
162
- ```
163
-
164
159
  ## With lint-staged
165
160
 
166
161
  ### New project
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etchteam/eslint-config",
3
- "version": "3.1.3",
3
+ "version": "3.1.5",
4
4
  "description": "Etch's standard eslint config",
5
5
  "type": "module",
6
6
  "main": "src/index.mjs",
@@ -50,6 +50,7 @@
50
50
  "eslint-plugin-lit": "^2.2.1",
51
51
  "eslint-plugin-react": "^7.37.5",
52
52
  "eslint-plugin-react-hooks": "^7.0.1",
53
+ "eslint-plugin-storybook": "^10.3.5",
53
54
  "husky": "^9.0.11",
54
55
  "lint-staged": "^16.0.0"
55
56
  },
@@ -62,7 +63,6 @@
62
63
  "eslint-plugin-json": "^4.0.1",
63
64
  "eslint-plugin-prettier": "^5.5.0",
64
65
  "eslint-plugin-security": "^4.0.0",
65
- "eslint-plugin-storybook": "^10.0.1",
66
66
  "eslint-plugin-unused-imports": "^4.1.3",
67
67
  "eslint-plugin-yml": "^3.0.0",
68
68
  "eslint-plugin-you-dont-need-lodash-underscore": "^6.14.0",
@@ -77,6 +77,7 @@
77
77
  "eslint-plugin-jsx-a11y": ">=6.0.0",
78
78
  "eslint-plugin-lit": ">=2.0.0",
79
79
  "eslint-plugin-react": ">=7.0.0",
80
+ "eslint-plugin-storybook": ">=10.0.0",
80
81
  "eslint-plugin-react-hooks": ">=5.0.0",
81
82
  "prettier": ">=3.0.0",
82
83
  "typescript": ">=4.8.4"
@@ -103,6 +104,9 @@
103
104
  "eslint-plugin-react-hooks": {
104
105
  "optional": true
105
106
  },
107
+ "eslint-plugin-storybook": {
108
+ "optional": true
109
+ },
106
110
  "typescript": {
107
111
  "optional": true
108
112
  }