@etchteam/eslint-config 1.8.0 → 1.11.0
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/.github/dependabot.yml +10 -0
- package/.husky/pre-commit +4 -0
- package/.vscode/settings.json +1 -1
- package/CHANGELOG.md +10 -3
- package/README.md +2 -2
- package/lint-staged.config.js +1 -1
- package/package.json +5 -3
- package/src/index.js +1 -0
package/.vscode/settings.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
## [1.
|
|
1
|
+
## [1.11.0](https://github.com/etchteam/eslint/compare/v1.10.0...v1.11.0) (2024-05-21)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
* add
|
|
7
|
-
*
|
|
6
|
+
* add precommit hook ([7c9f260](https://github.com/etchteam/eslint/commit/7c9f2601e2763ccc3950b5d83709f7c1db64a79f))
|
|
7
|
+
* add you-dont-need-lodash-underscore ([bedda3c](https://github.com/etchteam/eslint/commit/bedda3ca3af4694bafab6327f4ef5b8ec5193cb0))
|
|
8
|
+
* capture all supported file types ([495971e](https://github.com/etchteam/eslint/commit/495971e07d50f77728fb28cba7ed46af374e0209))
|
|
9
|
+
* install husky hooks on postinstall ([0257184](https://github.com/etchteam/eslint/commit/025718424667d521aa7eb93471802fc98226d4c4))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* add schedule and directory to dependabot config ([5a88e95](https://github.com/etchteam/eslint/commit/5a88e95cb57a91f03ccd4c9146b2c5c8a13c702e))
|
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ Run the following:
|
|
|
46
46
|
```bash
|
|
47
47
|
mkdir .vscode
|
|
48
48
|
|
|
49
|
-
echo "{ \"editor.formatOnSave\": false, \"editor.codeActionsOnSave\": { \"source.fixAll.eslint\":
|
|
49
|
+
echo "{ \"editor.formatOnSave\": false, \"editor.codeActionsOnSave\": { \"source.fixAll.eslint\": \"explicit\" } }" > .vscode/settings.json
|
|
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
|
|
@@ -61,7 +61,7 @@ Add the following to `.vscode/settings.json`:
|
|
|
61
61
|
```json
|
|
62
62
|
"editor.formatOnSave": false,
|
|
63
63
|
"editor.codeActionsOnSave": {
|
|
64
|
-
"source.fixAll.eslint":
|
|
64
|
+
"source.fixAll.eslint": "explicit"
|
|
65
65
|
}
|
|
66
66
|
```
|
|
67
67
|
|
package/lint-staged.config.js
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etchteam/eslint-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0",
|
|
4
4
|
"description": "Etch's standard eslint config",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
+
"postinstall": "husky install",
|
|
7
8
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
9
|
"release": "semantic-release"
|
|
9
10
|
},
|
|
@@ -30,8 +31,8 @@
|
|
|
30
31
|
"lint-staged": "^13.1.0"
|
|
31
32
|
},
|
|
32
33
|
"dependencies": {
|
|
33
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
34
|
-
"@typescript-eslint/parser": "^6.
|
|
34
|
+
"@typescript-eslint/eslint-plugin": "^6.18.1",
|
|
35
|
+
"@typescript-eslint/parser": "^6.18.1",
|
|
35
36
|
"eslint": ">=8.29.0",
|
|
36
37
|
"eslint-config-next": "^14.0.1",
|
|
37
38
|
"eslint-config-prettier": "^9.0.0",
|
|
@@ -44,6 +45,7 @@
|
|
|
44
45
|
"eslint-plugin-storybook": "^0.6.15",
|
|
45
46
|
"eslint-plugin-unused-imports": "^3.0.0",
|
|
46
47
|
"eslint-plugin-yml": "^1.10.0",
|
|
48
|
+
"eslint-plugin-you-dont-need-lodash-underscore": "^6.14.0",
|
|
47
49
|
"prettier": ">=3.0.0"
|
|
48
50
|
},
|
|
49
51
|
"peerDependencies": {
|