@nfq/eslint-config 2.2.0 → 2.2.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/CHANGELOG.md +21 -0
- package/index.js +1 -4
- package/package.json +1 -1
- package/rules/typescript.js +4 -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.3](https://github.com/nfqde/eslint-config-nfq/compare/v2.2.2...v2.2.3) (2022-07-20)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **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))
|
|
11
|
+
|
|
12
|
+
### [2.2.2](https://github.com/nfqde/eslint-config-nfq/compare/v2.2.1...v2.2.2) (2022-07-20)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **Config:** fix tslint config ([#21](https://github.com/nfqde/eslint-config-nfq/issues/21)) ([f826152](https://github.com/nfqde/eslint-config-nfq/commit/f8261527c4e1a2b3e16034b4c88b4e4bd206060c))
|
|
18
|
+
|
|
19
|
+
### [2.2.1](https://github.com/nfqde/eslint-config-nfq/compare/v2.2.0...v2.2.1) (2022-07-20)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* **Rules:** @typescript-eslint/keyword-spacing ([#20](https://github.com/nfqde/eslint-config-nfq/issues/20)) ([f190b7a](https://github.com/nfqde/eslint-config-nfq/commit/f190b7aea19a22e61cfc40df78494128313eb7cc))
|
|
25
|
+
|
|
5
26
|
## [2.2.0](https://github.com/nfqde/eslint-config-nfq/compare/v2.1.6...v2.2.0) (2022-07-20)
|
|
6
27
|
|
|
7
28
|
|
package/index.js
CHANGED
|
@@ -16,10 +16,7 @@ module.exports = {
|
|
|
16
16
|
{
|
|
17
17
|
files: ['**/*.{ts,cts,mts,tsx}'],
|
|
18
18
|
parser: '@typescript-eslint/parser',
|
|
19
|
-
parserOptions: {
|
|
20
|
-
project: './tsconfig.json',
|
|
21
|
-
tsconfigRootDir: __dirname
|
|
22
|
-
},
|
|
19
|
+
parserOptions: {project: './tsconfig.json'},
|
|
23
20
|
plugins: ['@typescript-eslint'],
|
|
24
21
|
rules: typescript.rules
|
|
25
22
|
}
|
package/package.json
CHANGED
package/rules/typescript.js
CHANGED
|
@@ -48,8 +48,7 @@ module.exports = {
|
|
|
48
48
|
'error',
|
|
49
49
|
{
|
|
50
50
|
after: true,
|
|
51
|
-
before: true
|
|
52
|
-
exceptAfterOverload: true
|
|
51
|
+
before: true
|
|
53
52
|
}
|
|
54
53
|
],
|
|
55
54
|
'@typescript-eslint/lines-between-class-members': [
|
|
@@ -120,7 +119,7 @@ module.exports = {
|
|
|
120
119
|
'@typescript-eslint/no-unnecessary-type-assertion': 'warn',
|
|
121
120
|
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
|
|
122
121
|
'@typescript-eslint/no-unsafe-argument': 'error',
|
|
123
|
-
'@typescript-eslint/no-unsafe-assignment': '
|
|
122
|
+
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
124
123
|
'@typescript-eslint/no-unsafe-call': 'error',
|
|
125
124
|
'@typescript-eslint/no-unsafe-member-access': 'error',
|
|
126
125
|
'@typescript-eslint/no-unsafe-return': 'error',
|
|
@@ -208,6 +207,8 @@ module.exports = {
|
|
|
208
207
|
'default-param-last': 'off',
|
|
209
208
|
'dot-notation': 'off',
|
|
210
209
|
'func-call-spacing': 'off',
|
|
210
|
+
'jsdoc/require-param-type': 'off',
|
|
211
|
+
'jsdoc/require-returns-type': 'off',
|
|
211
212
|
'keyword-spacing': 'off',
|
|
212
213
|
'lines-between-class-members': 'off',
|
|
213
214
|
'no-array-constructor': 'off',
|