eslint-config-fabulator 2.3.0 → 3.1.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +14 -11
  3. package/react.js +1 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## v3.1.0 (2023-04-20)
5
+ ### Changed
6
+ - [dff9d98](https://github.com/fabulator/eslint-config-fabulator/commit/dff9d984f7f07f9d06409c7a6f469befdfbb30f1) disable react/function-component-definition
7
+
8
+ ## v3.0.0 (2023-03-23)
9
+ ### Changed
10
+ - [6becf33](https://github.com/fabulator/eslint-config-fabulator/commit/6becf339dd07d75da4b09dc285e2eed91d5e5692) Make typescript a peer dependency BREAKING
11
+
4
12
  ## v2.3.0 (2023-02-28)
5
13
  ### Changed
6
14
  - [532c6f6](https://github.com/fabulator/eslint-config-fabulator/commit/532c6f68aa54136f51824f58be0d9a8ffb9dee35) Update packages
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-fabulator",
3
- "version": "2.3.0",
3
+ "version": "3.1.0",
4
4
  "description": "Shared ESLint config for fabulator projects",
5
5
  "keywords": [
6
6
  "eslint",
@@ -26,11 +26,11 @@
26
26
  "test-and-lint": "npm run test && npm run lint"
27
27
  },
28
28
  "dependencies": {
29
- "@typescript-eslint/eslint-plugin": "^5.54.0",
30
- "@typescript-eslint/parser": "^5.54.0",
31
- "eslint": "^8.35.0",
29
+ "@typescript-eslint/eslint-plugin": "^5.56.0",
30
+ "@typescript-eslint/parser": "^5.56.0",
31
+ "eslint": "^8.36.0",
32
32
  "eslint-config-airbnb": "^19.0.4",
33
- "eslint-config-prettier": "^8.6.0",
33
+ "eslint-config-prettier": "^8.8.0",
34
34
  "eslint-plugin-array-func": "^3.1.8",
35
35
  "eslint-plugin-filenames": "^1.3.2",
36
36
  "eslint-plugin-import": "^2.27.5",
@@ -41,15 +41,18 @@
41
41
  "eslint-plugin-promise": "^6.1.1",
42
42
  "eslint-plugin-react": "^7.32.2",
43
43
  "eslint-plugin-react-hooks": "^4.6.0",
44
- "eslint-plugin-sonarjs": "^0.18.0",
45
- "eslint-plugin-typescript-sort-keys": "^2.1.0",
46
- "prettier": "^2.8.4",
47
- "typescript": "^4.9.5"
44
+ "eslint-plugin-sonarjs": "^0.19.0",
45
+ "eslint-plugin-typescript-sort-keys": "^2.3.0",
46
+ "prettier": "^2.8.6"
48
47
  },
49
48
  "devDependencies": {
50
49
  "commitlint-config-fabulator": "^5.0.0",
51
50
  "enhanced-resolve": "^5.12.0",
52
- "jest": "^29.4.3",
53
- "semantic-release-config-fabulator": "^5.1.1"
51
+ "jest": "^29.5.0",
52
+ "semantic-release-config-fabulator": "^6.0.0",
53
+ "typescript": "^5.0.2"
54
+ },
55
+ "peerDependencies": {
56
+ "typescript": "^4 || ^5"
54
57
  }
55
58
  }
package/react.js CHANGED
@@ -13,7 +13,7 @@ module.exports = {
13
13
  'jsx-a11y/label-has-for': 0, // still rules have some kind of bug. Label have set for, but lint throws an error.
14
14
  'jsx-a11y/click-events-have-key-events': 0, // we don't need to be perfect
15
15
  'jsx-a11y/href-no-hash': 0, // Definition for rule 'jsx-a11y/href-no-hash' was not found
16
- 'react/function-component-definition': 2,
16
+ 'react/function-component-definition': 0,
17
17
  'react/react-in-jsx-scope': 0,
18
18
  'react/prop-types': 0,
19
19
  },