@nfq/eslint-config 2.2.5 → 2.2.7

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 CHANGED
@@ -2,6 +2,20 @@
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.7](https://github.com/nfqde/eslint-config-nfq/compare/v2.2.6...v2.2.7) (2022-10-20)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **Typescript:** Fix some typescript rules ([#26](https://github.com/nfqde/eslint-config-nfq/issues/26)) ([a21eae5](https://github.com/nfqde/eslint-config-nfq/commit/a21eae5dff2efc9e768797ee253023057b8381a2))
11
+
12
+ ### [2.2.6](https://github.com/nfqde/eslint-config-nfq/compare/v2.2.5...v2.2.6) (2022-07-24)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **Typescript:** Remove strict boolean ([#25](https://github.com/nfqde/eslint-config-nfq/issues/25)) ([e095f98](https://github.com/nfqde/eslint-config-nfq/commit/e095f9805c6e3cb1b0dcfae4fef86a8813deaa47))
18
+
5
19
  ### [2.2.5](https://github.com/nfqde/eslint-config-nfq/compare/v2.2.4...v2.2.5) (2022-07-20)
6
20
 
7
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nfq/eslint-config",
3
- "version": "2.2.5",
3
+ "version": "2.2.7",
4
4
  "engines": {
5
5
  "node": ">= 12.0.0"
6
6
  },
@@ -28,17 +28,7 @@ module.exports = {
28
28
  ],
29
29
  '@typescript-eslint/default-param-last': 'error',
30
30
  '@typescript-eslint/dot-notation': ['error', {allowKeywords: true}],
31
- '@typescript-eslint/explicit-function-return-type': [
32
- 'error',
33
- {
34
- allowConciseArrowFunctionExpressionsStartingWithVoid: false,
35
- allowDirectConstAssertionInArrowFunctions: true,
36
- allowedNames: [],
37
- allowExpressions: true,
38
- allowHigherOrderFunctions: true,
39
- allowTypedFunctionExpressions: true
40
- }
41
- ],
31
+ '@typescript-eslint/explicit-function-return-type': 'off',
42
32
  '@typescript-eslint/explicit-member-accessibility': ['error', {accessibility: 'no-public'}],
43
33
  '@typescript-eslint/explicit-module-boundary-types': 'off',
44
34
  '@typescript-eslint/func-call-spacing': ['error', 'never'],
@@ -105,7 +95,7 @@ module.exports = {
105
95
  '@typescript-eslint/no-namespace': 'error',
106
96
  '@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
107
97
  '@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
108
- '@typescript-eslint/no-non-null-assertion': 'warn',
98
+ '@typescript-eslint/no-non-null-assertion': 'off',
109
99
  '@typescript-eslint/no-redeclare': 'error',
110
100
  '@typescript-eslint/no-redundant-type-constituents': 'warn',
111
101
  '@typescript-eslint/no-require-imports': 'warn',
@@ -196,7 +186,7 @@ module.exports = {
196
186
  }
197
187
  ],
198
188
  '@typescript-eslint/space-infix-ops': 'error',
199
- '@typescript-eslint/strict-boolean-expressions': 'error',
189
+ '@typescript-eslint/strict-boolean-expressions': 'off',
200
190
  '@typescript-eslint/switch-exhaustiveness-check': 'error',
201
191
  '@typescript-eslint/triple-slash-reference': 'error',
202
192
  '@typescript-eslint/type-annotation-spacing': 'error',
@@ -230,6 +220,8 @@ module.exports = {
230
220
  'object-curly-spacing': 'off',
231
221
  'padding-line-between-statements': 'off',
232
222
  quotes: 'off',
223
+ 'react/default-props-match-prop-types': 'off',
224
+ 'react/require-default-props': 'off',
233
225
  semi: 'off',
234
226
  'space-before-blocks': 'off',
235
227
  'space-before-function-paren': 'off',