@nfq/eslint-config 2.2.3 → 2.2.6
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 +3 -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.6](https://github.com/nfqde/eslint-config-nfq/compare/v2.2.5...v2.2.6) (2022-07-24)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **Typescript:** Remove strict boolean ([#25](https://github.com/nfqde/eslint-config-nfq/issues/25)) ([e095f98](https://github.com/nfqde/eslint-config-nfq/commit/e095f9805c6e3cb1b0dcfae4fef86a8813deaa47))
|
|
11
|
+
|
|
12
|
+
### [2.2.5](https://github.com/nfqde/eslint-config-nfq/compare/v2.2.4...v2.2.5) (2022-07-20)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **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))
|
|
18
|
+
|
|
19
|
+
### [2.2.4](https://github.com/nfqde/eslint-config-nfq/compare/v2.2.3...v2.2.4) (2022-07-20)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* **Rules:** change sort order ([#23](https://github.com/nfqde/eslint-config-nfq/issues/23)) ([0e90fde](https://github.com/nfqde/eslint-config-nfq/commit/0e90fde9e1c75954880f671b49bbe399847acbe1))
|
|
25
|
+
|
|
5
26
|
### [2.2.3](https://github.com/nfqde/eslint-config-nfq/compare/v2.2.2...v2.2.3) (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',
|
|
@@ -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',
|
|
@@ -196,7 +196,7 @@ module.exports = {
|
|
|
196
196
|
}
|
|
197
197
|
],
|
|
198
198
|
'@typescript-eslint/space-infix-ops': 'error',
|
|
199
|
-
'@typescript-eslint/strict-boolean-expressions': '
|
|
199
|
+
'@typescript-eslint/strict-boolean-expressions': 'off',
|
|
200
200
|
'@typescript-eslint/switch-exhaustiveness-check': 'error',
|
|
201
201
|
'@typescript-eslint/triple-slash-reference': 'error',
|
|
202
202
|
'@typescript-eslint/type-annotation-spacing': 'error',
|