@allthings/eslint-config 0.0.6 → 0.0.7
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 +10 -1
- package/node.js +0 -3
- package/package.json +13 -14
package/README.md
CHANGED
|
@@ -28,10 +28,19 @@ module.exports = {
|
|
|
28
28
|
}
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
##
|
|
31
|
+
## Deployment
|
|
32
32
|
|
|
33
33
|
Publishing to npm
|
|
34
34
|
|
|
35
35
|
```shell
|
|
36
36
|
yarn deploy
|
|
37
37
|
```
|
|
38
|
+
|
|
39
|
+
## Development
|
|
40
|
+
|
|
41
|
+
Run `yarn link` in the project folder
|
|
42
|
+
|
|
43
|
+
Run `yarn link @allthings/eslint-config` in the project that you want to test it against
|
|
44
|
+
|
|
45
|
+
After you finish run in your project `yarn unlink @allthings/eslint-config` and then `yarn install --force`
|
|
46
|
+
to restore the initial state of dependencies
|
package/node.js
CHANGED
|
@@ -29,7 +29,6 @@ sortedPaths.push(...keptPaths.reverse())
|
|
|
29
29
|
const hookPropertyMap = new Map(
|
|
30
30
|
[
|
|
31
31
|
['eslint-plugin-import', 'eslint-plugin-import'],
|
|
32
|
-
['eslint-plugin-ternary', 'eslint-plugin-ternary'],
|
|
33
32
|
[
|
|
34
33
|
'eslint-plugin-typescript-sort-keys',
|
|
35
34
|
'eslint-plugin-typescript-sort-keys',
|
|
@@ -59,7 +58,6 @@ module.exports = {
|
|
|
59
58
|
'plugin:import/recommended',
|
|
60
59
|
'plugin:import/typescript',
|
|
61
60
|
'eslint:recommended',
|
|
62
|
-
'plugin:ternary/recommended',
|
|
63
61
|
'plugin:@typescript-eslint/eslint-recommended',
|
|
64
62
|
'plugin:@typescript-eslint/recommended',
|
|
65
63
|
'plugin:typescript-sort-keys/recommended',
|
|
@@ -70,7 +68,6 @@ module.exports = {
|
|
|
70
68
|
'typescript-sort-keys',
|
|
71
69
|
'prefer-arrow',
|
|
72
70
|
'simple-import-sort',
|
|
73
|
-
'ternary',
|
|
74
71
|
],
|
|
75
72
|
rules: {
|
|
76
73
|
'@typescript-eslint/adjacent-overload-signatures': 'error',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allthings/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "ESlint shareable config for Allthings style",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -16,24 +16,23 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@rushstack/eslint-patch": "^1.2.0",
|
|
19
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
20
|
-
"@typescript-eslint/parser": "^5.
|
|
21
|
-
"eslint-config-prettier": "^8.
|
|
22
|
-
"eslint-import-resolver-node": "^0.3.
|
|
23
|
-
"eslint-import-resolver-typescript": "^3.5.
|
|
24
|
-
"eslint-plugin-import": "^2.
|
|
25
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
26
|
-
"eslint-plugin-n": "^15.
|
|
19
|
+
"@typescript-eslint/eslint-plugin": "^5.57.1",
|
|
20
|
+
"@typescript-eslint/parser": "^5.57.1",
|
|
21
|
+
"eslint-config-prettier": "^8.8.0",
|
|
22
|
+
"eslint-import-resolver-node": "^0.3.7",
|
|
23
|
+
"eslint-import-resolver-typescript": "^3.5.4",
|
|
24
|
+
"eslint-plugin-import": "^2.27.5",
|
|
25
|
+
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
26
|
+
"eslint-plugin-n": "^15.7.0",
|
|
27
27
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
28
28
|
"eslint-plugin-prettier": "^4.2.1",
|
|
29
|
-
"eslint-plugin-react": "^7.
|
|
29
|
+
"eslint-plugin-react": "^7.32.2",
|
|
30
30
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
31
|
-
"eslint-plugin-simple-import-sort": "^
|
|
32
|
-
"eslint-plugin-
|
|
33
|
-
"eslint-plugin-typescript-sort-keys": "^2.1.0"
|
|
31
|
+
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
32
|
+
"eslint-plugin-typescript-sort-keys": "^2.3.0"
|
|
34
33
|
},
|
|
35
34
|
"peerDependencies": {
|
|
36
|
-
"eslint": ">=8.
|
|
35
|
+
"eslint": ">=8.22.0",
|
|
37
36
|
"prettier": ">=2.8.0",
|
|
38
37
|
"typescript": ">=4"
|
|
39
38
|
},
|