@allthings/eslint-config 0.0.6 → 1.0.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.
Files changed (3) hide show
  1. package/README.md +10 -1
  2. package/node.js +0 -3
  3. package/package.json +18 -19
package/README.md CHANGED
@@ -28,10 +28,19 @@ module.exports = {
28
28
  }
29
29
  ```
30
30
 
31
- ## Development
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.6",
3
+ "version": "1.0.0",
4
4
  "description": "ESlint shareable config for Allthings style",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -15,31 +15,30 @@
15
15
  "postdeploy": "git push --tags origin HEAD"
16
16
  },
17
17
  "dependencies": {
18
- "@rushstack/eslint-patch": "^1.2.0",
19
- "@typescript-eslint/eslint-plugin": "^5.47.1",
20
- "@typescript-eslint/parser": "^5.47.1",
21
- "eslint-config-prettier": "^8.5.0",
22
- "eslint-import-resolver-node": "^0.3.6",
23
- "eslint-import-resolver-typescript": "^3.5.2",
24
- "eslint-plugin-import": "^2.26.0",
25
- "eslint-plugin-jsx-a11y": "^6.6.1",
26
- "eslint-plugin-n": "^15.5.1",
18
+ "@rushstack/eslint-patch": "^1.3.3",
19
+ "@typescript-eslint/eslint-plugin": "^6.6.0",
20
+ "@typescript-eslint/parser": "^6.6.0",
21
+ "eslint-config-prettier": "^9.0.0",
22
+ "eslint-import-resolver-node": "^0.3.9",
23
+ "eslint-import-resolver-typescript": "^3.6.0",
24
+ "eslint-plugin-import": "^2.28.1",
25
+ "eslint-plugin-jsx-a11y": "^6.7.1",
26
+ "eslint-plugin-n": "^16.0.2",
27
27
  "eslint-plugin-prefer-arrow": "^1.2.3",
28
- "eslint-plugin-prettier": "^4.2.1",
29
- "eslint-plugin-react": "^7.31.11",
28
+ "eslint-plugin-prettier": "^5.0.0",
29
+ "eslint-plugin-react": "^7.33.2",
30
30
  "eslint-plugin-react-hooks": "^4.6.0",
31
- "eslint-plugin-simple-import-sort": "^8.0.0",
32
- "eslint-plugin-ternary": "^2.0.0",
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.28.0",
37
- "prettier": ">=2.8.0",
35
+ "eslint": ">=8.22.0",
36
+ "prettier": ">=3.0.0",
38
37
  "typescript": ">=4"
39
38
  },
40
39
  "devDependencies": {
41
- "eslint": "^8.28.0",
42
- "prettier": "2.8.0",
40
+ "eslint": "^8.48.0",
41
+ "prettier": "^3.0.0",
43
42
  "typescript": ">=4"
44
43
  },
45
44
  "keywords": [