@perfective/eslint-config 0.17.0-alpha.2 → 0.17.0-beta

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License
2
2
 
3
- Copyright (c) 2021 Andrey Mikheychik (https://github.com/amikheychik)
3
+ Copyright (c) 2020-2022 Andrey Mikheychik (https://github.com/amikheychik)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perfective/eslint-config",
3
- "version": "0.17.0-alpha.2",
3
+ "version": "0.17.0-beta",
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>",
@@ -11,29 +11,29 @@
11
11
  },
12
12
  "license": "MIT",
13
13
  "peerDependencies": {
14
- "@babel/eslint-parser": "^7.16.5",
15
- "@typescript-eslint/eslint-plugin": "^5.10.1",
16
- "@typescript-eslint/eslint-plugin-tslint": "^5.10.1",
17
- "@typescript-eslint/parser": "^5.10.1",
18
- "eslint": "^8.8.0",
14
+ "@babel/eslint-parser": "^7.17.0",
15
+ "@typescript-eslint/eslint-plugin": "^5.12.0",
16
+ "@typescript-eslint/eslint-plugin-tslint": "^5.12.0",
17
+ "@typescript-eslint/parser": "^5.12.0",
18
+ "eslint": "^8.9.0",
19
19
  "eslint-import-resolver-typescript": "^2.5.0",
20
20
  "eslint-plugin-array-func": "^3.1.7",
21
21
  "eslint-plugin-cypress": "^2.12.1",
22
22
  "eslint-plugin-deprecation": "^1.3.2",
23
23
  "eslint-plugin-eslint-comments": "^3.2.0",
24
24
  "eslint-plugin-import": "^2.25.4",
25
- "eslint-plugin-jest": "^26.0.0",
25
+ "eslint-plugin-jest": "^26.1.1",
26
26
  "eslint-plugin-jest-dom": "^4.0.1",
27
27
  "eslint-plugin-jest-formatting": "^3.1.0",
28
- "eslint-plugin-jsdoc": "^37.7.0",
28
+ "eslint-plugin-jsdoc": "^37.9.3",
29
29
  "eslint-plugin-node": "^11.1.0",
30
30
  "eslint-plugin-prefer-arrow": "^1.2.3",
31
31
  "eslint-plugin-promise": "^6.0.0",
32
32
  "eslint-plugin-rxjs": "^5.0.2",
33
33
  "eslint-plugin-simple-import-sort": "^7.0.0",
34
34
  "eslint-plugin-sonarjs": "^0.11.0",
35
- "eslint-plugin-testing-library": "^5.0.4",
36
- "eslint-plugin-unicorn": "^40.1.0",
35
+ "eslint-plugin-testing-library": "^5.0.5",
36
+ "eslint-plugin-unicorn": "^41.0.0",
37
37
  "tslint": "^6.1.3"
38
38
  },
39
39
  "main": "./index.js",
@@ -21,6 +21,7 @@ module.exports = {
21
21
  'jest/no-alias-methods': 'warn',
22
22
  'jest/no-commented-out-tests': 'error',
23
23
  'jest/no-conditional-expect': 'error',
24
+ 'jest/no-conditional-in-test': 'error',
24
25
  'jest/no-deprecated-functions': 'warn',
25
26
  'jest/no-disabled-tests': 'error',
26
27
  'jest/no-done-callback': 'error',
@@ -29,7 +30,7 @@ module.exports = {
29
30
  'jest/no-focused-tests': 'warn',
30
31
  'jest/no-hooks': 'off',
31
32
  'jest/no-identical-title': 'error',
32
- 'jest/no-if': 'error',
33
+ 'jest/no-if': 'off',
33
34
  'jest/no-interpolation-in-snapshots': 'error',
34
35
  'jest/no-jasmine-globals': 'warn',
35
36
  'jest/no-jest-import': 'error',
@@ -56,6 +57,7 @@ module.exports = {
56
57
  ignore: [],
57
58
  ignoreTopLevelDescribe: true,
58
59
  }],
60
+ 'jest/prefer-snapshot-hint': ['error', 'always'],
59
61
  'jest/prefer-spy-on': 'warn',
60
62
  'jest/prefer-strict-equal': 'warn',
61
63
  'jest/prefer-to-be': 'warn',
@@ -103,6 +103,7 @@ module.exports = {
103
103
  'jsdoc/require-throws': 'error',
104
104
  'jsdoc/require-yields': 'error',
105
105
  'jsdoc/require-yields-check': 'error',
106
+ 'jsdoc/sort-tags': 'warn',
106
107
  'jsdoc/tag-lines': ['off', 'never', {
107
108
  count: 1,
108
109
  noEndLines: true,
@@ -139,6 +139,7 @@ module.exports = {
139
139
  'unicorn/require-post-message-target-origin': 'error',
140
140
  'unicorn/string-content': 'off',
141
141
  'unicorn/template-indent': 'warn',
142
+ 'unicorn/text-encoding-identifier-case': 'error',
142
143
  'unicorn/throw-new-error': 'warn',
143
144
  },
144
145
  };