@nfq/eslint-config 1.2.6 → 2.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 ADDED
@@ -0,0 +1,28 @@
1
+ # Changelog
2
+
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
+
5
+ ## 2.0.0 (2022-02-24)
6
+
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * **Babel:** New peer dependency
11
+
12
+ ### Features
13
+
14
+ * **@nfq/no-magic-numbers:** Add also arrays for ignore ([#5](https://github.com/nfqde/eslint-config-nfq/issues/5)) ([10a8c6e](https://github.com/nfqde/eslint-config-nfq/commit/10a8c6ece0841e85f4bcbfb3451c259cc0cf016b))
15
+ * **Babel:** Changed babel-eslint parser to @babel/eslint-parser ([#9](https://github.com/nfqde/eslint-config-nfq/issues/9)) ([66eb90f](https://github.com/nfqde/eslint-config-nfq/commit/66eb90f95b8e0ee7ad7352d3760b962f13e6f375))
16
+ * **import/order:** Add new imports ([#4](https://github.com/nfqde/eslint-config-nfq/issues/4)) ([10b708c](https://github.com/nfqde/eslint-config-nfq/commit/10b708cf228772328094607ca3c5a8ca97d16063))
17
+ * **no-param-reassign:** Add key and value to ignore list for objects ([#6](https://github.com/nfqde/eslint-config-nfq/issues/6)) ([6adf418](https://github.com/nfqde/eslint-config-nfq/commit/6adf41817d439c27046f7ab68585c96e504ff5df))
18
+ * **Plugins:** Changed peerdependency to scooped nfq package ([#1](https://github.com/nfqde/eslint-config-nfq/issues/1)) ([eba532b](https://github.com/nfqde/eslint-config-nfq/commit/eba532be70748c55b83878c0ed9b85ba07da0679))
19
+ * **React:** Change react in scope rule for react 17 ([#10](https://github.com/nfqde/eslint-config-nfq/issues/10)) ([3a163bc](https://github.com/nfqde/eslint-config-nfq/commit/3a163bcfdfeac65ff319634f3305c2d5cf834f35))
20
+ * **ReDOS:** Add redos checker ([#11](https://github.com/nfqde/eslint-config-nfq/issues/11)) ([ede6dce](https://github.com/nfqde/eslint-config-nfq/commit/ede6dcea975f4ebd01933f093f3a842a0de24140))
21
+
22
+
23
+ ### Bug Fixes
24
+
25
+ * **Import/extensions:** Add font extensions. ([#2](https://github.com/nfqde/eslint-config-nfq/issues/2)) ([c2971a1](https://github.com/nfqde/eslint-config-nfq/commit/c2971a1de1406348ac340cd012b22417bf267674))
26
+ * **import/order:** Fix image import ([#7](https://github.com/nfqde/eslint-config-nfq/issues/7)) ([37df73c](https://github.com/nfqde/eslint-config-nfq/commit/37df73c6f1d39fbe265fb591d89b839430ee5667))
27
+ * **no-empty-func:** fixed async methods ([#3](https://github.com/nfqde/eslint-config-nfq/issues/3)) ([441fa2a](https://github.com/nfqde/eslint-config-nfq/commit/441fa2a6d890e4cec5f224951990a552be9cc644))
28
+ * **Snyk:** upgrade confusing-browser-globals from 1.0.9 to 1.0.10 ([#8](https://github.com/nfqde/eslint-config-nfq/issues/8)) ([d3a23d0](https://github.com/nfqde/eslint-config-nfq/commit/d3a23d01dc449ea870e8ba36d83920d0f56e7159))
package/config/plugins.js CHANGED
@@ -11,6 +11,7 @@ module.exports = [
11
11
  'react',
12
12
  'react-hooks',
13
13
  'react-hooks-ssr',
14
+ 'redos',
14
15
  'security',
15
16
  'sort-destructure-keys'
16
17
  ];
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@nfq/eslint-config",
3
- "version": "1.2.6",
3
+ "version": "2.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
9
  "scripts": {
10
+ "deploy": "standard-version && git push --follow-tags origin master",
10
11
  "test": "echo \"Error: no test specified\" && exit 1"
11
12
  },
12
13
  "keywords": [
@@ -18,7 +19,7 @@
18
19
  "peerDependencies": {
19
20
  "@babel/eslint-parser": ">= 7",
20
21
  "@nfq/eslint-plugin": ">= 0.6.0",
21
- "eslint": ">= 7",
22
+ "eslint": ">= 8",
22
23
  "eslint-import-resolver-alias": ">= 1",
23
24
  "eslint-plugin-array-func": ">= 3",
24
25
  "eslint-plugin-better-styled-components": ">= 1",
@@ -31,6 +32,7 @@
31
32
  "eslint-plugin-react": ">= 7",
32
33
  "eslint-plugin-react-hooks": ">= 4",
33
34
  "eslint-plugin-react-hooks-ssr": ">= 0.1.5",
35
+ "eslint-plugin-redos": ">= 4",
34
36
  "eslint-plugin-security": ">= 1",
35
37
  "eslint-plugin-sort-destructure-keys": ">= 1"
36
38
  },
@@ -38,21 +40,23 @@
38
40
  "confusing-browser-globals": "^1.0.10"
39
41
  },
40
42
  "devDependencies": {
41
- "@babel/eslint-parser": "7.15.7",
43
+ "@babel/core": "^7.15.8",
44
+ "@babel/eslint-parser": "^7.15.8",
42
45
  "@nfq/eslint-plugin": "^0.6.0",
43
- "eslint": "7.32.0",
46
+ "eslint": "^8.0.0",
44
47
  "eslint-import-resolver-alias": "^1.1.2",
45
48
  "eslint-plugin-array-func": "^3.1.7",
46
49
  "eslint-plugin-better-styled-components": "^1.1.2",
47
- "eslint-plugin-import": "2.24.2",
48
- "eslint-plugin-jsx-a11y": "6.4.1",
49
- "eslint-plugin-no-unsanitized": "3.1.5",
50
+ "eslint-plugin-import": "^2.25.2",
51
+ "eslint-plugin-jsx-a11y": "^6.4.1",
52
+ "eslint-plugin-no-unsanitized": "^3.1.5",
50
53
  "eslint-plugin-node": "^11.1.0",
51
54
  "eslint-plugin-perf-standard": "^1.0.3",
52
- "eslint-plugin-promise": "5.1.0",
53
- "eslint-plugin-react": "7.26.0",
54
- "eslint-plugin-react-hooks": "4.2.0",
55
- "eslint-plugin-react-hooks-ssr": "0.1.5",
55
+ "eslint-plugin-promise": "^5.1.0",
56
+ "eslint-plugin-react": "^7.26.1",
57
+ "eslint-plugin-react-hooks": "^4.2.0",
58
+ "eslint-plugin-react-hooks-ssr": "^0.1.5",
59
+ "eslint-plugin-redos": "^4.3.0",
56
60
  "eslint-plugin-security": "^1.4.0",
57
61
  "eslint-plugin-sort-destructure-keys": "^1.3.5"
58
62
  },