@egy186/eslint-config 0.83.0 → 0.85.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 (2) hide show
  1. package/package.json +11 -11
  2. package/typescript.js +10 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@egy186/eslint-config",
3
3
  "description": "Eslint shareable config",
4
- "version": "0.83.0",
4
+ "version": "0.85.0",
5
5
  "author": "egy186",
6
6
  "bugs": {
7
7
  "url": "https://github.com/egy186/eslint-config/issues"
@@ -10,18 +10,18 @@
10
10
  "lodash": "^4.17.21"
11
11
  },
12
12
  "devDependencies": {
13
- "@typescript-eslint/eslint-plugin": "^5.48.1",
14
- "@typescript-eslint/parser": "^5.48.1",
15
- "eslint": "~8.31.0",
16
- "eslint-plugin-import": "~2.27.4",
17
- "eslint-plugin-jest": "^27.2.1",
18
- "eslint-plugin-jsdoc": "~39.6.4",
13
+ "@typescript-eslint/eslint-plugin": "~5.51.0",
14
+ "@typescript-eslint/parser": "~5.51.0",
15
+ "eslint": "~8.33.0",
16
+ "eslint-plugin-import": "~2.27.5",
17
+ "eslint-plugin-jest": "~27.2.1",
18
+ "eslint-plugin-jsdoc": "~39.8.0",
19
19
  "eslint-plugin-node": "~11.1.0",
20
- "eslint-plugin-react": "~7.32.0",
20
+ "eslint-plugin-react": "~7.32.2",
21
21
  "eslint-plugin-react-hooks": "~4.6.0",
22
22
  "husky": "^8.0.1",
23
23
  "require-dir": "^1.2.0",
24
- "typescript": "^4.9.4"
24
+ "typescript": "~4.9.5"
25
25
  },
26
26
  "engines": {
27
27
  "node": ">=14.19.1"
@@ -45,8 +45,8 @@
45
45
  "license": "MIT",
46
46
  "main": "index.js",
47
47
  "peerDependencies": {
48
- "@typescript-eslint/eslint-plugin": "^5.42.0",
49
- "@typescript-eslint/parser": "^5.42.0",
48
+ "@typescript-eslint/eslint-plugin": "^5.51.0",
49
+ "@typescript-eslint/parser": "^5.51.0",
50
50
  "eslint": "^8.27.0",
51
51
  "eslint-plugin-import": "^2.27.4",
52
52
  "eslint-plugin-jest": "^27.2.0",
package/typescript.js CHANGED
@@ -28,6 +28,13 @@ module.exports = {
28
28
  '@typescript-eslint/func-call-spacing': 'error',
29
29
  '@typescript-eslint/indent': ['error', 2],
30
30
  '@typescript-eslint/init-declarations': 'error',
31
+ '@typescript-eslint/key-spacing': [
32
+ 'error',
33
+ {
34
+ afterColon: true,
35
+ beforeColon: false
36
+ }
37
+ ],
31
38
  '@typescript-eslint/keyword-spacing': [
32
39
  'error',
33
40
  {
@@ -94,6 +101,7 @@ module.exports = {
94
101
  '@typescript-eslint/no-floating-promises': ['error', { ignoreVoid: true }],
95
102
  '@typescript-eslint/no-for-in-array': 'error',
96
103
  '@typescript-eslint/no-implied-eval': 'error',
104
+ '@typescript-eslint/no-import-type-side-effects': 'error',
97
105
  '@typescript-eslint/no-inferrable-types': 'error',
98
106
  '@typescript-eslint/no-invalid-this': 'error',
99
107
  '@typescript-eslint/no-invalid-void-type': 'error',
@@ -180,6 +188,7 @@ module.exports = {
180
188
  'comma-dangle': 'off',
181
189
  'dot-notation': 'off',
182
190
  'init-declarations': 'off',
191
+ 'key-spacing': 'off',
183
192
  'keyword-spacing': 'off',
184
193
  'lines-between-class-members': 'off',
185
194
  'no-dupe-class-members': 'off',
@@ -196,6 +205,7 @@ module.exports = {
196
205
  'object-curly-spacing': 'off',
197
206
  'padding-line-between-statements': 'off',
198
207
  'require-await': 'off',
208
+ semi: 'off',
199
209
  'space-before-blocks': 'off',
200
210
  'space-before-function-paren': 'off',
201
211
  'space-infix-ops': 'off'