@cto.af/eslint-config 1.0.2 → 1.0.4

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 +12 -12
  2. package/ts.js +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cto.af/eslint-config",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "hildjj's lint rules",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -15,12 +15,12 @@
15
15
  "license": "MIT",
16
16
  "repository": "hildjj/ctoaf-eslint-config",
17
17
  "peerDependencies": {
18
- "@typescript-eslint/eslint-plugin": "5.48.2",
19
- "@typescript-eslint/parser": "5.48.2",
20
- "eslint-plugin-ava": "^14.0.0",
21
- "eslint-plugin-jsdoc": "^39.6.7",
22
- "eslint-plugin-node": "^11.1.0",
23
- "typescript": "4.9.4"
18
+ "@typescript-eslint/eslint-plugin": "~5",
19
+ "@typescript-eslint/parser": "~5",
20
+ "eslint-plugin-ava": "~14",
21
+ "eslint-plugin-jsdoc": "~40",
22
+ "eslint-plugin-node": "~11",
23
+ "typescript": "~4"
24
24
  },
25
25
  "peerDependenciesMeta": {
26
26
  "@typescript-eslint/eslint-plugin": {
@@ -40,15 +40,15 @@
40
40
  }
41
41
  },
42
42
  "devDependencies": {
43
- "@typescript-eslint/eslint-plugin": "5.48.2",
44
- "@typescript-eslint/parser": "5.48.2",
45
- "eslint": "^8.32.0",
43
+ "@typescript-eslint/eslint-plugin": "5.52.0",
44
+ "@typescript-eslint/parser": "5.52.0",
45
+ "eslint": "^8.34.0",
46
46
  "eslint-find-rules": "4.1.0",
47
47
  "eslint-plugin-ava": "^14.0.0",
48
48
  "eslint-plugin-hildjj": "link:rules",
49
- "eslint-plugin-jsdoc": "^39.6.7",
49
+ "eslint-plugin-jsdoc": "^40.0.0",
50
50
  "eslint-plugin-node": "^11.1.0",
51
- "typescript": "4.9.4"
51
+ "typescript": "4.9.5"
52
52
  },
53
53
  "engines": {
54
54
  "node": ">=14"
package/ts.js CHANGED
@@ -44,6 +44,7 @@ module.exports = {
44
44
  }],
45
45
  '@typescript-eslint/ban-tslint-comment': 'error',
46
46
  '@typescript-eslint/ban-types': 'off', // Not needed
47
+ '@typescript-eslint/block-spacing': 'error',
47
48
  'brace-style': 'off',
48
49
  '@typescript-eslint/brace-style': ['error', '1tbs', {
49
50
  allowSingleLine: true,
@@ -90,6 +91,7 @@ module.exports = {
90
91
  '@typescript-eslint/func-call-spacing': 'error',
91
92
  '@typescript-eslint/indent': ['off', 2], // Broken, see https://github.com/typescript-eslint/typescript-eslint/issues/1824
92
93
  '@typescript-eslint/init-declarations': 'error',
94
+ '@typescript-eslint/key-spacing': ['error', {mode: 'minimum'}],
93
95
  '@typescript-eslint/keyword-spacing': 'error',
94
96
  '@typescript-eslint/lines-between-class-members': 'error',
95
97
  '@typescript-eslint/member-delimiter-style': 'error',
@@ -116,6 +118,7 @@ module.exports = {
116
118
  '@typescript-eslint/no-floating-promises': 'off', // Can't config
117
119
  '@typescript-eslint/no-for-in-array': 'error',
118
120
  '@typescript-eslint/no-implied-eval': 'off', // Can't config
121
+ '@typescript-eslint/no-import-type-side-effects': 'error',
119
122
  '@typescript-eslint/no-inferrable-types': 'error',
120
123
  '@typescript-eslint/no-invalid-this': 'error',
121
124
  '@typescript-eslint/no-invalid-void-type': 'error',