@etchteam/eslint-config 2.0.24 → 2.0.26

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- ## [2.0.24](https://github.com/etchteam/eslint/compare/v2.0.23...v2.0.24) (2024-10-09)
1
+ ## [2.0.26](https://github.com/etchteam/eslint/compare/v2.0.25...v2.0.26) (2024-10-21)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * bump eslint-config-next from 14.2.14 to 14.2.15 ([b83ac4e](https://github.com/etchteam/eslint/commit/b83ac4ea18abad77b4aaffd9ffd4c2d98d96f4ef))
6
+ * bump eslint-plugin-storybook from 0.9.0 to 0.10.1 ([812f341](https://github.com/etchteam/eslint/commit/812f34117e63e47af42978f4422d799ac3831bf7))
package/README.md CHANGED
@@ -11,7 +11,7 @@ npm i -D eslint prettier @etchteam/eslint-config
11
11
  ## Usage
12
12
 
13
13
  ```bash
14
- echo "module.exports = { extends: ['@etchteam'] };" > .eslintrc.js
14
+ echo "module.exports = { extends: ['@etchteam'] };" > .eslintrc.cjs
15
15
  ```
16
16
 
17
17
  ### With lint-staged
@@ -23,11 +23,11 @@ Run the following:
23
23
  ```bash
24
24
  npm i -D husky lint-staged
25
25
 
26
- echo "module.exports = { '*.{ts,tsx,js,jsx,yml,yaml,json}': 'eslint --fix' };" > lint-staged.config.js
26
+ echo "module.exports = { '*.{ts,tsx,js,jsx,yml,yaml,json}': 'eslint --fix' };" > lint-staged.config.cjs
27
27
 
28
- npx husky install
28
+ npx husky init
29
29
 
30
- npx husky set .husky/pre-commit "npx --no-install -- lint-staged"
30
+ echo "npx --no-install -- lint-staged" > .husky/pre-commit
31
31
 
32
32
  ```
33
33
 
@@ -50,7 +50,7 @@ echo "{ \"editor.formatOnSave\": false, \"editor.codeActionsOnSave\": { \"source
50
50
 
51
51
  # The VSCode prettier extension doesn't read the eslint config, so specific
52
52
  # prettier overrides need to go in a prettier config for format on save
53
- echo "module.exports = { singleQuote: true };" > prettier.config.js
53
+ echo "module.exports = { singleQuote: true };" > prettier.config.cjs
54
54
 
55
55
  ```
56
56
 
@@ -70,5 +70,5 @@ Run the following:
70
70
  ```bash
71
71
  # The VSCode prettier extension doesn't read the eslint config, so specific
72
72
  # prettier overrides need to go in a prettier config for format on save
73
- echo "module.exports = { singleQuote: true };" > prettier.config.js
73
+ echo "module.exports = { singleQuote: true };" > prettier.config.cjs
74
74
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etchteam/eslint-config",
3
- "version": "2.0.24",
3
+ "version": "2.0.26",
4
4
  "description": "Etch's standard eslint config",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -41,7 +41,7 @@
41
41
  "eslint-plugin-prettier": "^5.0.1",
42
42
  "eslint-plugin-react": "^7.33.2",
43
43
  "eslint-plugin-security": "^3.0.0",
44
- "eslint-plugin-storybook": "^0.9.0",
44
+ "eslint-plugin-storybook": "^0.10.1",
45
45
  "eslint-plugin-unused-imports": "^4.1.3",
46
46
  "eslint-plugin-yml": "^1.10.0",
47
47
  "eslint-plugin-you-dont-need-lodash-underscore": "^6.14.0",