@etchteam/eslint-config 2.0.23 → 2.0.25
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 +2 -2
- package/README.md +6 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## [2.0.
|
|
1
|
+
## [2.0.25](https://github.com/etchteam/eslint/compare/v2.0.24...v2.0.25) (2024-10-21)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
* bump eslint-plugin-
|
|
6
|
+
* bump eslint-plugin-jsx-a11y from 6.10.0 to 6.10.1 ([e9c5548](https://github.com/etchteam/eslint/commit/e9c55484e70c2034d27921409ab9b8f651c8e929))
|
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.
|
|
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.
|
|
26
|
+
echo "module.exports = { '*.{ts,tsx,js,jsx,yml,yaml,json}': 'eslint --fix' };" > lint-staged.config.cjs
|
|
27
27
|
|
|
28
|
-
npx husky
|
|
28
|
+
npx husky init
|
|
29
29
|
|
|
30
|
-
|
|
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.
|
|
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.
|
|
73
|
+
echo "module.exports = { singleQuote: true };" > prettier.config.cjs
|
|
74
74
|
```
|