@nfq/eslint-config 2.2.2 → 2.2.5
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/CHANGELOG.md +21 -0
- package/package.json +1 -1
- package/rules/typescript.js +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [2.2.5](https://github.com/nfqde/eslint-config-nfq/compare/v2.2.4...v2.2.5) (2022-07-20)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **Rules:** Fix void return promises ([#24](https://github.com/nfqde/eslint-config-nfq/issues/24)) ([2937b92](https://github.com/nfqde/eslint-config-nfq/commit/2937b923480fbda59ab7a44707bdf6a3b7466e3e))
|
|
11
|
+
|
|
12
|
+
### [2.2.4](https://github.com/nfqde/eslint-config-nfq/compare/v2.2.3...v2.2.4) (2022-07-20)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **Rules:** change sort order ([#23](https://github.com/nfqde/eslint-config-nfq/issues/23)) ([0e90fde](https://github.com/nfqde/eslint-config-nfq/commit/0e90fde9e1c75954880f671b49bbe399847acbe1))
|
|
18
|
+
|
|
19
|
+
### [2.2.3](https://github.com/nfqde/eslint-config-nfq/compare/v2.2.2...v2.2.3) (2022-07-20)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* **Rules:** deactivate typpes for jsdoc ([#22](https://github.com/nfqde/eslint-config-nfq/issues/22)) ([7ba9a8b](https://github.com/nfqde/eslint-config-nfq/commit/7ba9a8bf046110edc12bceb627252be861706c8f))
|
|
25
|
+
|
|
5
26
|
### [2.2.2](https://github.com/nfqde/eslint-config-nfq/compare/v2.2.1...v2.2.2) (2022-07-20)
|
|
6
27
|
|
|
7
28
|
|
package/package.json
CHANGED
package/rules/typescript.js
CHANGED
|
@@ -101,7 +101,7 @@ module.exports = {
|
|
|
101
101
|
'@typescript-eslint/no-loop-func': 'error',
|
|
102
102
|
'@typescript-eslint/no-loss-of-precision': 'error',
|
|
103
103
|
'@typescript-eslint/no-misused-new': 'error',
|
|
104
|
-
'@typescript-eslint/no-misused-promises': 'error',
|
|
104
|
+
'@typescript-eslint/no-misused-promises': ['error', {checksVoidReturn: false}],
|
|
105
105
|
'@typescript-eslint/no-namespace': 'error',
|
|
106
106
|
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
|
|
107
107
|
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
|
|
@@ -119,7 +119,7 @@ module.exports = {
|
|
|
119
119
|
'@typescript-eslint/no-unnecessary-type-assertion': 'warn',
|
|
120
120
|
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
|
|
121
121
|
'@typescript-eslint/no-unsafe-argument': 'error',
|
|
122
|
-
'@typescript-eslint/no-unsafe-assignment': '
|
|
122
|
+
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
123
123
|
'@typescript-eslint/no-unsafe-call': 'error',
|
|
124
124
|
'@typescript-eslint/no-unsafe-member-access': 'error',
|
|
125
125
|
'@typescript-eslint/no-unsafe-return': 'error',
|
|
@@ -185,7 +185,7 @@ module.exports = {
|
|
|
185
185
|
'@typescript-eslint/restrict-template-expressions': 'error',
|
|
186
186
|
'@typescript-eslint/return-await': 'error',
|
|
187
187
|
'@typescript-eslint/semi': 'error',
|
|
188
|
-
'@typescript-eslint/sort-type-union-intersection-members': 'error',
|
|
188
|
+
'@typescript-eslint/sort-type-union-intersection-members': ['error', {checkIntersections: false}],
|
|
189
189
|
'@typescript-eslint/space-before-blocks': ['error', 'always'],
|
|
190
190
|
'@typescript-eslint/space-before-function-paren': [
|
|
191
191
|
'error',
|
|
@@ -207,6 +207,8 @@ module.exports = {
|
|
|
207
207
|
'default-param-last': 'off',
|
|
208
208
|
'dot-notation': 'off',
|
|
209
209
|
'func-call-spacing': 'off',
|
|
210
|
+
'jsdoc/require-param-type': 'off',
|
|
211
|
+
'jsdoc/require-returns-type': 'off',
|
|
210
212
|
'keyword-spacing': 'off',
|
|
211
213
|
'lines-between-class-members': 'off',
|
|
212
214
|
'no-array-constructor': 'off',
|