@ornikar/eslint-config 18.10.0 → 18.13.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
@@ -3,6 +3,41 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [18.13.0](https://github.com/ornikar/eslint-configs/compare/v18.12.0...v18.13.0) (2022-07-01)
7
+
8
+ **Note:** Version bump only for package @ornikar/eslint-config
9
+
10
+
11
+
12
+
13
+
14
+ # [18.12.0](https://github.com/ornikar/eslint-configs/compare/v18.11.0...v18.12.0) (2022-06-08)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * tests override extends from parent configs [no issue] ([#325](https://github.com/ornikar/eslint-configs/issues/325)) ([5364d72](https://github.com/ornikar/eslint-configs/commit/5364d72b10b105d6d6c1f8925578821a15db516c))
20
+
21
+
22
+ ### Features
23
+
24
+ * **eslint-config:** no-array-push-push [no issue] ([#324](https://github.com/ornikar/eslint-configs/issues/324)) ([88bc3d9](https://github.com/ornikar/eslint-configs/commit/88bc3d93c8ff2ff139ff7cb6f9c7adea8fb0390c))
25
+
26
+
27
+
28
+
29
+
30
+ # [18.11.0](https://github.com/ornikar/eslint-configs/compare/v18.10.0...v18.11.0) (2022-06-07)
31
+
32
+
33
+ ### Features
34
+
35
+ * disable no-process-exit rule from eslint-plugin-node [no issue] ([#322](https://github.com/ornikar/eslint-configs/issues/322)) ([f51fd2c](https://github.com/ornikar/eslint-configs/commit/f51fd2c5deecdda56d8746c1e8ab951ca5e9e0dc))
36
+
37
+
38
+
39
+
40
+
6
41
  # [18.10.0](https://github.com/ornikar/eslint-configs/compare/v18.9.0...v18.10.0) (2022-05-31)
7
42
 
8
43
 
package/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@ornikar/eslint-config",
3
- "version": "18.10.0",
3
+ "version": "18.13.0",
4
4
  "description": "eslint config files",
5
- "repository": "ornikar/eslint-configs",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/ornikar/eslint-configs.git",
8
+ "directory": "@ornikar/eslint-config"
9
+ },
6
10
  "main": "index.js",
7
11
  "license": "ISC",
8
12
  "engines": {
@@ -27,8 +31,8 @@
27
31
  "prettier": "^2.2.1"
28
32
  },
29
33
  "devDependencies": {
30
- "eslint": "8.16.0",
31
- "prettier": "2.6.2"
34
+ "eslint": "8.18.0",
35
+ "prettier": "2.7.1"
32
36
  },
33
- "gitHead": "169c0c5f88b8c4b00b8b999eb2dd22483b114ff0"
37
+ "gitHead": "e03b4d1e7047cef05fdebf471b0c347fafae8781"
34
38
  }
@@ -15,8 +15,9 @@ module.exports = {
15
15
  // Use for-of instead of for
16
16
  'unicorn/no-for-loop': 'error',
17
17
 
18
- // allow process.exit
18
+ // allow process.exit, disallowed when not used in script via https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-process-exit.md
19
19
  'no-process-exit': 'off',
20
+ 'n/no-process-exit': 'off',
20
21
 
21
22
  // Allow for-of, now supported by node 6
22
23
  'no-restricted-syntax': [
package/rules/unicorn.js CHANGED
@@ -215,7 +215,7 @@ const formTree = shallow(tree.find(x => FormWithApiCall(x)).prop('children')());
215
215
  'unicorn/no-array-for-each': 'off',
216
216
 
217
217
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-push-push.md
218
- 'unicorn/no-array-push-push': 'off',
218
+ 'unicorn/no-array-push-push': 'error',
219
219
 
220
220
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-this-assignment.md
221
221
  'unicorn/no-this-assignment': 'off',
package/tests-override.js CHANGED
@@ -5,7 +5,7 @@ module.exports = {
5
5
  jest: true,
6
6
  },
7
7
 
8
- extends: ['.', './rules/jest'].map(require.resolve),
8
+ extends: ['./rules/jest'].map(require.resolve),
9
9
 
10
10
  rules: {
11
11
  // Allow to use devDependencies