@perfective/eslint-config 0.23.1 → 0.23.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perfective/eslint-config",
3
- "version": "0.23.1",
3
+ "version": "0.23.3",
4
4
  "description": "ESLint shareable rules configuration",
5
5
  "keywords": ["code quality", "code standard", "code style", "eslint", "eslint config", "lint", "perfective", "tslint", "tslint config", "typescript"],
6
6
  "author": "Andrey Mikheychik <a.mikheychik@gmail.com>",
@@ -12,20 +12,20 @@
12
12
  "license": "MIT",
13
13
  "peerDependencies": {
14
14
  "@babel/eslint-parser": "^7.23.3",
15
- "@typescript-eslint/eslint-plugin": "^6.12.0",
16
- "@typescript-eslint/eslint-plugin-tslint": "^6.12.0",
17
- "@typescript-eslint/parser": "^6.12.0",
18
- "eslint": "^8.54.0",
15
+ "@typescript-eslint/eslint-plugin": "^6.15.0",
16
+ "@typescript-eslint/eslint-plugin-tslint": "^6.15.0",
17
+ "@typescript-eslint/parser": "^6.15.0",
18
+ "eslint": "^8.56.0",
19
19
  "eslint-import-resolver-typescript": "^3.6.1",
20
20
  "eslint-plugin-array-func": "^4.0.0",
21
21
  "eslint-plugin-cypress": "^2.15.1",
22
22
  "eslint-plugin-deprecation": "^2.0.0",
23
23
  "eslint-plugin-eslint-comments": "^3.2.0",
24
- "eslint-plugin-import": "^2.29.0",
24
+ "eslint-plugin-import": "^2.29.1",
25
25
  "eslint-plugin-jest": "^27.6.0",
26
26
  "eslint-plugin-jest-dom": "^5.1.0",
27
27
  "eslint-plugin-jest-formatting": "^3.1.0",
28
- "eslint-plugin-jsdoc": "^46.9.0",
28
+ "eslint-plugin-jsdoc": "^46.9.1",
29
29
  "eslint-plugin-node": "^11.1.0",
30
30
  "eslint-plugin-prefer-arrow": "^1.2.3",
31
31
  "eslint-plugin-promise": "^6.1.1",
@@ -33,7 +33,7 @@
33
33
  "eslint-plugin-simple-import-sort": "^10.0.0",
34
34
  "eslint-plugin-sonarjs": "^0.23.0",
35
35
  "eslint-plugin-testing-library": "^6.2.0",
36
- "eslint-plugin-unicorn": "^49.0.0",
36
+ "eslint-plugin-unicorn": "^50.0.1",
37
37
  "tslint": "^6.1.3"
38
38
  },
39
39
  "peerDependenciesMeta": {
@@ -40,6 +40,13 @@ module.exports = {
40
40
  }],
41
41
  '@typescript-eslint/explicit-function-return-type': ['error', {
42
42
  allowConciseArrowFunctionExpressionsStartingWithVoid: true,
43
+ allowDirectConstAssertionInArrowFunctions: true,
44
+ allowExpressions: false,
45
+ allowFunctionsWithoutTypeParameters: false,
46
+ allowHigherOrderFunctions: true,
47
+ allowIIFEs: false,
48
+ allowTypedFunctionExpressions: true,
49
+ allowedNames: [],
43
50
  }],
44
51
  '@typescript-eslint/explicit-member-accessibility': 'warn',
45
52
  '@typescript-eslint/explicit-module-boundary-types': 'error',
@@ -186,6 +193,7 @@ module.exports = {
186
193
  '@typescript-eslint/no-unsafe-return': 'error',
187
194
  '@typescript-eslint/no-unsafe-unary-minus': 'error',
188
195
  '@typescript-eslint/no-useless-empty-export': 'warn',
196
+ '@typescript-eslint/no-useless-template-literals': 'error',
189
197
  '@typescript-eslint/no-var-requires': 'error',
190
198
  '@typescript-eslint/non-nullable-type-assertion-style': 'error',
191
199
  '@typescript-eslint/parameter-properties': ['error', {
@@ -59,6 +59,7 @@ module.exports = {
59
59
  checkGlobalVariables: true,
60
60
  }],
61
61
  'unicorn/no-unnecessary-await': 'warn',
62
+ 'unicorn/no-unnecessary-polyfills': 'error',
62
63
  'unicorn/no-unreadable-array-destructuring': 'error',
63
64
  'unicorn/no-unreadable-iife': 'error',
64
65
  'unicorn/no-unsafe-regex': 'off',