@nfq/eslint-config 2.4.3 → 3.0.0

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,24 @@
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
+ ## [3.0.0](https://github.com/nfqde/eslint-config-nfq/compare/v2.4.4...v3.0.0) (2023-08-22)
6
+
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * **Rules:** Update to jsdoc > 40 removes rules
11
+
12
+ ### Features
13
+
14
+ * **Rules:** Update packages and remove deprecated rules ([#49](https://github.com/nfqde/eslint-config-nfq/issues/49)) ([8ee2233](https://github.com/nfqde/eslint-config-nfq/commit/8ee2233a1d1a365c9090de445031ab907a5ec2e3))
15
+
16
+ ### [2.4.4](https://github.com/nfqde/eslint-config-nfq/compare/v2.4.3...v2.4.4) (2023-07-25)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * **Typescript:** Update deprecated rule name ([#45](https://github.com/nfqde/eslint-config-nfq/issues/45)) ([a4ebfc0](https://github.com/nfqde/eslint-config-nfq/commit/a4ebfc0b060fe27fe905600e49dfee9529bb582f))
22
+
5
23
  ### [2.4.3](https://github.com/nfqde/eslint-config-nfq/compare/v2.4.2...v2.4.3) (2023-06-27)
6
24
 
7
25
 
package/package.json CHANGED
@@ -1,13 +1,18 @@
1
1
  {
2
2
  "name": "@nfq/eslint-config",
3
- "version": "2.4.3",
3
+ "version": "3.0.0",
4
4
  "engines": {
5
5
  "node": ">= 12.0.0"
6
6
  },
7
7
  "description": "Eslint configuration for all nfq projects",
8
8
  "main": "index.js",
9
+ "standard-version": {
10
+ "scripts": {
11
+ "prebump": "nfqBump"
12
+ }
13
+ },
9
14
  "scripts": {
10
- "deploy": "standard-version && git push --follow-tags origin master && npm publish",
15
+ "deploy": "pnpm standard-version && git push --follow-tags origin master && npm publish",
11
16
  "test": "echo \"Error: no test specified\" && exit 1"
12
17
  },
13
18
  "keywords": [
@@ -20,14 +25,14 @@
20
25
  "@babel/core": ">= 7",
21
26
  "@babel/eslint-parser": ">= 7",
22
27
  "@nfq/eslint-plugin": ">= 0.6.0",
23
- "@typescript-eslint/eslint-plugin": ">= 5",
24
- "@typescript-eslint/parser": ">= 5",
28
+ "@typescript-eslint/eslint-plugin": ">= 6",
29
+ "@typescript-eslint/parser": ">= 6",
25
30
  "eslint": ">= 8",
26
31
  "eslint-import-resolver-alias": ">= 1",
27
32
  "eslint-plugin-array-func": ">= 3",
28
33
  "eslint-plugin-better-styled-components": ">= 1",
29
34
  "eslint-plugin-import": ">= 2",
30
- "eslint-plugin-jsdoc": ">= 40",
35
+ "eslint-plugin-jsdoc": ">= 43",
31
36
  "eslint-plugin-jsx-a11y": ">= 6",
32
37
  "eslint-plugin-no-unsanitized": ">= 4",
33
38
  "eslint-plugin-node": ">= 11",
@@ -41,26 +46,27 @@
41
46
  "eslint-plugin-sort-destructure-keys": ">= 1"
42
47
  },
43
48
  "dependencies": {
44
- "confusing-browser-globals": "^1.0.11"
49
+ "confusing-browser-globals": "^1.0.11",
50
+ "standard-version": "^9.5.0"
45
51
  },
46
52
  "devDependencies": {
47
- "@babel/core": "^7.21.4",
48
- "@babel/eslint-parser": "^7.21.3",
49
- "@nfq/eslint-plugin": "^0.6.0",
50
- "@typescript-eslint/eslint-plugin": "^5.59.0",
51
- "@typescript-eslint/parser": "^5.59.0",
52
- "eslint": "^8.38.0",
53
+ "@babel/core": "^7.22.10",
54
+ "@babel/eslint-parser": "^7.22.10",
55
+ "@nfq/eslint-plugin": "^0.6.1",
56
+ "@typescript-eslint/eslint-plugin": "^6.4.1",
57
+ "@typescript-eslint/parser": "^6.4.1",
58
+ "eslint": "^8.47.0",
53
59
  "eslint-import-resolver-alias": "^1.1.2",
54
60
  "eslint-plugin-array-func": "^3.1.8",
55
61
  "eslint-plugin-better-styled-components": "^1.1.2",
56
- "eslint-plugin-import": "^2.27.5",
57
- "eslint-plugin-jsdoc": "^41.1.2",
62
+ "eslint-plugin-import": "^2.28.1",
63
+ "eslint-plugin-jsdoc": "^46.5.0",
58
64
  "eslint-plugin-jsx-a11y": "^6.7.1",
59
65
  "eslint-plugin-no-unsanitized": "^4.0.2",
60
66
  "eslint-plugin-node": "^11.1.0",
61
67
  "eslint-plugin-perf-standard": "^1.0.3",
62
68
  "eslint-plugin-promise": "^6.1.1",
63
- "eslint-plugin-react": "^7.32.2",
69
+ "eslint-plugin-react": "^7.33.2",
64
70
  "eslint-plugin-react-hooks": "^4.6.0",
65
71
  "eslint-plugin-react-hooks-ssr": "^0.1.5",
66
72
  "eslint-plugin-redos": "4.4.5",
package/rules/jsdoc.js CHANGED
@@ -40,7 +40,6 @@ module.exports = {
40
40
 
41
41
  }
42
42
  ], // Controls how and whether jsdoc blocks can be expressed as single or multiple line blocks. https://github.com/gajus/eslint-plugin-jsdoc#multiline-blocks
43
- 'jsdoc/newline-after-description': ['error', 'always'], // Reports missing newline after description in JSDoc comments.
44
43
  'jsdoc/no-bad-blocks': 'error', // Reports invalid JSDoc block tags. https://github.com/gajus/eslint-plugin-jsdoc#no-bad-blocks
45
44
  'jsdoc/no-defaults': 'off', // Reports default params if used. https://github.com/gajus/eslint-plugin-jsdoc#no-defaults
46
45
  'jsdoc/no-missing-syntax': 'off', // Reports missing JSDoc syntax. https://github.com/gajus/eslint-plugin-jsdoc#no-missing-syntax
@@ -97,6 +96,6 @@ module.exports = {
97
96
  'jsdoc/require-yields': 'error', // Reports missing yields in JSDoc comments. https://github.com/gajus/eslint-plugin-jsdoc#require-yields
98
97
  'jsdoc/require-yields-check': 'error', // Reports missing yields in JSDoc comments. https://github.com/gajus/eslint-plugin-jsdoc#require-yields-check
99
98
  'jsdoc/sort-tags': 'off', // Reports unsorted JSDoc tags. https://github.com/gajus/eslint-plugin-jsdoc#sort-tags
100
- 'jsdoc/tag-lines': 'off' // Reports unsorted JSDoc tags. https://github.com/gajus/eslint-plugin-jsdoc#tag-lines
99
+ 'jsdoc/tag-lines': ['error', 'any', {startLines: 1}] // Reports unsorted JSDoc tags. https://github.com/gajus/eslint-plugin-jsdoc#tag-lines
101
100
  }
102
101
  };
@@ -181,7 +181,7 @@ module.exports = {
181
181
  '@typescript-eslint/restrict-template-expressions': 'error',
182
182
  '@typescript-eslint/return-await': 'error',
183
183
  '@typescript-eslint/semi': 'error',
184
- '@typescript-eslint/sort-type-union-intersection-members': ['error', {checkIntersections: false}],
184
+ '@typescript-eslint/sort-type-constituents': ['error', {checkIntersections: false}],
185
185
  '@typescript-eslint/space-before-blocks': ['error', 'always'],
186
186
  '@typescript-eslint/space-before-function-paren': [
187
187
  'error',